Skip to content
Start free in Cloud

One-click unsubscribe REST API

POST
/api/reports/unsubscribe/{opaque_token}
curl --request POST \
--url http://127.0.0.1:25737/api/reports/unsubscribe/example

RFC 8058 one-click unsubscribe endpoint. The opaque token is signed and only its hash is stored.

opaque_token
required
string

Opaque signed unsubscribe token.

Unsubscribed

Invalid token

Media typeapplication/json
object
message
string
Examplegenerated
{
"message": "example"
}