---
title: "Unsubscribe One Click"
method: POST
path: "/api/email/unsubscribe"
tags: ["email"]
---

# Unsubscribe One Click

`POST /api/email/unsubscribe`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/email/unsubscribe`
- Auth: none declared

RFC 8058 one-click opt-out, POSTed by the mailbox provider (Gmail's
"Unsubscribe" button) to the URL in our List-Unsubscribe header with the
body `List-Unsubscribe=One-Click`. Same signed link as the GET page, so
the body is not needed to authorize it. No HTML: nobody sees this
response. An invalid link answers 400 without touching anything.

## Query parameters

- `u` string, nullable: user id
- `t` string, nullable: HMAC token

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/tintin-x/apis/tintin-api.md) · [All operations](https://skmtc.dev/tintin-x/apis/tintin-api/llms.txt) · [OpenAPI document](https://skmtc.dev/tintin-x/apis/tintin-api/revisions/8839a8d0a66c?raw)
