Skip to main content
Public route used by the unsubscribe link in transactional and ritual emails. Token-bound; no auth required. Tokens are minted per recipient on first email and persisted in email_preferences.

GET (preview)

Returns the email address the token belongs to and the current preference state. Used by the unsubscribe landing page.

POST (commit)

Body

Categories

product_updates, ritual_emails, score_decay_reminders, peer_benchmark_updates, weekly_digest. Transactional categories (account, billing, security) cannot be opted out of.

Errors

Source: PR #368 reworked this to mint real tokens (the prior implementation substituted the literal string placeholder, breaking CAN-SPAM compliance).