Topics and unsubscribes
Let people stop one kind of marketing email, such as events or product news, and keep the rest.
What a topic is
A topic is a kind of marketing email you send: Product updates, Events, Newsletter. Give a campaign or a marketing send a topic, and its unsubscribe link stops that topic alone: the person keeps getting your other marketing. Unsubscribing from everything is always there too, and it always wins. Transactional email has no topic and no unsubscribe.
Make topics in Audience → Topics. Each has a name and a line of description, both shown to people on the preference page, and decides once, when it’s made, who gets it without having chosen.
Who gets an email with a topic
| Person | Gets it? |
|---|---|
| Subscribed to marketing, never chose | Yes, unless only people who opt in get the topic |
| Opted out of the topic | No |
| Opted in to the topic | Yes |
| Unsubscribed from all marketing | Never, whatever they chose for topics |
| Suppressed (a bounce or a complaint) | Never |
A send to someone who opted out of its topic is refused with the reason topic_unsubscribed. A campaign leaves them out of its audience and its counts, and skips anyone who opts out after it was sent but before their email goes, shown in Logs as suppressed. Archiving a topic keeps every opt-out: campaigns already sent with it keep skipping those people.
Sending with a topic
On a campaign, choose the topic under Recipients while you review it. Over the API, set topicId on sendEmail or a sendEmailBatch item with kind: "marketing", or on the campaign’s draft. A required notice has no topic: it has no unsubscribe link.
The unsubscribe link and the preference page
Mailbox providers show an unsubscribe button from the email’s List-Unsubscribe header. Pressed, it opts the person out of the email’s topic in one step, or out of all marketing for an email without a topic. The footer link opens a preference page instead: the email’s topic as one button, the topics they still get as boxes to clear, and Unsubscribe from all. It only removes: a topic they left, or an opt-in topic they never joined, can’t be turned on there. To get one again they ask you, and you record it on their contact. The page needs no account, shows nothing but their own topics, and changes nothing until they press a button.
A campaign with its own unsubscribe page still records the topic opt-out when that page posts the token back.
Over the API
List and make topics with listTopics, createTopic and updateTopic. A contact’s choices are on getContact (topics); record one with updateContactConsent and topicId. Turning a topic back on for someone who opted out needs confirmResubscribe. Every change is in the contact’s consent history and sends a contact.subscription_changed webhook event with topicId.