Node.js SDK
Create Topic
Create a new topic. Requires API key with audience:write.
POST
Node.js SDK
Authorizations
API key authentication. Use 'Authorization: Bearer YOUR_API_KEY' where YOUR_API_KEY is obtained from the Migma dashboard under Settings → API Integration.
Body
application/json
Maximum string length:
100Maximum string length:
500Cannot be changed after creation. opt_out means all contacts are subscribed by default.
Available options:
opt_in, opt_out Available options:
public, private Required range:
x >= 0