Prerequisites
- A Courier account with at least one configured provider (e.g. SendGrid, Twilio)
- At least one published notification template
Step 1: Create Subscription Topics
Subscription topics are the notification categories your users can control. For example: “Product Updates”, “Marketing”, “Security Alerts”.Open the Preferences Editor

Preferences Editor in the Courier dashboard
Create a Subscription Topic

Creating a new subscription topic
Set the Default State
Configure Unsubscribe Headers
List-Unsubscribe headers in emails sent for this topic:Create a Preference Section (Optional)

Preference section grouping related topics
Step 2: Map Templates to Topics
Connect your notification templates to subscription topics so Courier automatically respects user preferences when sending.Open Topic Settings

Linked Notifications in topic settings
Link Your Templates
Publish Your Changes
Step 3: Add Preference Links to Notifications
Insert preference center URLs into your notification templates so users can access their settings. Courier generates unique, authenticated URLs per user; no additional auth setup is needed.In Content Blocks
If your template uses the visual editor with content blocks (text, markdown, quote, list), use:In Handlebars Templates
If your template uses Handlebars syntax (template blocks, email templates, brand templates):In Elemental JSON
If you build notification content programmatically with Elemental:In Brand Footer
To show the preference link on every notification automatically, add it to your brand footer. This requires a Custom MJML/Handlebars brand template (the standard template only supports social links in the footer).- Open your brand in Settings > Brands
- Select Custom MJML/Handle Bars as the Template Type
- In the MJML Footer section, add a preference link using the Handlebars variable:

Custom MJML brand template with preference link in footer
to.user_id in your send requests for preference links to work. The user ID maps recipients to their preference profiles.Step 4: Add Unsubscribe Links (Recommended)
Add one-click unsubscribe links so users can quickly opt out of a specific topic. This is important for email compliance. The variable syntax matches the preference link pattern:Step 5: Preview and Test
Before going live, verify everything works end-to-end.Preview the Preference Page

Hosted preference center preview
Send a Test Notification
- The preference link in the notification opens the hosted preference page
- The unsubscribe link opts you out of the correct topic
- Opting out actually suppresses future notifications for that topic