Skip to content

Unsubscribe the token's address (idempotent; RFC 8058 one-click) — emailunsubscribe

POST
/email/unsubscribe/{token}
curl --request POST \
--url https://example.com/api/email/unsubscribe/example

Adds the token’s address to email_suppressions (ON CONFLICT DO NOTHING) and renders a done page. Target of the confirm page’s button and of the RFC 8058 one-click POST (List-Unsubscribe=One-Click body, ignored). Malformed or unknown token: 404 page. Rate-limited per IP, per machine (30/min).

token
required
string

Unsubscribe token (UUID) from the email.

Unsubscribed (also on a repeat)

Media type text/html
string

Malformed or unknown token

Media type text/html
string

Rate limited

Write failed (generic page, no detail)

Media type text/html
string