public

A bar's one-click opt-out

The page's button, or the mail client's RFC 8058 one-click POST (List-Unsubscribe-Post: List-Unsubscribe=One-Click). A valid token moves the bar to do_not_contact on every channel and sends one confirmation email. Unknown, invalid and already used tokens get the same answer; repeating it changes nothing.

post/api/v1/optout/{token}

Request

  • Base URL: https://cervejabarata.com.br
  • URL: https://cervejabarata.com.br/api/v1/optout/{token}
  • Auth: none declared

Path parameters

tokenstring required

The lead's id and its HMAC with DATA_KEY, from the email's link

Example:12.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

Response

The confirmation page

Changes

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