# consent-ledger

> Proof of marketing consent per contact and channel, and do-not-contact lists.

Proof of marketing consent per contact and channel, and do-not-contact lists.

| Method | Path | Operation | Scope | Test mode |
|---|---|---|---|---|
| GET | `/v1/consent-ledger` | `consent_ledger_list`: The consent ledger | `contacts:read` | - |
| POST | `/v1/consent-ledger` | `consent_ledger_record`: Record consent, with proof | `contacts:write` | - |
| POST | `/v1/consent-ledger/{entry_id}/confirm` | `consent_ledger_confirm`: Record the double opt-in confirmation | `contacts:write` | - |
| GET | `/v1/consent-ledger/evidence` | `consent_evidence_export`: Export the evidence for one person | `contacts:read` | - |
| GET | `/v1/consent-ledger/state` | `consent_state_get`: May this contact receive marketing? | `contacts:read` | - |
| POST | `/v1/consent-ledger/withdraw` | `consent_ledger_withdraw`: Withdraw consent | `contacts:write` | - |
| GET | `/v1/suppression-lists` | `suppression_lists_list`: Do-not-contact lists | `contacts:read` | - |
| POST | `/v1/suppression-lists` | `suppression_lists_create`: Add a do-not-contact list | `contacts:write` | - |
| POST | `/v1/suppression-lists/{list_id}/entries` | `suppression_entries_add`: Add numbers to a list | `contacts:write` | - |
| POST | `/v1/suppression-lists/{list_id}/sync` | `suppression_lists_sync`: Sync a do-not-contact list | `contacts:write` | - |

Request and response schemas: the interactive reference at `https://api.wapitick.com/docs`, or `docs/api/openapi.json`.
