Topics
List topics
GET/v1/topics
Requires an API key with the topics:read scope. About keys and scopes
Any member, or a key with topics:read. Topics let contacts choose what marketing they get, separately from groups. A campaign or journey send step with a topicId reaches a contact only if they have email or push consent and the topic reaches them: an opt_out topic reaches everyone who has not left it, an opt_in topic only those who joined. A contact leaves a topic from the unsubscribe link of any message sent on it; every change is recorded in consent history.
Query parameters
limitintegeroptionalmin > 0 · max 100 · default
20cursorstringoptional1–2048 characters
Returns
Returns 200 OK. Otherwise returns an error; Errors lists every code and which to retry.
idstringrequireduuid
namestringrequireddescriptionstring | nullrequiredmodestringrequiredopt_outreaches everyone who has not left;opt_inonly those who joined.one of
opt_out,opt_increatedAtstringrequireddate-time
updatedAtstringrequireddate-time
subscribedCountintegerrequiredContacts who joined explicitly: the whole audience of an
opt_intopic.min -9007199254740991 · max 9007199254740991
unsubscribedCountintegerrequiredContacts who left explicitly: who an
opt_outtopic no longer reaches.min -9007199254740991 · max 9007199254740991