---
title: "One-click unsubscribe (RFC 8058)"
method: POST
path: "/unsubscribe/{token}"
tags: ["unsubscribe"]
---

# One-click unsubscribe (RFC 8058)

`POST /unsubscribe/{token}`

## Request

- Base URL: `https://api.wraps.dev`
- URL: `https://api.wraps.dev/unsubscribe/{token}`
- Auth: HTTP bearer

Processes unsubscribe requests. Supports RFC 8058 one-click unsubscribe via POST with body 'List-Unsubscribe=One-Click'. Returns 200 OK directly (no redirects per RFC 8058 spec).

## Path parameters

- `token` string, required

## Request body

- unknown

## Response `200`

- object
  - `success` boolean, required
  - `message` string
  - `contactId` string
  - `topicId` string

## Other responses

- `400`
- `401`: Missing, malformed, or revoked credentials. Send `Authorization: Bearer <api key>`.
- `403`: Authenticated, but the resource belongs to another organization.
- `404`
- `422`: The request parsed but failed schema validation.
- `429`: Rate limit exceeded. Wait for the window named by the RateLimit headers.
- `500`: Unexpected server failure. Safe to retry with backoff; quote `requestId` if it persists.

---

[API](https://skmtc.dev/wraps/apis/wraps-platform-api.md) · [All operations](https://skmtc.dev/wraps/apis/wraps-platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/wraps/apis/wraps-platform-api/revisions/12116fb21af7?raw)
