Create a topic
key is the stable, project-unique name every preference form and integration refers to, so it survives a rename of name and cannot be edited afterwards.
default_opt_in is the field worth thinking about: it decides what SILENCE means for every contact who never answers. Leave it true for a topic introduced over a list you already have — those contacts consented to hear from you, and inventing an opt-out they never asked for would mute mail they expect. Set it false for anything a person has to ask for, and absence then means not asked rather than no.
Requires the topics:write scope — Create and edit topics, and change what your contacts are subscribed to — this decides who your campaigns reach.
Request
- Base URL: https://api.sendly.now
- URL: https://api.sendly.now/api/v1/topics
- Auth: one of:
- HTTP bearer
- API key in cookie better-auth.session_token
- OAuth 2 (authorization code, authorization URL https://app.sendly.now/api/auth/oauth2/authorize, token URL https://app.sendly.now/api/auth/oauth2/token, scopes: topics:write)
Request body
Response
The created topic
Changes
No recorded changes to this operation across all 1 revision of this API.