---
title: "Mint Token"
method: POST
path: "/api/sales/unsubscribe/tokens"
tags: ["sales"]
---

# Mint Token

`POST /api/sales/unsubscribe/tokens`

## Request

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

Mints an unsubscribe token to embed in a cold send's footer. Behind
sales:write -- a future real sender is the intended caller once one
exists (see module docstring); exposed as a normal endpoint today so it
is independently testable and usable ahead of that wiring.

## Request body

- MintUnsubscribeTokenRequest
  - `identifier_type` string, required
  - `identifier` string, required
  - `org_id` string, uuid, nullable
  - `send_log_id` string, uuid, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
