> ## Documentation Index
> Fetch the complete documentation index at: https://swapnice.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Consent

> Grant, list, inspect, and revoke purpose-limited consent receipts.

Events and purpose-scoped profile reads fail closed without a grant. Revoke is accepted immediately (`202`); archive work is asynchronous.

## Endpoints in this group

| Method | Path                                                                                         | Scope           |
| ------ | -------------------------------------------------------------------------------------------- | --------------- |
| `POST` | [`/v1/consent-receipts`](/partners/api-reference/consent-create)                             | `consent:write` |
| `GET`  | [`/v1/consent-receipts`](/partners/api-reference/consent-list)                               | `consent:read`  |
| `POST` | [`/v1/consent-receipts/{receipt_id}/revoke`](/partners/api-reference/consent-revoke)         | `consent:write` |
| `GET`  | [`/v1/customers/{customer_id}/effective-consent`](/partners/api-reference/consent-effective) | `consent:read`  |

Include `terms_version` and `privacy_policy_version` on create. `consent_purpose` on later events must be one of the granted purposes.

Purposes in product language: [consent and account linking](/partners/consent).
