Authorize · Reference
Call credential format
A verified call rests on two signed documents. The call credential is signed by the calling agent's key before it dials. The call receipt is signed by Provenance when a business checks the call. Both are compact JWS, both formats are published here with a JSON Schema, and both verify offline from public keys.
| Document | Signed by | Algorithm and typ | JSON Schema |
|---|---|---|---|
| Call credential | The calling agent's Ed25519 key | EdDSA, call+jws | /schemas/call-credential/v1.json |
| Call receipt | Provenance's receipt key | ES256, provenance-receipt+jwt | /schemas/call-receipt/v1.json |
The call credential
The protected header is { "alg": "EdDSA", "typ": "call+jws", "kid": "<thumbprint>" }. kid is the RFC 7638 JWK thumbprint of the agent's public key, the same key id its Web Bot Auth signatures use.
{ "alg": "EdDSA", "typ": "call+jws", "kid": "V7_l6WrhdXBQZSsMrtRPyZ2ho1C8U-YxfhT_3wNAFYc" }
Claims
vintegerRequired- The format version:
1. issstringRequired- The agent's key directory: its Provenance directory, or the agent's own directory or JWKS URL over https.
agentstringRequired- The agent's ID.
fromstringRequired- The number the agent calls from, in E.164.
tostringRequired- The number the agent calls, in E.164.
nbfintegerRequired- The start of the window, in seconds since the epoch. Provenance registers a credential only when this is within 60 seconds of now.
expintegerRequired- The end of the window. At most 900 seconds after
nbf. jtistringRequired- A unique ID, at most 200 characters. A credential registers once.
purposestringRequired- The purpose, from the closed list below.
purpose_textstring- The purpose in a sentence, at most 120 characters. The business sees it.
grantstring- The grant behind the call. Give this or
approval. approvalstring- A one-time approval behind the call, approved and unused.
disclosureobject{ ai, statement }: the caller's AI-disclosure record, designed to support disclosure rules.consentobject{ basis, ref? }: the caller's consent record, designed to support consent rules.
| Purpose | Use it for |
|---|---|
book | Making a booking or reservation |
buy | Buying something, payment included |
cancel | Cancelling a booking, order or subscription |
change | Changing an existing booking or order |
support | Asking for help with an order or account |
inquire | Asking a question |
{
"v": 1,
"iss": "https://api.provenanceauth.com/v1/public/agents/agt_01M6XS88KNFTWDGP2MRBSJG3WR/directory",
"agent": "agt_01M6XS88KNFTWDGP2MRBSJG3WR",
"from": "+14155550100",
"to": "+14155550123",
"nbf": 1794148410,
"exp": 1794149010,
"jti": "1613c43c-f8f1-47ab-b777-ff173bbba3aa",
"purpose": "book",
"purpose_text": "Table for 2 at 7pm Friday",
"grant": "grt_01M6XS88MSV3GBK874W606KSBA",
"disclosure": { "ai": true, "statement": "spoken_at_start" },
"consent": { "basis": "customer_request", "ref": "booking-4471" }
}
Verify a credential
- Split the JWS, and check that the header has
alg: EdDSA,typ: call+jwsand akid. - Fetch the keys from the directory
issnames, over https, and pick the key whose thumbprint iskid. - Check the Ed25519 signature over the first two segments.
- Check that
exp - nbfis at most 900, that the call happens inside the window, thatfromandtoare the call's numbers, and that you haven't seenjtibefore.
Provenance runs the same checks when an agent registers, then also checks that the account verified from and that the call is inside the grant's call scope.
The call receipt
A verified check carries a receipt, and GET / returns it decoded. The receipt holds no phone number. numbers_digest is the SHA-256 hex of from|to|jti, so a holder who knows both numbers can recompute it and match the receipt to a call.
receipt_idstringRequired- The receipt's ID (
rcpt_). typestringRequired- Always
verified_call. check_idstringRequired- The business's check.
call_idstring | nullRequired- The registered call that matched.
transportstringRequired- How the call was matched: by its numbers, its short code, or an in-call path.
agentobject | nullRequired- The agent's ID, the
kidthat signed the credential and its directory. personobjectRequired- Whether a person approved, when and how, and their pseudonym at this business only.
windowobject | nullRequired- The call's window.
numbers_digeststring | nullRequired- SHA-256 hex of
from|to|jti. disclosureobject | nullRequired- The disclosure record, as the agent signed it.
consentobject | nullRequired- The consent record, as the agent signed it.
checked_atstringRequired- When the check ran.
issstringRequired- The issuer: the Provenance site's URL.
{
"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"
}
Verify a receipt
- Fetch the published keys from
/.well-known/jwks.jsonon the Provenance API, and pick the key whosekidthe receipt's header names. - Check the ES256 signature over the first two segments.
- Check that
typeisverified_callandresultisverified. - To tie the receipt to a call, compute the SHA-256 hex of
from|to|jtiand compare it withnumbers_digest.
The free POST / checks a receipt without a key. Any JWS library that supports ES256 can run the same checks offline.
Versioning
Both formats carry v: 1. A new version gets a new v value and its own schema URL.