Topics
Update a topic
Rename it, re-describe it, flip default_opt_in, or archive it.
key is absent from the body on purpose. Every stored preference and every integration refers to a topic by its key, so changing one would orphan them silently. There is no DELETE for the same reason — archived: true removes the topic from the preference centre and from new sends while every opt-out recorded against it survives.
Requires the topics:write scope — Create and edit topics, and change what your contacts are subscribed to — this decides who your campaigns reach.
patch/api/v1/topics/{id}
Request
- Base URL: https://api.sendly.now
- URL: https://api.sendly.now/api/v1/topics/{id}
- 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)
Path parameters
idstring uuid required
Resource id.
Request body
Response
The updated topic
Changes
No recorded changes to this operation across all 1 revision of this API.