Blog

Hosted notification preference center for web and mobile

Thomas SchiavoneThomas SchiavoneJuly 18, 2026
Notification preference center cover

A notification preference center is where your users decide what they hear from you, on which channels, and how often. Get it right and people mute the one topic that's bugging them instead of unsubscribing from everything. The catch is that building one is a real project, and keeping it branded and responsive on every device is more work still.

You build the preference center in a visual editor, preview it before anyone sees it, and give users a hosted page that works on desktop and mobile, with no frontend code. When you want preferences inside your own product, you embed the same data with prebuilt components or build your own UI on the API.

The Preferences Editor with a live, branded preview of the preference page beside it Configure topics, sections, and branding on the left. Preview the live page on the right.

Design your preference center in the editor

The Preferences Editor is where you decide what users can control. The whole page is yours to shape:

  • Subscription topics users opt in or out of, like "Mentions" or "Product updates," grouped into sections. Name topics after what arrives, not after your internal event names.
  • Branding and wording: your brand's logo and colors, plus the heading, description, and channel names, so the page reads in your product's voice.
  • Default states per topic: on (OPTED_IN), off (OPTED_OUT), or required (REQUIRED) for notifications like security alerts that users can't turn off.
  • Digests for busy topics. Link a digest template and offer up to four schedules, like Instant, Daily, or Weekly, so a noisy topic arrives as one summary instead of a stream.
  • Channel selection per section, so users pick which channels deliver each topic: email, SMS, push, Inbox, direct message, or webhook.

Then map each template to its topic, in Design Studio's template settings or through the API. That mapping is what makes Courier enforce the user's choice on every send, with no preference logic in your code.

Preview before you publish

Every change saves as a draft and never reaches users until you publish. Hit Preview Page to see the preference center exactly as a user will, with a "Draft mode" banner, then Publish when it's right.

A hosted preference center, no code required

Courier hosts the preference page for you, so there's nothing to build, deploy, or maintain. It lists each user's topics with your heading, description, and brand, and it works on desktop and mobile without you touching any CSS.

The Superset-branded hosted preference center with topics, toggles, and digest schedule options The hosted preference center, matched to your brand. Users toggle topics on or off and pick a digest schedule.

To link users to it, add the preferences variable to a template. In a content block, use:

Text
{{$.urls.preferences}}

In a Handlebars email template, use:

Handlebars
<a href='{{var "urls.preferences"}}'>Manage your preferences</a>

Courier renders a secure URL for each recipient, so send with to.user_id and every user lands on their own preferences. Put the link in individual templates, or once in your brand footer so it appears on every message. The preference center guide has the Elemental syntax too.

For a one-click opt-out from a single topic, use {{$.urls.unsubscribe}} the same way. It works once the template is mapped to a topic. For email, turn on Unsubscribe Headers for the topic and Courier adds List-Unsubscribe and List-Unsubscribe-Post headers to that topic's email on SendGrid, or on any other provider through a provider override. Opt-outs don't apply to REQUIRED topics, so leave unsubscribe links off those templates.

Hosted, embedded, or custom

Start with the hosted page to launch fast, then bring preferences into your product when you know what you want. All three options read and write the same preference data, so you can move from hosted to embedded without a rebuild.

OptionBest fitWhat Courier providesWhat you build
Hosted pageA branded page users open from a messageThe hosted UI, using your published topics and brandTemplate links and topic mapping
Embedded componentPreferences inside your app's account settingsPrebuilt components for web and mobileA signed-in screen and any styling
Custom UIA layout or flow unique to your productThe preferences API and modelThe interface, auth, and error handling

Embed preferences in your product

When users should manage their choices next to their account settings, embed the preference center. For React, install the SDK:

Terminal
npm install @trycourier/courier-react

Then render the component:

JSX
import { CourierPreferences } from "@trycourier/courier-react";

export default function Preferences() {
  return <CourierPreferences />;
}

Your backend issues a user-scoped JWT, and the SDK signs in as that user. Include read:preferences write:preferences in the token's scope string, or the component renders empty. Authenticate users covers the token flow, and your API key stays on your server.

On React 17, use @trycourier/courier-react-17, which has the same API. For any framework, use @trycourier/courier-ui-preferences and render <courier-preferences>. There are components for Vue and Angular, and for mobile on iOS, Android, React Native, and Flutter. If you already run Courier Inbox, preferences uses the same sign-in, so it's one more component.

Build your own UI on the preferences API

If your settings flow needs a layout of its own, keep Courier as the preference store and build the controls on the preferences API. To opt a user out of a topic from your backend, call the single-topic update endpoint:

Terminal
curl --fail-with-body --silent --show-error \
  -X PUT "https://api.courier.com/users/$USER_ID/preferences/$TOPIC_ID" \
  -H "Authorization: Bearer $COURIER_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"topic":{"status":"OPTED_OUT"}}'

The topic has to exist in your workspace already. Check on your backend that the signed-in person is allowed to change that user's preferences before you forward the call. If you use tenants, pass the same tenant_id on reads and writes so each organization a user belongs to keeps its own settings.

Migrate preferences in bulk

Moving from another system? Two bulk endpoints set up to 50 topics for a user in one request, so importing your existing subscription and opt-out data is one call per user instead of one call per topic. Replace a user's entire set at once, or update only the topics you name. Replace is idempotent, so you can re-run an import safely.

Sync changes and confirm delivery

Every change a user makes goes to your outbound webhooks as a preferences:user:updated event and into the change history, so your CRM or database can keep a copy.

Before launch, run one quick test:

  1. Send a topic-mapped template to a test user_id and open the preference link from that message.
  2. Turn the topic off, then send the template again.
  3. Check the message log. The send shows as blocked with the reason UNSUBSCRIBED.
  4. Open your embedded component or custom UI as the same user and confirm it shows the topic off.

Get started

Open the Preferences Editor to set up your topics, or read how preferences resolve to see how defaults, tenants, and user choices fit together.

Comparing platforms? Preferences come with every Courier plan. See Courier vs SuprSend and Courier vs Knock.

Frequently asked questions

What is a notification preference center?

A page where your users manage which notifications they get from your product, on which channels, and how often. It usually covers subscription topics they can opt in or out of, channel choices, and digest frequency.

Do I need developers to set one up?

Not for the hosted page. You configure and brand it in the Preferences Editor, map templates to topics in Design Studio, and add the preferences link to your templates. Developers come in when you want to embed preferences in your app or manage them over the API.

Can hosted and embedded preference centers work together?

Yes. Both read and write the same preference data, so a change on the hosted page shows up in your embedded component, and the other way around.

Can users choose how often they get notified?

Yes. Turn on digests for a topic and users pick a schedule, like Instant, Daily, or Weekly. Courier collects that topic's messages and sends one summary at the scheduled time.

How do users unsubscribe?

From the preference center, or with the {{$.urls.unsubscribe}} link in any template mapped to a topic, which opts them out of that one topic. For one-click unsubscribe in email clients, turn on Unsubscribe Headers for the topic. Opt-outs don't apply to required topics, so leave the link off those.

How do I move existing preferences into Courier?

Use the bulk endpoints to set up to 50 topics for a user in one request. Send only the topics where a user differs from the default, and the rest fall back to their defaults.