Subscription

Manage email-subscription state for a recipient via an HMAC token.

Actions:

  • unsubscribe (default) — opt out of one topic. Falls back to the legacy drip-campaign token path if HMAC verify fails so that emails sent before STA-266 keep working.
  • subscribe — opt back in to one topic.
  • unsubscribe_all — global opt-out (flow_name='*') suppressing every non-transactional send for this recipient.

No auth: recipients of invite reminders may not even have accounts.

post/subscription

Request body

tokenstring required
action'unsubscribe' | 'subscribe' | 'unsubscribe_all'

Response

Successful Response

{"stackTrail":"paths:/subscription:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes