View as Markdown

Integrate · Guide

Verify a proof

Members of a Provenance account check a proof on Developers → Verify a proof in the console: an intent token, a receipt, an attested photo or a trace manifest. The check runs in the browser, so a photo never leaves the device.

Anyone else, such as a counterparty who received a receipt from you, uses the free POST /v1/verify or an SDK's offline verifier. Neither needs an API key.

Before you begin: export the full-access sandbox key to mint a token to check.

export PROVENANCE_API=https://sandbox-api.provenanceauth.com
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
TabChecks in the browserStill needs the API
Intent tokenThe signature against the published keys, the expiry, and revocation through the keyless status check. A decision or agreement receipt checks the same way. Paste the action text, and the payload, to check they're the ones the token was issued forThe full decision with your policy: POST /v1/mandate/assessments
Attested photoThe attestation bundle in the photo's metadata and its signature against the device certificateThe certificate chain, device status and risk score: POST /v1/attest/verifications
Trace manifestThe manifest's signature and the hash of its graphThe full trace: GET /v1/trace/traces/{id}

Every role except approvers sees the page; it only reads.

1. Get a token to check

curl -s $PROVENANCE_API/v1/mandate/intents \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_description": "Pay invoice INV-2041: $450.00 to Brindlecote Supplies",
    "agent_session_id": "sess_verify_page_1",
    "device_id": "dev_00000000000000000000000000000001"
  }' | tee authorization.json
{
  "object": "intent_authorization",
  "intent_token": "eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJwcm92ZW5hbmNlLWF1dGhvcml6ZSJ9.mnIslW_8ZGoSLdXzXXOBtTAEpAQ1Ht05ruMPMJAwMdPnFwyggE1iabNZHTC4_9yYhhPu62ijzHhPqhyZ09wfdw",
  "expires_at": "2026-10-24T19:44:02.000Z",
  "biometric_bound": false
}

2. Paste it into the console

In the console, open Developers → Verify a proof, stay on Intent token and paste the token. The page fetches the published keys, checks the signature and expiry, asks the keyless status check whether the token was revoked, and shows the token's claims. A decision receipt or an agreement receipt checks the same way.

A token carries the action's hash, not its text. To confirm what was authorized, paste the action text you were shown into Check the action text: the page hashes it in your browser the way the token was made (SHA-256 of the exact text) and says Match or Doesn't match. Every character counts, spaces included. When the token binds a payload, paste its JSON too; key order and spacing don't matter. Nothing you paste is sent anywhere.

3. Check a photo or a trace manifest

On Attested photo, drop an attested JPEG. The page reads the file in the browser, extracts its attestation bundle and checks the signature; the file isn't uploaded. On Trace manifest, paste a trace manifest to check its signature and graph hash.

/developers/verify?token=<intent token> or /developers/verify?receipt=<receipt> on the console opens the page with the proof filled in and checked; someone who isn't signed in signs in first and lands back on the result. A receipt's verify_url is this link. The old site address, /verify, redirects here with its query kept.

5. Check without a console account

Send people outside your account to the API; the verification badge and the embedded components' Verify independently link open this guide for them. The free POST /v1/verify takes a token or a receipt, needs no key, and answers with the signature result, the revocation status and the free claims:

export INTENT_TOKEN=$(jq -r '.intent_token' authorization.json)
curl -s -X POST $PROVENANCE_API/v1/verify \
  -H "Content-Type: application/json" \
  -d '{ "token": "'"$INTENT_TOKEN"'" }'
{
  "object": "verification_result",
  "valid": true,
  "kind": "intent",
  "revoked": false
}

To check offline, with no call to us at all, use the SDKs' verifiers, verifyIntentTokenOffline and verifyAttestedImageOffline (browser-safe), or the Python and Go verifier libraries; see verify tokens offline.

Errors you might see

SymptomCauseFix
"Couldn't fetch the published keys"The page can't load the published keys from the APICheck the API is reachable from the browser.
The token verifies but the revocation status couldn't be checkedThe status check didn't answerRetry; the signature result stands on its own.
"Not attested" on a photoThe photo has no attestation bundle: it was edited, screenshotted or re-saved, which strips the metadataCheck the original capture.
A /developers/verify link opens the OverviewYour role is approver, which doesn't see the pageAsk an owner or admin, or use POST /v1/verify.

See also