POST
/topicsCreate a new topicRequest body
application/json
objectCreateTopicOptions
default_subscriptionstringrequiredThe default subscription status for the topic. Cannot be changed after creation.
descriptionstringA description of the topic. Max 200 characters.
namestringrequiredThe name of the topic. Max 50 characters.
visibilitystringThe visibility of the topic. Public topics are visible to all contacts on the unsubscribe page. Private topics are only visible to opted-in contacts.
{
"default_subscription": "opt_in",
"description": "string",
"name": "string",
"visibility": "private"
}Responses
objectCreateTopicResponseSuccess
idstringThe ID of the topic.
objectstringThe object type of the response.
{
"id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
"object": "topic"
}