The Preference Center enables subscribers to manage their email preferences through a self-service interface. Each organization has its own preference center with configurable branding and optional custom domain support.
sequenceDiagram
participant S as Subscriber
participant E as Email
participant PC as Preference Center
participant API as Subscribe Flow API
S->>E: Clicks "Manage preferences"
E->>PC: Magic link with token
PC->>API: GET /preference-center?token=...
API->>PC: Subscriber + Tags
PC->>S: Display preference form
S->>PC: Save changes
PC->>API: PUT /preference-center/tags/{tag_id}?token=...
API->>PC: Confirmation
PC->>S: Success message
Domain verification is handled via the Resend API. Once verified, all emails from your organization will use the custom domain.
Professional Plan Required
Custom domain configuration is only available on the Professional plan. Starter and Free organizations use the default send domain (mail.subscribeflow.net).
{"subscriber":{"email":"user@example.com","first_name":"Max"},"tags":[{"name":"product-updates","display_name":"Product Updates","description":"New features and improvements","category":"newsletter","is_subscribed":true},{"name":"weekly-digest","display_name":"Weekly Digest","description":"Weekly summary","category":"newsletter","is_subscribed":false}],"categories":[{"name":"newsletter","display_name":"Newsletter"}]}
curl-XPATCH/api/v1/settings/preference-center\-H"X-API-Key: $API_KEY"\-d'{ "texts": { "title": "Your Email Preferences", "subtitle": "Choose which emails you would like to receive", "save_button": "Save preferences", "unsubscribe_all": "Unsubscribe from all emails" } }'
importresend# The from address is resolved per organization:# - Professional with custom domain: newsletter@custom-domain.com# - Default: org-slug@mail.subscribeflow.netresend.Emails.send({"from":org.from_address,# Resolved by Email Utils"to":subscriber.email,"subject":"Your Newsletter","html":f""" <p>Newsletter content...</p> <p> <a href="{preference_center_url}"> Manage email preferences </a> </p> """})