---
title: "Record call consent"
method: POST
path: "/phone-consents"
tags: ["Phone Consents"]
---

# Record call consent

`POST /phone-consents`

## Request

- Base URL: `https://api.crevio.co/v1`
- URL: `https://api.crevio.co/v1/phone-consents`
- Auth: API key in header `Authorization`

Records consent to call a number for a purpose (marketing or transactional). Required before an outbound call can be placed.

## Headers

- `Idempotency-Key` string

## Request body

- PhoneConsentRequest
  - `e164` string
  - `purpose` 'marketing' | 'transactional'
  - `consent_method` 'web_form' | 'checkout' | 'import' | 'verbal' | 'api' | 'other'
  - `timezone` string, nullable
  - `customer` string, nullable: Customer ID
  - `proof` object

## Response `201`

Consent recorded

- PhoneConsent
  - `id` string, required
  - `object` string, required
  - `e164` string, required
  - `purpose` 'marketing' | 'transactional', required
  - `consent_method` 'web_form' | 'checkout' | 'import' | 'verbal' | 'api' | 'other', required
  - `timezone` string, nullable, required
  - `consented_at` string, date-time, required
  - `revoked_at` string, date-time, nullable, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `customer` string, nullable, required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `403`: Forbidden
- `404`: Resource not found
- `422`: Validation error
- `429`: Rate limit exceeded — 600 requests per minute per credential. Retry after the number of seconds in `Retry-After`.
- `500`: Internal server error

---

[API](https://skmtc.dev/crevio/apis/crevio-api-v1.md) · [All operations](https://skmtc.dev/crevio/apis/crevio-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/crevio/apis/crevio-api-v1/revisions/2219f18ad651?raw)
