Compliance
Compliance
Consent and opt-out records on TryVox.
TryVox's Compliance API keeps a consent ledger: an append-only record of opt-ins and opt-outs by phone number, which you can query before you contact someone.
Endpoints
All compliance endpoints are mounted under /v1/compliance/... and authenticate with HTTP Basic.
| Method | Path | Purpose |
|---|---|---|
POST | /v1/compliance/consent | Record opt-in |
DELETE | /v1/compliance/consent | Record opt-out |
GET | /v1/compliance/consent | Check consent for a single number |
GET | /v1/compliance/consent/bulk | Bulk consent check |
What TryVox checks
| Send type | What's checked |
|---|---|
| Channel-level Meta consent (see Messaging Channels). The Compliance consent ledger is not checked for WhatsApp by default. | |
| Voice | Not gated by these endpoints. Voice consent is your application's responsibility (see Recordings → Compliance and consent). |
Pages
Notes
- Consent records are append-only. Recording an opt-out doesn't delete the prior opt-in; both events stay in the ledger and the latest event wins on
Check. - Tenant scope is automatic. All compliance records are tenant-scoped via the API key's tenant; you don't pass a tenant ID in the URL.