Authorize · API reference
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
The call check object
Attributes
idstringRequired- Unique identifier for the object (
ccx_). objectenumRequired- The type of object. One of
call_check. resultenumRequiredverified: 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 ofverified,no_proof,invalid,expired,replayed,revoked,pending,pending_confirmation,declined.reasonenumRequired- Why there is no proof, when there isn't. One of
unknown_caller,operator_unreachable,operator_declined. transportenumRequired- 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. agentobject | nullRequired- The calling agent. Null when no registered call matched.
Show child attributes
idstring- The agent's ID.
namestring | null- The agent's name.
categorystring | null- The agent's category, such as
ai_assistant_fetch. directorystring- The agent's public key directory.
operatorobject | nullRequired- The company that operates the agent.
Show child attributes
namestring | null- The operator's display name.
domain_verifiedboolean- Whether the operator verified an email domain.
personobjectRequired- The person behind the call.
Show child attributes
approvedboolean- Whether a person approved this call.
approved_attimestamp | null- When they approved.
approved_viaenum- 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. pseudonymstring | null- A stable ID for the person at your business only. Two businesses get different values for the same person.
scopeobject | nullRequired- The parts of the grant's call scope that apply to this call.
Show child attributes
purposesarray of strings- The purposes the person allowed.
max_amountinteger- The most the agent may commit to on a call, in minor units.
currencystring | null- The cap's currency.
hoursobject- The hours the agent may call: a time zone and a weekly schedule.
callobject | nullRequired- What the caller registered.
Show child attributes
purposestring- The call's purpose.
purpose_textstring | null- The purpose in a sentence, at most 120 characters.
windowobject- The call's window.
Show child attributes
fromtimestamp- The start.
untiltimestamp- The end.
disclosureobject | null- The caller's AI-disclosure record, designed to support disclosure rules.
Show child attributes
aiboolean- Whether the caller is an AI.
statementstring- How it discloses that, such as
spoken_at_start.
consentobject | null- The caller's consent record, designed to support consent rules.
Show child attributes
basisstring- The basis, such as
customer_request. refstring- The caller's own reference for the consent.
challengeobject- An in-call challenge on this check.
code,phraseanddtmfare returned once, in the response that issued it.Show child attributes
stateenum- The challenge's state. One of
open,answered,expired,failed. expires_attimestamp | null- When it expires (5 minutes).
codestring- Six digits; the last is a check digit.
phrasestring- The standard phrase to read out on the call.
dtmfstring- The keypad tones to play:
*, the six digits, then#.
proof_requestobject- The request for proof sent to the operator that verified the calling number.
Show child attributes
statusenumunreachable: the operator has no webhook endpoint for proof requests. One ofrequested,unreachable,answered,declined.
requestobject- The latest request you made during the call.
Show child attributes
action_typestring- What the caller asked for.
amountinteger | null- The amount in minor units.
currencystring | null- The currency.
descriptionstring- The request in a sentence.
statusenumwithin_scope: the grant covers it.pending_confirmation: the person behind the agent is being asked. One ofwithin_scope,pending_confirmation,approved,declined,expired.created_attimestamp- When you asked.
decided_attimestamp | null- When the person answered.
receiptstring | nullRequired- The signed call receipt (an ES256 JWS) when
resultisverified. Verify it against the published keys. status_urlstringRequired- Poll this with
?wait=while the check is pending. created_attimestampRequired- When the check ran.
delivery_hintstring- Guest confirmations only: where the confirmation went, masked.
dev_approve_urlstring- Sandbox only, on a server set to echo links for testing: the person's approval page.
The call check object
{
"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.
Parameters
idstringpathRequired- The check's ID (
ccx_). waitintegerquery- Seconds to wait for the check to settle. Default 0.
Returns
The verdict. See the call check object.
Errors
export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/call_checks/ccx_01M6XS88PYFZ9T119KKNHFF5KD?wait=10" \
-H "Authorization: Bearer $PROVENANCE_KEY"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();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
{
"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.eyJyZWNlaXB0X2lkIjoicmNwdF8yYTFhNDVlZjY3MzM3MDdhOWVmYzJhNTJiNTE4OTJmNCIsInR5cGUiOiJ2ZXJpZmllZF9jYWxsIiwidiI6MSwiY2hlY2tfaWQiOiJjY3hfMDFNNlhTODhQWUZaOVQxMTlLS05IRkY1S0QiLCJjY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A3OFoiLCJpc3MiOiJodHRwczovL3Byb3ZlbmFuY2VhdXRoLmNvbSJ9.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.
Parameters
idstringpathRequired- The check's ID (
ccx_).
Returns
The receipt.
Errors
export PROVENANCE_KEY=prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x
curl "$PROVENANCE_API/v1/authorize/call_checks/ccx_01M6XS88NC03EVE2XZ21T2VWCR/receipt" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/authorize/call_checks/ccx_01M6XS88NC03EVE2XZ21T2VWCR/receipt`, {
headers: { Authorization: "Bearer prv_test_ent_E7nT2vQ9bW4mK8sYd3cFjLh6gAe1pR5x" },
})).json();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
{
"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.eyJyZWNlaXB0X2lkIjoicmNwdF84MjUzMTRjYjhlOGI2Y2M3MWU3ZDY0MGEzYmRhZGRkMyIsInR5cGUiOiJ2ZXJpZmllZF9jYWxsIiwidiI6MSwiY2hlY2tfaWQiOiJjY3hfMDFNNlhTODhOQzAzRVZFMlhaMjFUMlZXQ1IiLCJjYWxsX2lkIjoiY2FsbF8wMU02WFM4OE1XRU1DMlRLNU1NOVk5TUFXRSIsInJlc3VsdCI6InZlcmlmaWVkIiwidHJhbnNwb3J0IjoibG9va3VwIiwiYWdlbnQiOnsiaWQiOiJhZ3RfMDFNNlhTODhLTkZUV0RHUDJNUkJTSkczV1IiLCJraWQiOiJWN19sNldyaGRYQlFaU3NNcnRSUHlaMmhvMUM4VS1ZeGZoVF8zd05BRlljIiwiZGlyZWN0b3J5IjoiaHR0cHM6Ly9hcGkucHJvdmVuYW5jZWF1dGguY29tL3YxL3B1YmxpYy9hZ2VudHMvYWd0XzAxTTZYUzg4S05GVF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IjoiY3VzdG9tZXJfcmVxdWVzdCIsInJlZiI6ImJvb2tpbmctNDQ3MSJ9LCJjaGVja2VkX2F0IjoiMjAyNi0xMS0wOFQxNDozMzozMC4wMjhaIiwiaXNzIjoiaHR0cHM6Ly9wcm92ZW5hbmNlYXV0aC5jb20ifQ.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.
Parameters
fromstringRequired- The caller ID, in E.164.
tostringRequired- The number that was called, in E.164.
attimestamp- When the call came in. Default now.
codestring- The caller's 6-digit short code. Needed when
toisn't one of your verified lines. challengeboolean- With nothing registered, issue an in-call challenge and ask the operator that verified
fromfor proof. waitinteger- Seconds to wait for proof after a challenge. Default 20.
Returns
The verdict. See the call check object.
Errors
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" }'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();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
{
"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.
Parameters
idstringpathRequired- The check's ID (
ccx_). action_typestringRequired- What the caller asks for, as a call purpose such as
book. amountinteger | null- The amount in minor units.
currencystring | null- The three-letter currency code.
descriptionstringRequired- The request in a sentence, shown to the person.
waitinteger- Seconds the confirmation stays open. Default 120.
Returns
The check, with the request and its status. See the call check object.
Errors
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
}'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();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
{
"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.
Parameters
idstringpathRequired- The check's ID (
ccx_). contactobject- 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_urlfor you to pass on.Show child attributes
phonestring- An E.164 phone number (
+14155550132). Spaces are removed; nothing else is guessed. emailstring- An email address, compared in lower case.
text_consentobject- With
phone: your statement that the person at this phone agreed to your texts, recorded with the request (the same record asPOST /v1/account/text_consents). Needs the consent modecompany(409text_consent_mode_mismatchotherwise) and the Pro plan or higher. Read on capture requests, checkout approvals and checkout assessments; refused on an approver invite.Show child attributes
methodenumRequired- How the person agreed. One of
sign_up_form,in_app,in_person,customer_list. obtained_attimestampRequired- When they agreed; not in the future.
evidence_urlstring- An
httpslink to how they agreed. Stored, never fetched.
deliveryenumsend: Provenance sends the request on the channelschannelsallows.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 (sendout of the box). With a default of link only, a request that gives a contact must saysend. One ofsend,self.channelsarray of enums- Which of Provenance's messages may go, in any order:
app_notification(the person's Provenance app, when the contact matches one person there),emailandtext. 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 withtext, the email beside either only withemail). Each message is reported on its own indeliveries. A list that can reach none of the contacts is refused, as aresmsandapp_push. follow_up_textobject- 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_requiredon Free, nothing created or saved); in the sandbox it works on every plan. Refused besidedelivery: "self".Show child attributes
enabledbooleanfalsesends no follow-up text.whenenumnot_opened(the default) ornot_finished. One ofnot_opened,not_finished.after_minutesinteger- 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_invalidonfollow_up_text.after_minutes); a longer wait from your default is kept, and the text is skipped asexpiredif the request ends first.
remindersobject- This request's automatic reminders, in the shape of one product's schedule in Settings (
schedules.<kind>on/v1/account/reminders):capture_requestfor a capture request,checkout_approvalfor a cart approval (and an assessment's challenge or a guest confirmation),approvalfor a routed approval. Keys left out take your account's saved values, as aPUTto Settings does:afteralone changes the timings of a schedule that is on, andenabled: trueturns 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 besidedelivery: "self".Show child attributes
enabledbooleantruetracks this request on the schedule (Pro and above on a live deployment:402 plan_requiredonreminders.enabledbelow Pro, nothing created; every plan in the sandbox);falsesends it no automatic reminder (one by hand or by API is still allowed).afterarray of strings- 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 onreminders.after.
descriptionstringRequired- What the person confirms, shown to them.
amountinteger- An amount to show, in minor units.
currencystring- The three-letter currency code.
waitinteger- Seconds the confirmation stays open. Default 120.
Returns
The check, waiting for the person. See the call check object.
Errors
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"
}'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();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
{
"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.
Parameters
idstringpathRequired- The check's ID (
ccx_).
Returns
The code and the address.
Errors
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"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();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
{
"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.
No API key needed.
Parameters
tostringRequired- The number that was called, in E.164.
codestringRequired- The caller's 6-digit short code.
Returns
The minimal verdict.
Errors
curl -X POST "$PROVENANCE_API/v1/public/call_codes/check" \
-H "Content-Type: application/json" \
-d '{ "to": "+14155550123", "code": "512656" }'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();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
{
"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.
No API key needed.
Parameters
codestringRequired- The 6-digit relayed code.
Returns
The approval page.
Errors
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\" }"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();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
{
"object": "call_relay",
"approve_url": "http://localhost:5173/approve/c/k4CptdD8VWBDVlqhQj7NxA",
"business": "Harbor Bean Coffee",
"expires_at": "2026-11-08T14:45:17.822Z"
}