Menu

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

limitintegeroptional

min > 0 · max 100 · default 20

cursorstringoptional

1–2048 characters

Returns

Returns 200 OK. Otherwise returns an error; Errors lists every code and which to retry.

idstringrequired

uuid

namestringrequired
descriptionstring | nullrequired
modestringrequired

opt_out reaches everyone who has not left; opt_in only those who joined.

one of opt_out, opt_in

createdAtstringrequired

date-time

updatedAtstringrequired

date-time

subscribedCountintegerrequired

Contacts who joined explicitly: the whole audience of an opt_in topic.

min -9007199254740991 · max 9007199254740991

unsubscribedCountintegerrequired

Contacts who left explicitly: who an opt_out topic no longer reaches.

min -9007199254740991 · max 9007199254740991