Skip to main content
POST
/
unsubscribe
One-click unsubscribe (RFC 8058)
curl --request POST \
  --url https://api.member.dev/unsubscribe \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'List-Unsubscribe=<string>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "ctx": {},
      "input": "<unknown>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Send platform JWTs, contact JWTs, or team API keys as Authorization: Bearer <token>.

Query Parameters

t
string | null

Signed unsubscribe JWT token.

Body

application/x-www-form-urlencoded
List-Unsubscribe
string | null

RFC 8058 form field; value should be 'One-Click'.

Response

Successful Response