# Call checks

Checks of incoming phone calls from AI agents: the verdict on a call to your line, requests during the call, the in-call paths to proof and the signed call receipt.

Related guide: [Verify AI callers](https://provenanceauth.com/docs/authorize/guides/verify-ai-callers.md)

## Endpoints

- `GET /v1/authorize/call_checks/{id}`: [Retrieve a call check](#get-v1-authorize-call-checks-id)
- `GET /v1/authorize/call_checks/{id}/receipt`: [Retrieve a call receipt](#get-v1-authorize-call-checks-id-receipt)
- `POST /v1/authorize/call_checks`: [Check an incoming call](#post-v1-authorize-call-checks)
- `POST /v1/authorize/call_checks/{id}/requests`: [Ask for more during a call](#post-v1-authorize-call-checks-id-requests)
- `POST /v1/authorize/call_checks/{id}/guest_confirmations`: [Confirm with the guest](#post-v1-authorize-call-checks-id-guest-confirmations)
- `POST /v1/authorize/call_checks/{id}/relay_codes`: [Issue a relayed code](#post-v1-authorize-call-checks-id-relay-codes)
- `POST /v1/public/call_codes/check`: [Check a short code without a key](#post-v1-public-call-codes-check)
- `POST /v1/public/call_codes/relay`: [Redeem a relayed code](#post-v1-public-call-codes-relay)

## The call check object

### Attributes

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | yes | Unique identifier for the object (`ccx_`). |
| `object` | enum | yes | The type of object. One of `call_check`. |
| `result` | enum | yes | `verified`: a registered call matched. `no_proof`: nothing is registered. `replayed`: another business already checked this call. `pending`: a challenge or proof request is open. `pending_confirmation`: a guest or relayed confirmation is waiting for the person. One of `verified`, `no_proof`, `invalid`, `expired`, `replayed`, `revoked`, `pending`, `pending_confirmation`, `declined`. |
| `reason` | enum | yes | Why there is no proof, when there isn't. One of `unknown_caller`, `operator_unreachable`, `operator_declined`. |
| `transport` | enum | yes | How the call was matched: by its numbers, by the short code, or by one of the in-call paths. One of `lookup`, `code`, `sip`, `in_call_challenge`, `guest_confirmation`, `relayed_code`. |
| `agent` | object \| null | yes | The calling agent. Null when no registered call matched. |
| `agent.id` | string | no | The agent's ID. |
| `agent.name` | string \| null | no | The agent's name. |
| `agent.category` | string \| null | no | The agent's category, such as `ai_assistant_fetch`. |
| `agent.directory` | string | no | The agent's public key directory. |
| `operator` | object \| null | yes | The company that operates the agent. |
| `operator.name` | string \| null | no | The operator's display name. |
| `operator.domain_verified` | boolean | no | Whether the operator verified an email domain. |
| `person` | object | yes | The person behind the call. |
| `person.approved` | boolean | no | Whether a person approved this call. |
| `person.approved_at` | timestamp \| null | no | When they approved. |
| `person.approved_via` | enum | no | How they approved: a standing grant, a one-time approval, a confirmation sent to the contact you hold, or a relayed code. One of `grant`, `approval`, `booking_contact`, `relayed_code`. |
| `person.pseudonym` | string \| null | no | A stable ID for the person at your business only. Two businesses get different values for the same person. |
| `scope` | object \| null | yes | The parts of the grant's call scope that apply to this call. |
| `scope.purposes` | array of strings | no | The purposes the person allowed. |
| `scope.max_amount` | integer | no | The most the agent may commit to on a call, in minor units. |
| `scope.currency` | string \| null | no | The cap's currency. |
| `scope.hours` | object | no | The hours the agent may call: a time zone and a weekly schedule. |
| `call` | object \| null | yes | What the caller registered. |
| `call.purpose` | string | no | The call's purpose. |
| `call.purpose_text` | string \| null | no | The purpose in a sentence, at most 120 characters. |
| `call.window` | object | no | The call's window. |
| `call.window.from` | timestamp | no | The start. |
| `call.window.until` | timestamp | no | The end. |
| `call.disclosure` | object \| null | no | The caller's AI-disclosure record, designed to support disclosure rules. |
| `call.disclosure.ai` | boolean | no | Whether the caller is an AI. |
| `call.disclosure.statement` | string | no | How it discloses that, such as `spoken_at_start`. |
| `call.consent` | object \| null | no | The caller's consent record, designed to support consent rules. |
| `call.consent.basis` | string | no | The basis, such as `customer_request`. |
| `call.consent.ref` | string | no | The caller's own reference for the consent. |
| `challenge` | object | no | An in-call challenge on this check. `code`, `phrase` and `dtmf` are returned once, in the response that issued it. |
| `challenge.state` | enum | no | The challenge's state. One of `open`, `answered`, `expired`, `failed`. |
| `challenge.expires_at` | timestamp \| null | no | When it expires (5 minutes). |
| `challenge.code` | string | no | Six digits; the last is a check digit. |
| `challenge.phrase` | string | no | The standard phrase to read out on the call. |
| `challenge.dtmf` | string | no | The keypad tones to play: `*`, the six digits, then `#`. |
| `proof_request` | object | no | The request for proof sent to the operator that verified the calling number. |
| `proof_request.status` | enum | no | `unreachable`: the operator has no webhook endpoint for proof requests. One of `requested`, `unreachable`, `answered`, `declined`. |
| `request` | object | no | The latest request you made during the call. |
| `request.action_type` | string | no | What the caller asked for. |
| `request.amount` | integer \| null | no | The amount in minor units. |
| `request.currency` | string \| null | no | The currency. |
| `request.description` | string | no | The request in a sentence. |
| `request.status` | enum | no | `within_scope`: the grant covers it. `pending_confirmation`: the person behind the agent is being asked. One of `within_scope`, `pending_confirmation`, `approved`, `declined`, `expired`. |
| `request.created_at` | timestamp | no | When you asked. |
| `request.decided_at` | timestamp \| null | no | When the person answered. |
| `receipt` | string \| null | yes | The signed call receipt (an ES256 JWS) when `result` is `verified`. Verify it against the published keys. |
| `status_url` | string | yes | Poll this with `?wait=` while the check is pending. |
| `created_at` | timestamp | yes | When the check ran. |
| `delivery_hint` | string | no | Guest confirmations only: where the confirmation went, masked. |
| `dev_approve_url` | string | no | Sandbox only, on a server set to echo links for testing: the person's approval page. |

### Example

```json
{
  "id": "ccx_01M6XS88NC03EVE2XZ21T2VWCR",
  "object": "call_check",
  "result": "verified",
  "reason": null,
  "transport": "lookup",
  "agent": {
    "id": "agt_01M6XS88KNFTWDGP2MRBSJG3WR",
    "name": "Muse",
    "category": "ai_assistant_fetch",
    "directory": "https://api.provenanceauth.com/v1/public/agents/agt_01M6XS88KNFTWDGP2MRBSJG3WR/directory"
  },
  "operator": {
    "name": "Larkspur Assist",
    "domain_verified": false
  },
  "person": {
    "approved": true,
    "approved_at": "2026-11-08T14:33:30.010Z",
    "approved_via": "grant",
    "pseudonym": "hum_d3v3dtfd6rqyq6ifahve"
  },
  "scope": {
    "purposes": [
      "book",
      "cancel"
    ],
    "max_amount": 20000,
    "currency": "USD"
  },
  "call": {
    "purpose": "book",
    "purpose_text": "Table for 2 at 7pm Friday",
    "window": {
      "from": "2026-11-08T14:33:30.000Z",
      "until": "2026-11-08T14:43:30.000Z"
    },
    "disclosure": {
      "ai": true,
      "statement": "spoken_at_start"
    },
    "consent": {
      "basis": "customer_request",
      "ref": "booking-4471"
    }
  },
  "receipt": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiI0ODhkN2VkNzc4MjMxN2RhIn0.eyJyZWNlaXB0X2lkIjoicmNwdF84MjUzMTRjYjhlOGI2Y2M3MWU3ZDY0MGEzYmRhZGRkMyIsInR5cGUiOiJ2ZXJpZmllZF9jYWxsIiwidiI6MSwiY2hlY2tfaWQiOiJjY3hfMDFNNlhTODhOQzAzRVZFMlhaMjFUMlZXQ1IiLCJjYWxsX2lkIjoiY2FsbF8wMU02WFM4OE1XRU1DMlRLNU1NOVk5TUFXRSIsInJlc3VsdCI6InZlcmlmaWVkIiwidHJhbnNwb3J0IjoibG9va3VwIiwiYWdlbnQiOnsiaWQiOiJhZ3RfMDFNNlhTODhLTkZUV0RHUDJNUkJTSkczV1IiLCJraWQiOiJWN19sNldyaGRYQlFaU3NNcnRSUHlaMmhvMUM4VS1ZeGZoVF8zd05BRlljIiwiZGlyZWN0b3J5IjoiaHR0cHM6Ly9hcGkucHJvdmVuYW5jZWF1dGguY29tL3YxL3B1YmxpYy9hZ2VudHMvYWd0XzAxTTZYUzg4S05GVFdER1AyTVJCU0pHM1dSL2RpcmVjdG9yeSJ9LCJwZXJzb24iOnsiYXBwcm92ZWQiOnRydWUsImFwcHJvdmVkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMTBaIiwiYXBwcm92ZWRfdmlhIjoiZ3JhbnQiLCJwc2V1ZG9ueW0iOiJodW1fZDN2M2R0ZmQ2cnF5cTZpZmFodmUifSwicHVycG9zZSI6ImJvb2siLCJ3aW5kb3ciOnsiZnJvbSI6IjIwMjYtMTEtMDhUMTQ6MzM6MzAuMDAwWiIsInVudGlsIjoiMjAyNi0xMS0wOFQxNDo0MzozMC4wMDBaIn0sImp0aSI6IjE2MTNjNDNjLWY4ZjEtNDdhYi1iNzc3LWZmMTczYmJiYTNhYSIsIm51bWJlcnNfZGlnZXN0IjoiNzRlZWFhNjNhZGVjMjBmNWI4Yjc4MDAyNjNmNWRjMTFkNmViNWQ5ZWU0MDBhMTY4NzI4OTJhZDJjOGEyMTZjYiIsImRpc2Nsb3N1cmUiOnsiYWkiOnRydWUsInN0YXRlbWVudCI6InNwb2tlbl9hdF9zdGFydCJ9LCJjb25zZW50Ijp7ImJhc2lzIjoiY3VzdG9tZXJfcmVxdWVzdCIsInJlZiI6ImJvb2tpbmctNDQ3MSJ9LCJjaGVja2VkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMjhaIiwiaXNzIjoiaHR0cHM6Ly9wcm92ZW5hbmNlYXV0aC5jb20ifQ.AKlyuRKRzNHNUzcSwPZuTv0_87WD3uFzjlezLFKBylNS_3TXsFhPMbfYQszpyYn3UIl9KPOK66SW-RBhxmqXiw",
  "status_url": "https://api.provenanceauth.com/v1/authorize/call_checks/ccx_01M6XS88NC03EVE2XZ21T2VWCR",
  "created_at": "2026-11-08T14:33:30.028Z"
}
```

## Retrieve a call check

`GET /v1/authorize/call_checks/{id}`

The check's current verdict. While a challenge, a proof request or a confirmation is open, `wait` holds the request until it settles or the seconds run out.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The check's ID (`ccx_`). |
| `wait` | query | integer | no | Seconds to wait for the check to settle. Default 0. |

### Returns

The verdict. See [the call check object](#object).

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/call_checks/ccx_01M6XS88PYFZ9T119KKNHFF5KD?wait=10" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks/ccx_01M6XS88PYFZ9T119KKNHFF5KD?wait=10`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/authorize/call_checks/ccx_01M6XS88PYFZ9T119KKNHFF5KD?wait=10", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```

### Response 200

```json
{
  "id": "ccx_01M6XS88PYFZ9T119KKNHFF5KD",
  "object": "call_check",
  "result": "verified",
  "reason": null,
  "transport": "in_call_challenge",
  "agent": {
    "id": "agt_01M6XS88KNFTWDGP2MRBSJG3WR",
    "name": "Muse",
    "category": "ai_assistant_fetch",
    "directory": "https://api.provenanceauth.com/v1/public/agents/agt_01M6XS88KNFTWDGP2MRBSJG3WR/directory"
  },
  "operator": {
    "name": "Larkspur Assist",
    "domain_verified": false
  },
  "person": {
    "approved": true,
    "approved_at": "2026-11-08T14:33:30.010Z",
    "approved_via": "grant",
    "pseudonym": "hum_d3v3dtfd6rqyq6ifahve"
  },
  "scope": {
    "purposes": [
      "book",
      "cancel"
    ],
    "max_amount": 20000,
    "currency": "USD"
  },
  "call": {
    "purpose": "book",
    "purpose_text": "Table for 2 at 7pm Friday",
    "window": {
      "from": "2026-11-08T14:33:30.000Z",
      "until": "2026-11-08T14:43:30.000Z"
    },
    "disclosure": {
      "ai": true,
      "statement": "spoken_at_start"
    },
    "consent": {
      "basis": "customer_request",
      "ref": "booking-4471"
    }
  },
  "challenge": {
    "state": "answered",
    "expires_at": "2026-11-08T14:38:30.085Z"
  },
  "proof_request": {
    "status": "answered"
  },
  "receipt": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiI0ODhkN2VkNzc4MjMxN2RhIn0.eyJyZWNlaXB0X2lkIjoicmNwdF8yYTFhNDVlZjY3MzM3MDdhOWVmYzJhNTJiNTE4OTJmNCIsInR5cGUiOiJ2ZXJpZmllZF9jYWxsIiwidiI6MSwiY2hlY2tfaWQiOiJjY3hfMDFNNlhTODhQWUZaOVQxMTlLS05IRkY1S0QiLCJjYWxsX2lkIjoiY2FsbF8wMU02WFM4OFFDSENRQzdFR004S1M2WFYxVCIsInJlc3VsdCI6InZlcmlmaWVkIiwidHJhbnNwb3J0IjoiaW5fY2FsbF9jaGFsbGVuZ2UiLCJhZ2VudCI6eyJpZCI6ImFndF8wMU02WFM4OEtORlRXREdQMk1SQlNKRzNXUiIsImtpZCI6IlY3X2w2V3JoZFhCUVpTc01ydFJQeVoyaG8xQzhVLVl4ZmhUXzN3TkFGWWMiLCJkaXJlY3RvcnkiOiJodHRwczovL2FwaS5wcm92ZW5hbmNlYXV0aC5jb20vdjEvcHVibGljL2FnZW50cy9hZ3RfMDFNNlhTODhLTkZUV0RHUDJNUkJTSkczV1IvZGlyZWN0b3J5In0sInBlcnNvbiI6eyJhcHByb3ZlZCI6dHJ1ZSwiYXBwcm92ZWRfYXQiOiIyMDI2LTExLTA4VDE0OjMzOjMwLjAxMFoiLCJhcHByb3ZlZF92aWEiOiJncmFudCIsInBzZXVkb255bSI6Imh1bV9kM3YzZHRmZDZycXlxNmlmYWh2ZSJ9LCJwdXJwb3NlIjoiYm9vayIsIndpbmRvdyI6eyJmcm9tIjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMDBaIiwidW50aWwiOiIyMDI2LTExLTA4VDE0OjQzOjMwLjAwMFoifSwianRpIjoiY2E5OWEwOTgtYjM1Ny00MzgzLThkZGUtYThiZTY4YmJhY2NiIiwibnVtYmVyc19kaWdlc3QiOiI3NDI2MmY5YmE4OTRiYzFkOTUyYWEwYmU2NGZiMWI4MGZmNjEzNzI1NDMzMDQzYTJhMGY1YjA0Y2I0MDY4NjA1IiwiZGlzY2xvc3VyZSI6eyJhaSI6dHJ1ZSwic3RhdGVtZW50Ijoic3Bva2VuX2F0X3N0YXJ0In0sImNvbnNlbnQiOnsiYmFzaXMiOiJjdXN0b21lcl9yZXF1ZXN0IiwicmVmIjoiYm9va2luZy00NDcxIn0sImNoZWNrZWRfYXQiOiIyMDI2LTExLTA4VDE0OjMzOjMwLjA3OFoiLCJpc3MiOiJodHRwczovL3Byb3ZlbmFuY2VhdXRoLmNvbSJ9.CwBbLwbIziFiTLaDkBY__-eLit9YZKLYvLay7SnPpMhUHohdCGckmyaI65gk6nLvIdpP-jb55TYzRe9yKalfNg",
  "status_url": "https://api.provenanceauth.com/v1/authorize/call_checks/ccx_01M6XS88PYFZ9T119KKNHFF5KD",
  "created_at": "2026-11-08T14:33:30.078Z"
}
```

## Retrieve a call receipt

`GET /v1/authorize/call_checks/{id}/receipt`

The signed call receipt for a verified check, verifiable offline against the published keys. It carries a digest of both numbers, never the numbers. Free.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The check's ID (`ccx_`). |

### Returns

The receipt.

### Errors

- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`call_check_not_verified`](https://provenanceauth.com/docs/platform/errors.md#call_check_not_verified)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/call_checks/ccx_01M6XS88NC03EVE2XZ21T2VWCR/receipt" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks/ccx_01M6XS88NC03EVE2XZ21T2VWCR/receipt`, {
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/authorize/call_checks/ccx_01M6XS88NC03EVE2XZ21T2VWCR/receipt", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}).json()
```

### Response 200

```json
{
  "object": "receipt",
  "id": "rcpt_825314cb8e8b6cc71e7d640a3bdaddd3",
  "claims": {
    "receipt_id": "rcpt_825314cb8e8b6cc71e7d640a3bdaddd3",
    "type": "verified_call",
    "v": 1,
    "check_id": "ccx_01M6XS88NC03EVE2XZ21T2VWCR",
    "call_id": "call_01M6XS88MWEMC2TK5MM9Y9MAWE",
    "result": "verified",
    "transport": "lookup",
    "agent": {
      "id": "agt_01M6XS88KNFTWDGP2MRBSJG3WR",
      "kid": "V7_l6WrhdXBQZSsMrtRPyZ2ho1C8U-YxfhT_3wNAFYc",
      "directory": "https://api.provenanceauth.com/v1/public/agents/agt_01M6XS88KNFTWDGP2MRBSJG3WR/directory"
    },
    "person": {
      "approved": true,
      "approved_at": "2026-11-08T14:33:30.010Z",
      "approved_via": "grant",
      "pseudonym": "hum_d3v3dtfd6rqyq6ifahve"
    },
    "purpose": "book",
    "window": {
      "from": "2026-11-08T14:33:30.000Z",
      "until": "2026-11-08T14:43:30.000Z"
    },
    "jti": "1613c43c-f8f1-47ab-b777-ff173bbba3aa",
    "numbers_digest": "74eeaa63adec20f5b8b7800263f5dc11d6eb5d9ee400a16872892ad2c8a216cb",
    "disclosure": {
      "ai": true,
      "statement": "spoken_at_start"
    },
    "consent": {
      "basis": "customer_request",
      "ref": "booking-4471"
    },
    "checked_at": "2026-11-08T14:33:30.028Z",
    "iss": "https://provenanceauth.com"
  },
  "token": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiI0ODhkN2VkNzc4MjMxN2RhIn0.eyJyZWNlaXB0X2lkIjoicmNwdF84MjUzMTRjYjhlOGI2Y2M3MWU3ZDY0MGEzYmRhZGRkMyIsInR5cGUiOiJ2ZXJpZmllZF9jYWxsIiwidiI6MSwiY2hlY2tfaWQiOiJjY3hfMDFNNlhTODhOQzAzRVZFMlhaMjFUMlZXQ1IiLCJjYWxsX2lkIjoiY2FsbF8wMU02WFM4OE1XRU1DMlRLNU1NOVk5TUFXRSIsInJlc3VsdCI6InZlcmlmaWVkIiwidHJhbnNwb3J0IjoibG9va3VwIiwiYWdlbnQiOnsiaWQiOiJhZ3RfMDFNNlhTODhLTkZUV0RHUDJNUkJTSkczV1IiLCJraWQiOiJWN19sNldyaGRYQlFaU3NNcnRSUHlaMmhvMUM4VS1ZeGZoVF8zd05BRlljIiwiZGlyZWN0b3J5IjoiaHR0cHM6Ly9hcGkucHJvdmVuYW5jZWF1dGguY29tL3YxL3B1YmxpYy9hZ2VudHMvYWd0XzAxTTZYUzg4S05GVFdER1AyTVJCU0pHM1dSL2RpcmVjdG9yeSJ9LCJwZXJzb24iOnsiYXBwcm92ZWQiOnRydWUsImFwcHJvdmVkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMTBaIiwiYXBwcm92ZWRfdmlhIjoiZ3JhbnQiLCJwc2V1ZG9ueW0iOiJodW1fZDN2M2R0ZmQ2cnF5cTZpZmFodmUifSwicHVycG9zZSI6ImJvb2siLCJ3aW5kb3ciOnsiZnJvbSI6IjIwMjYtMTEtMDhUMTQ6MzM6MzAuMDAwWiIsInVudGlsIjoiMjAyNi0xMS0wOFQxNDo0MzozMC4wMDBaIn0sImp0aSI6IjE2MTNjNDNjLWY4ZjEtNDdhYi1iNzc3LWZmMTczYmJiYTNhYSIsIm51bWJlcnNfZGlnZXN0IjoiNzRlZWFhNjNhZGVjMjBmNWI4Yjc4MDAyNjNmNWRjMTFkNmViNWQ5ZWU0MDBhMTY4NzI4OTJhZDJjOGEyMTZjYiIsImRpc2Nsb3N1cmUiOnsiYWkiOnRydWUsInN0YXRlbWVudCI6InNwb2tlbl9hdF9zdGFydCJ9LCJjb25zZW50Ijp7ImJhc2lzIjoiY3VzdG9tZXJfcmVxdWVzdCIsInJlZiI6ImJvb2tpbmctNDQ3MSJ9LCJjaGVja2VkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMjhaIiwiaXNzIjoiaHR0cHM6Ly9wcm92ZW5hbmNlYXV0aC5jb20ifQ.vUba-wxYWuC7Vcr5KAWsBORoHO5RiMKitnWTHKCTvLv64krQTilgn9Mzdtcy_buCmxNrzKlm_U1TSq2wjGsXVQ",
  "verify_url": "http://localhost:5173/developers/verify?receipt=eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiI0ODhkN2VkNzc4MjMxN2RhIn0.eyJyZWNlaXB0X2lkIjoicmNwdF84MjUzMTRjYjhlOGI2Y2M3MWU3ZDY0MGEzYmRhZGRkMyIsInR5cGUiOiJ2ZXJpZmllZF9jYWxsIiwidiI6MSwiY2hlY2tfaWQiOiJjY3hfMDFNNlhTODhOQzAzRVZFMlhaMjFUMlZXQ1IiLCJjYWxsX2lkIjoiY2FsbF8wMU02WFM4OE1XRU1DMlRLNU1NOVk5TUFXRSIsInJlc3VsdCI6InZlcmlmaWVkIiwidHJhbnNwb3J0IjoibG9va3VwIiwiYWdlbnQiOnsiaWQiOiJhZ3RfMDFNNlhTODhLTkZUV0RHUDJNUkJTSkczV1IiLCJraWQiOiJWN19sNldyaGRYQlFaU3NNcnRSUHlaMmhvMUM4VS1ZeGZoVF8zd05BRlljIiwiZGlyZWN0b3J5IjoiaHR0cHM6Ly9hcGkucHJvdmVuYW5jZWF1dGguY29tL3YxL3B1YmxpYy9hZ2VudHMvYWd0XzAxTTZYUzg4S05GVFdER1AyTVJCU0pHM1dSL2RpcmVjdG9yeSJ9LCJwZXJzb24iOnsiYXBwcm92ZWQiOnRydWUsImFwcHJvdmVkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMTBaIiwiYXBwcm92ZWRfdmlhIjoiZ3JhbnQiLCJwc2V1ZG9ueW0iOiJodW1fZDN2M2R0ZmQ2cnF5cTZpZmFodmUifSwicHVycG9zZSI6ImJvb2siLCJ3aW5kb3ciOnsiZnJvbSI6IjIwMjYtMTEtMDhUMTQ6MzM6MzAuMDAwWiIsInVudGlsIjoiMjAyNi0xMS0wOFQxNDo0MzozMC4wMDBaIn0sImp0aSI6IjE2MTNjNDNjLWY4ZjEtNDdhYi1iNzc3LWZmMTczYmJiYTNhYSIsIm51bWJlcnNfZGlnZXN0IjoiNzRlZWFhNjNhZGVjMjBmNWI4Yjc4MDAyNjNmNWRjMTFkNmViNWQ5ZWU0MDBhMTY4NzI4OTJhZDJjOGEyMTZjYiIsImRpc2Nsb3N1cmUiOnsiYWkiOnRydWUsInN0YXRlbWVudCI6InNwb2tlbl9hdF9zdGFydCJ9LCJjb25zZW50Ijp7ImJhc2lzIjoiY3VzdG9tZXJfcmVxdWVzdCIsInJlZiI6ImJvb2tpbmctNDQ3MSJ9LCJjaGVja2VkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMjhaIiwiaXNzIjoiaHR0cHM6Ly9wcm92ZW5hbmNlYXV0aC5jb20ifQ.vUba-wxYWuC7Vcr5KAWsBORoHO5RiMKitnWTHKCTvLv64krQTilgn9Mzdtcy_buCmxNrzKlm_U1TSq2wjGsXVQ"
}
```

## Check an incoming call

`POST /v1/authorize/call_checks`

Returns the verdict on a call to one of your verified lines, matched by its numbers, or by the short code the caller gave you on any line. `challenge: true` issues an in-call challenge when nothing is registered. Billed as one verified call when a registered call matches, once per call; a repeat check returns the same verdict.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `from` | body | string | yes | The caller ID, in E.164. |
| `to` | body | string | yes | The number that was called, in E.164. |
| `at` | body | timestamp | no | When the call came in. Default now. |
| `code` | body | string | no | The caller's 6-digit short code. Needed when `to` isn't one of your verified lines. |
| `challenge` | body | boolean | no | With nothing registered, issue an in-call challenge and ask the operator that verified `from` for proof. |
| `wait` | body | integer | no | Seconds to wait for proof after a challenge. Default 20. |

### Returns

The verdict. See [the call check object](#object).

### Errors

- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`call_line_unverified`](https://provenanceauth.com/docs/platform/errors.md#call_line_unverified)
- [`trial_ended`](https://provenanceauth.com/docs/platform/errors.md#trial_ended)
- [`spend_cap_reached`](https://provenanceauth.com/docs/platform/errors.md#spend_cap_reached)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`calls_not_configured`](https://provenanceauth.com/docs/platform/errors.md#calls_not_configured)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/call_checks" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "from": "+14155550100", "to": "+14155550123" }'
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({ "from": "+14155550100", "to": "+14155550123" }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/authorize/call_checks", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={
    "from": "+14155550100",
    "to": "+14155550123"
}).json()
```

### Response 200

```json
{
  "id": "ccx_01M6XS88NC03EVE2XZ21T2VWCR",
  "object": "call_check",
  "result": "verified",
  "reason": null,
  "transport": "lookup",
  "agent": {
    "id": "agt_01M6XS88KNFTWDGP2MRBSJG3WR",
    "name": "Muse",
    "category": "ai_assistant_fetch",
    "directory": "https://api.provenanceauth.com/v1/public/agents/agt_01M6XS88KNFTWDGP2MRBSJG3WR/directory"
  },
  "operator": {
    "name": "Larkspur Assist",
    "domain_verified": false
  },
  "person": {
    "approved": true,
    "approved_at": "2026-11-08T14:33:30.010Z",
    "approved_via": "grant",
    "pseudonym": "hum_d3v3dtfd6rqyq6ifahve"
  },
  "scope": {
    "purposes": [
      "book",
      "cancel"
    ],
    "max_amount": 20000,
    "currency": "USD"
  },
  "call": {
    "purpose": "book",
    "purpose_text": "Table for 2 at 7pm Friday",
    "window": {
      "from": "2026-11-08T14:33:30.000Z",
      "until": "2026-11-08T14:43:30.000Z"
    },
    "disclosure": {
      "ai": true,
      "statement": "spoken_at_start"
    },
    "consent": {
      "basis": "customer_request",
      "ref": "booking-4471"
    }
  },
  "receipt": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiI0ODhkN2VkNzc4MjMxN2RhIn0.eyJyZWNlaXB0X2lkIjoicmNwdF84MjUzMTRjYjhlOGI2Y2M3MWU3ZDY0MGEzYmRhZGRkMyIsInR5cGUiOiJ2ZXJpZmllZF9jYWxsIiwidiI6MSwiY2hlY2tfaWQiOiJjY3hfMDFNNlhTODhOQzAzRVZFMlhaMjFUMlZXQ1IiLCJjYWxsX2lkIjoiY2FsbF8wMU02WFM4OE1XRU1DMlRLNU1NOVk5TUFXRSIsInJlc3VsdCI6InZlcmlmaWVkIiwidHJhbnNwb3J0IjoibG9va3VwIiwiYWdlbnQiOnsiaWQiOiJhZ3RfMDFNNlhTODhLTkZUV0RHUDJNUkJTSkczV1IiLCJraWQiOiJWN19sNldyaGRYQlFaU3NNcnRSUHlaMmhvMUM4VS1ZeGZoVF8zd05BRlljIiwiZGlyZWN0b3J5IjoiaHR0cHM6Ly9hcGkucHJvdmVuYW5jZWF1dGguY29tL3YxL3B1YmxpYy9hZ2VudHMvYWd0XzAxTTZYUzg4S05GVFdER1AyTVJCU0pHM1dSL2RpcmVjdG9yeSJ9LCJwZXJzb24iOnsiYXBwcm92ZWQiOnRydWUsImFwcHJvdmVkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMTBaIiwiYXBwcm92ZWRfdmlhIjoiZ3JhbnQiLCJwc2V1ZG9ueW0iOiJodW1fZDN2M2R0ZmQ2cnF5cTZpZmFodmUifSwicHVycG9zZSI6ImJvb2siLCJ3aW5kb3ciOnsiZnJvbSI6IjIwMjYtMTEtMDhUMTQ6MzM6MzAuMDAwWiIsInVudGlsIjoiMjAyNi0xMS0wOFQxNDo0MzozMC4wMDBaIn0sImp0aSI6IjE2MTNjNDNjLWY4ZjEtNDdhYi1iNzc3LWZmMTczYmJiYTNhYSIsIm51bWJlcnNfZGlnZXN0IjoiNzRlZWFhNjNhZGVjMjBmNWI4Yjc4MDAyNjNmNWRjMTFkNmViNWQ5ZWU0MDBhMTY4NzI4OTJhZDJjOGEyMTZjYiIsImRpc2Nsb3N1cmUiOnsiYWkiOnRydWUsInN0YXRlbWVudCI6InNwb2tlbl9hdF9zdGFydCJ9LCJjb25zZW50Ijp7ImJhc2lzIjoiY3VzdG9tZXJfcmVxdWVzdCIsInJlZiI6ImJvb2tpbmctNDQ3MSJ9LCJjaGVja2VkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMjhaIiwiaXNzIjoiaHR0cHM6Ly9wcm92ZW5hbmNlYXV0aC5jb20ifQ.AKlyuRKRzNHNUzcSwPZuTv0_87WD3uFzjlezLFKBylNS_3TXsFhPMbfYQszpyYn3UIl9KPOK66SW-RBhxmqXiw",
  "status_url": "https://api.provenanceauth.com/v1/authorize/call_checks/ccx_01M6XS88NC03EVE2XZ21T2VWCR",
  "created_at": "2026-11-08T14:33:30.028Z"
}
```

## Ask for more during a call

`POST /v1/authorize/call_checks/{id}/requests`

For a verified call: checks a request against the grant's call scope and budget without spending from it (`within_scope`), or asks the person behind the agent to confirm while the call holds (`pending_confirmation`; poll the check). A confirmation is billed to your account as one confirmation.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The check's ID (`ccx_`). |
| `action_type` | body | string | yes | What the caller asks for, as a call purpose such as `book`. |
| `amount` | body | integer \| null | no | The amount in minor units. |
| `currency` | body | string \| null | no | The three-letter currency code. |
| `description` | body | string | yes | The request in a sentence, shown to the person. |
| `wait` | body | integer | no | Seconds the confirmation stays open. Default 120. |

### Returns

The check, with the request and its status. See [the call check object](#object).

### Errors

- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`call_check_not_verified`](https://provenanceauth.com/docs/platform/errors.md#call_check_not_verified)
- [`trial_ended`](https://provenanceauth.com/docs/platform/errors.md#trial_ended)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`calls_not_configured`](https://provenanceauth.com/docs/platform/errors.md#calls_not_configured)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl -X POST "$PROVENANCE_API/v1/authorize/call_checks/ccx_01M6XS88P2M5MCC1VC53DYC1TJ/requests" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_type": "book",
    "amount": 45000,
    "currency": "USD",
    "description": "Private room for 12, with a deposit",
    "wait": 120
  }'
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks/ccx_01M6XS88P2M5MCC1VC53DYC1TJ/requests`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x", "Content-Type": "application/json" },
  body: JSON.stringify({
    "action_type": "book",
    "amount": 45000,
    "currency": "USD",
    "description": "Private room for 12, with a deposit",
    "wait": 120
  }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/authorize/call_checks/ccx_01M6XS88P2M5MCC1VC53DYC1TJ/requests", headers={"Authorization": "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x"}, json={
    "action_type": "book",
    "amount": 45000,
    "currency": "USD",
    "description": "Private room for 12, with a deposit",
    "wait": 120
}).json()
```

### Response 200

```json
{
  "id": "ccx_01M6XS88P2M5MCC1VC53DYC1TJ",
  "object": "call_check",
  "result": "verified",
  "reason": null,
  "transport": "lookup",
  "agent": {
    "id": "agt_01M6XS88KNFTWDGP2MRBSJG3WR",
    "name": "Muse",
    "category": "ai_assistant_fetch",
    "directory": "https://api.provenanceauth.com/v1/public/agents/agt_01M6XS88KNFTWDGP2MRBSJG3WR/directory"
  },
  "operator": {
    "name": "Larkspur Assist",
    "domain_verified": false
  },
  "person": {
    "approved": true,
    "approved_at": "2026-11-08T14:33:30.010Z",
    "approved_via": "grant",
    "pseudonym": "hum_d3v3dtfd6rqyq6ifahve"
  },
  "scope": {
    "purposes": [
      "book",
      "cancel"
    ],
    "max_amount": 20000,
    "currency": "USD"
  },
  "call": {
    "purpose": "book",
    "purpose_text": "Table for 2 at 7pm Friday",
    "window": {
      "from": "2026-11-08T14:33:30.000Z",
      "until": "2026-11-08T14:43:30.000Z"
    },
    "disclosure": {
      "ai": true,
      "statement": "spoken_at_start"
    },
    "consent": {
      "basis": "customer_request",
      "ref": "booking-4471"
    }
  },
  "request": {
    "action_type": "book",
    "amount": 45000,
    "currency": "USD",
    "description": "Private room for 12, with a deposit",
    "created_at": "2026-11-08T14:33:30.052Z",
    "decided_at": null,
    "status": "pending_confirmation"
  },
  "receipt": "eyJhbGciOiJFUzI1NiIsInR5cCI6InByb3ZlbmFuY2UtcmVjZWlwdCtqd3QiLCJraWQiOiI0ODhkN2VkNzc4MjMxN2RhIn0.eyJyZWNlaXB0X2lkIjoicmNwdF80Y2EyMmY3YmNkY2EyNTU3Yjk2YTU1ZWFkNmY1MjZjMCIsInR5cGUiOiJ2ZXJpZmllZF9jYWxsIiwidiI6MSwiY2hlY2tfaWQiOiJjY3hfMDFNNlhTODhQMk01TUNDMVZDNTNEWUMxVEoiLCJjYWxsX2lkIjoiY2FsbF8wMU02WFM4OE5URDJQQVNFUDBWWFFFR0hRTSIsInJlc3VsdCI6InZlcmlmaWVkIiwidHJhbnNwb3J0IjoibG9va3VwIiwiYWdlbnQiOnsiaWQiOiJhZ3RfMDFNNlhTODhLTkZUV0RHUDJNUkJTSkczV1IiLCJraWQiOiJWN19sNldyaGRYQlFaU3NNcnRSUHlaMmhvMUM4VS1ZeGZoVF8zd05BRlljIiwiZGlyZWN0b3J5IjoiaHR0cHM6Ly9hcGkucHJvdmVuYW5jZWF1dGguY29tL3YxL3B1YmxpYy9hZ2VudHMvYWd0XzAxTTZYUzg4S05GVFdER1AyTVJCU0pHM1dSL2RpcmVjdG9yeSJ9LCJwZXJzb24iOnsiYXBwcm92ZWQiOnRydWUsImFwcHJvdmVkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMTBaIiwiYXBwcm92ZWRfdmlhIjoiZ3JhbnQiLCJwc2V1ZG9ueW0iOiJodW1fZDN2M2R0ZmQ2cnF5cTZpZmFodmUifSwicHVycG9zZSI6ImJvb2siLCJ3aW5kb3ciOnsiZnJvbSI6IjIwMjYtMTEtMDhUMTQ6MzM6MzAuMDAwWiIsInVudGlsIjoiMjAyNi0xMS0wOFQxNDo0MzozMC4wMDBaIn0sImp0aSI6Ijc4NDBhY2VhLTAzN2QtNDZiMy04NGZlLWVjNGI2ZWQ0NGQ2YyIsIm51bWJlcnNfZGlnZXN0IjoiNjM1ZjAwMjFhMmFjNzk2ZDQ1MGNmZjU4ZWYzNWZiNDA2ZWZjMWM4NzkzM2UxNTUxNjQyNGNhMWY2OWZhMjUyYiIsImRpc2Nsb3N1cmUiOnsiYWkiOnRydWUsInN0YXRlbWVudCI6InNwb2tlbl9hdF9zdGFydCJ9LCJjb25zZW50Ijp7ImJhc2lzIjoiY3VzdG9tZXJfcmVxdWVzdCIsInJlZiI6ImJvb2tpbmctNDQ3MSJ9LCJjaGVja2VkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wNTBaIiwiaXNzIjoiaHR0cHM6Ly9wcm92ZW5hbmNlYXV0aC5jb20ifQ.PcUUVDZfybHyU4lDQCg-xrGG1_6eJWZ-3EG1IPldOmz2WxhmhmLo1AW-PUFlKAgp7zppzmhEDVzWow2Pb_B_ew",
  "status_url": "https://api.provenanceauth.com/v1/authorize/call_checks/ccx_01M6XS88P2M5MCC1VC53DYC1TJ",
  "created_at": "2026-11-08T14:33:30.050Z"
}
```

## Confirm with the guest

`POST /v1/authorize/call_checks/{id}/guest_confirmations`

For a caller not on Provenance: sends a confirmation straight to the phone or email you already hold for the guest. The person approves on their own device, and the check turns `verified` with `agent: null` and `person.approved_via: booking_contact`. Billed to your account as one confirmation.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The check's ID (`ccx_`). |
| `contact` | body | object | no | The guest's phone, email or both, from your own records. Leave it out for a link only confirmation: nothing is sent and the response carries `approve_url` for you to pass on. |
| `contact.phone` | body | string | no | An E.164 phone number (`+14155550132`). Spaces are removed; nothing else is guessed. |
| `contact.email` | body | string | no | An email address, compared in lower case. |
| `contact.text_consent` | body | object | no | With `phone`: your statement that the person at this phone agreed to your texts, recorded with the request (the same record as `POST /v1/account/text_consents`). Needs the consent mode `company` (409 `text_consent_mode_mismatch` otherwise) and the Pro plan or higher. Read on capture requests, checkout approvals and checkout assessments; refused on an approver invite. |
| `contact.text_consent.method` | body | enum | yes | How the person agreed. One of `sign_up_form`, `in_app`, `in_person`, `customer_list`. |
| `contact.text_consent.obtained_at` | body | timestamp | yes | When they agreed; not in the future. |
| `contact.text_consent.evidence_url` | body | string | no | An `https` link to how they agreed. Stored, never fetched. |
| `delivery` | body | enum | no | `send`: Provenance sends the request on the channels `channels` allows. `self`: link only. Nothing is sent and the response returns the link for you to pass on. Left out, a request with no contact is link only and any other takes your account's default (`send` out of the box). With a default of link only, a request that gives a contact must say `send`. One of `send`, `self`. |
| `channels` | body | array of enums | no | Which of Provenance's messages may go, in any order: `app_notification` (the person's Provenance app, when the contact matches one person there), `email` and `text`. Left out, your account's default (all three out of the box). With all three, the person gets the app notification and the email when their contact matches, and the text and the email otherwise; a narrower list sends only what it names (the text goes in the notification's place only with `text`, the email beside either only with `email`). Each message is reported on its own in `deliveries`. A list that can reach none of the contacts is refused, as are `sms` and `app_push`. |
| `follow_up_text` | body | object | no | The follow-up text for this request (or, on `PUT /v1/account/reminders`, the default). Each key left out takes your account's saved default; the whole object left out takes all three (on, `not_opened`, 5 minutes out of the box). On a live deployment it is Pro and above (`402 plan_required` on Free, nothing created or saved); in the sandbox it works on every plan. Refused beside `delivery: "self"`. |
| `follow_up_text.enabled` | body | boolean | no | `false` sends no follow-up text. |
| `follow_up_text.when` | body | enum | no | `not_opened` (the default) or `not_finished`. One of `not_opened`, `not_finished`. |
| `follow_up_text.after_minutes` | body | integer | no | A whole number of minutes from 1 to 1440, counted from the notification. On a create it must be shorter than the request's `expires_in` (`400 parameter_invalid` on `follow_up_text.after_minutes`); a longer wait from your default is kept, and the text is skipped as `expired` if the request ends first. |
| `reminders` | body | object | no | This request's automatic [reminders](https://provenanceauth.com/docs/messaging/reminders.md), in the shape of one product's schedule in Settings (`schedules.<kind>` on `/v1/account/reminders`): `capture_request` for a capture request, `checkout_approval` for a cart approval (and an assessment's challenge or a guest confirmation), `approval` for a routed approval. Keys left out take your account's saved values, as a `PUT` to Settings does: `after` alone changes the timings of a schedule that is on, and `enabled: true` turns it on. The cap, the minimum gap and quiet hours apply as built; an offset at or past the request's expiry is left out. Fixed at create: a later change in Settings leaves the request as it was. Refused beside `delivery: "self"`. |
| `reminders.enabled` | body | boolean | no | `true` tracks this request on the schedule (Pro and above on a live deployment: `402 plan_required` on `reminders.enabled` below Pro, nothing created; every plan in the sandbox); `false` sends it no automatic reminder (one by hand or by API is still allowed). |
| `reminders.after` | body | array of strings | no | Up to three offsets from the request's creation (`10m`, `24h`, `3d`), increasing, each at least the minimum gap after the one before, at most 7 days. Errors use the Settings messages on `reminders.after`. |
| `description` | body | string | yes | What the person confirms, shown to them. |
| `amount` | body | integer | no | An amount to show, in minor units. |
| `currency` | body | string | no | The three-letter currency code. |
| `wait` | body | integer | no | Seconds the confirmation stays open. Default 120. |

### Returns

The check, waiting for the person. See [the call check object](#object).

### Errors

- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`customer_routing_not_allowed`](https://provenanceauth.com/docs/platform/errors.md#customer_routing_not_allowed)
- [`trial_ended`](https://provenanceauth.com/docs/platform/errors.md#trial_ended)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`calls_not_configured`](https://provenanceauth.com/docs/platform/errors.md#calls_not_configured)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -s -X POST "$PROVENANCE_API/v1/authorize/call_checks" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "from": "+14155550177", "to": "+14155550123", "code": "123456" }' > step.json
export CHECK_ID=$(jq -r '.id' step.json)
curl -X POST "$PROVENANCE_API/v1/authorize/call_checks/$CHECK_ID/guest_confirmations" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "contact": {
      "phone": "+14155550199",
      "email": "rowan@tarrowby.example"
    },
    "description": "Confirm your table for 2 at 7pm Friday"
  }'
```

**Node**

```ts
const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({ "from": "+14155550177", "to": "+14155550123", "code": "123456" }),
})).json();
const checkId = step1.id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks/${checkId}/guest_confirmations`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({
    "contact": {
      "phone": "+14155550199",
      "email": "rowan@tarrowby.example"
    },
    "description": "Confirm your table for 2 at 7pm Friday"
  }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/authorize/call_checks", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "from": "+14155550177",
    "to": "+14155550123",
    "code": "123456"
}).json()
check_id = step1["id"]
data = httpx.post(f"{api}/v1/authorize/call_checks/{check_id}/guest_confirmations", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "contact": {
        "phone": "+14155550199",
        "email": "rowan@tarrowby.example"
    },
    "description": "Confirm your table for 2 at 7pm Friday"
}).json()
```

### Response 200

```json
{
  "id": "ccx_01M7DK7E5AJ4XAMYBKXT2QCXAQ",
  "object": "call_check",
  "result": "pending_confirmation",
  "reason": null,
  "transport": "guest_confirmation",
  "agent": null,
  "operator": null,
  "person": {
    "approved": false,
    "approved_at": null,
    "approved_via": "booking_contact",
    "pseudonym": null
  },
  "scope": null,
  "call": null,
  "receipt": null,
  "status_url": "http://127.0.0.1:57988/v1/authorize/call_checks/ccx_01M7DK7E5AJ4XAMYBKXT2QCXAQ",
  "created_at": "2026-11-14T17:56:02.346Z",
  "delivery_hint": "the phone ending 99"
}
```

## Issue a relayed code

`POST /v1/authorize/call_checks/{id}/relay_codes`

The last resort, when you have no contact for the person: a 6-digit code with a check digit and a fixed short address to read out on the call. The agent relays both to its person, who enters the code there and approves. Ask for read-back. The code is single use and expires in 5 minutes. Free.

Auth: an API key, as `Authorization: Bearer <key>`.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `id` | path | string | yes | The check's ID (`ccx_`). |

### Returns

The code and the address.

### Errors

- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`authentication_required`](https://provenanceauth.com/docs/platform/errors.md#authentication_required)
- [`insufficient_scope`](https://provenanceauth.com/docs/platform/errors.md#insufficient_scope)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`calls_not_configured`](https://provenanceauth.com/docs/platform/errors.md#calls_not_configured)

### Request

**curl**

```bash
export PROVENANCE_KEY=prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5
curl -s -X POST "$PROVENANCE_API/v1/authorize/call_checks" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "from": "+14155550178", "to": "+14155550123", "code": "123456" }' > step.json
export CHECK_ID=$(jq -r '.id' step.json)
curl -X POST "$PROVENANCE_API/v1/authorize/call_checks/$CHECK_ID/relay_codes" \
  -H "Authorization: Bearer $PROVENANCE_KEY"
```

**Node**

```ts
const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({ "from": "+14155550178", "to": "+14155550123", "code": "123456" }),
})).json();
const checkId = step1.id;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks/${checkId}/relay_codes`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/authorize/call_checks", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "from": "+14155550178",
    "to": "+14155550123",
    "code": "123456"
}).json()
check_id = step1["id"]
data = httpx.post(f"{api}/v1/authorize/call_checks/{check_id}/relay_codes", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
```

### Response 201

```json
{
  "object": "call_relay_code",
  "check_id": "ccx_01M6XSMPWAA3CNF3GY56NC1D1Q",
  "code": "775677",
  "short_address": "localhost:3000/c",
  "expires_at": "2026-11-08T14:45:17.808Z"
}
```

## Check a short code without a key

`POST /v1/public/call_codes/check`

For a receptionist with no API key: the number that was called and the caller's short code return a minimal verdict (the agent, its operator, whether a person approved, the purpose). It doesn't use up the call for your authenticated check. 5 tries per number every 10 minutes. Free.

Auth: none. No API key needed.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `to` | body | string | yes | The number that was called, in E.164. |
| `code` | body | string | yes | The caller's 6-digit short code. |

### Returns

The minimal verdict.

### Errors

- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`calls_not_configured`](https://provenanceauth.com/docs/platform/errors.md#calls_not_configured)

### Request

**curl**

```bash
curl -X POST "$PROVENANCE_API/v1/public/call_codes/check" \
  -H "Content-Type: application/json" \
  -d '{ "to": "+14155550123", "code": "512656" }'
```

**Node**

```ts
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/call_codes/check`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ "to": "+14155550123", "code": "512656" }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/public/call_codes/check", json={
    "to": "+14155550123",
    "code": "512656"
}).json()
```

### Response 200

```json
{
  "object": "call_code_check",
  "result": "verified",
  "agent_name": "Muse",
  "operator_name": "Larkspur Assist",
  "person_approved": true,
  "purpose": "book"
}
```

## Redeem a relayed code

`POST /v1/public/call_codes/relay`

The page at the short address posts the code the person heard. It returns the approval page for that call; once the person approves there, the business's check turns `verified`. A code works once. Free.

Auth: none. No API key needed.

### Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `code` | body | string | yes | The 6-digit relayed code. |

### Returns

The approval page.

### Errors

- [`parameter_invalid`](https://provenanceauth.com/docs/platform/errors.md#parameter_invalid)
- [`parameter_missing`](https://provenanceauth.com/docs/platform/errors.md#parameter_missing)
- [`resource_missing`](https://provenanceauth.com/docs/platform/errors.md#resource_missing)
- [`rate_limit_exceeded`](https://provenanceauth.com/docs/platform/errors.md#rate_limit_exceeded)
- [`calls_not_configured`](https://provenanceauth.com/docs/platform/errors.md#calls_not_configured)

### Request

**curl**

```bash
curl -s -X POST "$PROVENANCE_API/v1/authorize/call_checks" \
  -H "Authorization: Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" \
  -H "Content-Type: application/json" \
  -d '{ "from": "+14155550179", "to": "+14155550123", "code": "123456" }' > step.json
export CHECK_ID=$(jq -r '.id' step.json)
curl -s -X POST "$PROVENANCE_API/v1/authorize/call_checks/$CHECK_ID/relay_codes" \
  -H "Authorization: Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" > step.json
export RELAY_CODE=$(jq -r '.code' step.json)
curl -X POST "$PROVENANCE_API/v1/public/call_codes/relay" \
  -H "Content-Type: application/json" \
  -d "{ \"code\": \"$RELAY_CODE\" }"
```

**Node**

```ts
const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5", "Content-Type": "application/json" },
  body: JSON.stringify({ "from": "+14155550179", "to": "+14155550123", "code": "123456" }),
})).json();
const checkId = step1.id;
const step2 = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks/${checkId}/relay_codes`, {
  method: "POST",
  headers: { Authorization: "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5" },
})).json();
const relayCode = step2.code;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/public/call_codes/relay`, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ "code": relayCode }),
})).json();
```

**Python**

```python
import os
import httpx

api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/authorize/call_checks", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}, json={
    "from": "+14155550179",
    "to": "+14155550123",
    "code": "123456"
}).json()
check_id = step1["id"]
step2 = httpx.post(f"{api}/v1/authorize/call_checks/{check_id}/relay_codes", headers={"Authorization": "Bearer prv_test_acct_P9xN2vQ7bT4mW8sYd3cFjLh6gAe1kR5"}).json()
relay_code = step2["code"]
data = httpx.post(f"{api}/v1/public/call_codes/relay", json={
    "code": relay_code
}).json()
```

### Response 200

```json
{
  "object": "call_relay",
  "approve_url": "http://localhost:5173/approve/c/k4CptdD8VWBDVlqhQj7NxA",
  "business": "Harbor Bean Coffee",
  "expires_at": "2026-11-08T14:45:17.822Z"
}
```
