Topics

Create Topic

Create a new topic. Requires API key with audience:write.

post/v1/topics

Request

  • Base URL
    https://api.migma.ai
  • URL
    https://api.migma.ai/v1/topics
  • Auth
    API key in header Authorization

Request body

namestring required
descriptionstring
defaultSubscription'opt_in' | 'opt_out'

Cannot be changed after creation. opt_out means all contacts are subscribed by default.

visibility'public' | 'private'
displayOrderinteger
projectIdstring required

Response

Topic created

successboolean required
errorstring nullable

Changes

No recorded changes to this operation across all 16 revisions of this API.