public
public

Unsubscribe Get

Email preferences page with subscribe/unsubscribe toggle.

Users clicking the unsubscribe link in email body land here. Shows current subscription status and allows toggling on/off. This prevents accidental unsubscribes and allows re-subscribing.

GET is intentionally side-effect-free. Email scanners (Outlook SafeLink, corporate link-preview bots) pre-fetch URLs from emails and would silently unsubscribe users if this endpoint had side effects. State-changing operations go through POST /unsubscribe per RFC 8058.

Security: HMAC token prevents malicious access.

get/api/public/unsubscribe

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/public/unsubscribe
  • Auth: none declared

Query parameters

emailstring email required

Email to manage preferences for

tokenstring required

HMAC signature for security

Response

Successful Response

Changes

No recorded changes to this operation across all 1 revision of this API.