Attest · API reference
Appeals
Signed links that let a policyholder appeal without a login.
Related guide: Cases and appeals
The claim appeal object
Attributes
idstring- The appeal's ID.
objectenum- The type of object. One of
appeal. claim_idstring- The claim.
referencestring- The policyholder's short reference (
APL-7Q2K). statusenum- The appeal's status. One of
filed. surfaceenum- Where it was filed: the hosted link or
<provenance-appeal>. One oflink,embed. statementstring- The policyholder's reason.
new_attestation_idsarray of strings- Attested media named with it (the hosted link).
filesarray of objects- Files sent with it.
Show child attributes
idstring- The file's ID (
apf_…). objectenum- The type of object. One of
appeal_file. namestring- The file's name.
content_typeenum- The type, from its bytes. One of
image/jpeg,image/png,image/webp,application/pdf. size_bytesinteger- The size.
sha256string- SHA-256 of the bytes (on the carrier's list).
created_attimestamp- When it was filed.
The claim appeal object
{
"id": "apl_01M5X8AV9T4R2K8QW6YB3NC5DE",
"object": "appeal",
"claim_id": "CLM-20481",
"reference": "APL-C5DE",
"status": "filed",
"surface": "embed",
"statement": "The photos were taken the day of the storm on my old phone. Its clock was set to the wrong time zone.",
"new_attestation_ids": [],
"files": [
{
"id": "apf_01M5X8AV7P2K9QW3RT6YB4NC1D",
"object": "appeal_file",
"name": "roof-close-up.jpg",
"content_type": "image/jpeg",
"size_bytes": 2516582,
"sha256": "6f1ed002ab5595859014ebf0951522d9a3e2b9bb4f1e0b1a4bfa7f2a6c1d9e0b"
}
],
"created_at": "2026-10-26T14:31:02.000Z"
}Create an appeal link
POST/v1/attest/claims/{id}/appeal_links
Returns a signed link for the policyholder to read the claim's explanation and file one appeal, without a login. It lasts seven days.
Parameters
Idempotency-Keystringheader- Retry a create safely: the same key + request returns the stored response (24 h, per caller).
idstringpathRequired- The claim, or case in another vertical, the asset belongs to.
Returns
The appeal link and when it expires.
Errors
export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -X POST "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-FRAUD/appeal_links" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-FRAUD/appeal_links`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.post(f"{api}/v1/attest/claims/CLM-SANDBOX-FRAUD/appeal_links", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()Response 200
{
"object": "appeal_link",
"claim_id": "CLM-SANDBOX-FRAUD",
"appeal_url": "http://localhost:5173/appeal/eyJjbGFpbV9pZCI6IkNMTS1TQU5EQk9YLUZSQVVEIiwiY2Fycmllcl9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDBjMCIsImVudmlyb25tZW50Ijoic2FuZGJveCIsIm5vbmNlIjoiZjlza2dlcWVvYktWSkhpdyIsImV4cCI6MTc5NDY4NDEwN30~-Hy5CEoL9lP8C3-L6FK1NeBWBTjVafgJvzmK5sUWmAU",
"token": "eyJjbGFpbV9pZCI6IkNMTS1TQU5EQk9YLUZSQVVEIiwiY2Fycmllcl9pZCI6IjAwMDAwMDAwLTAwMDAtMDAwMC0wMDAwLTAwMDAwMDAwMDBjMCIsImVudmlyb25tZW50Ijoic2FuZGJveCIsIm5vbmNlIjoiZjlza2dlcWVvYktWSkhpdyIsImV4cCI6MTc5NDY4NDEwN30~-Hy5CEoL9lP8C3-L6FK1NeBWBTjVafgJvzmK5sUWmAU",
"expires_at": "2026-11-14T19:21:47.000Z"
}Download an appeal file
GET/v1/attest/claims/{id}/appeals/{appeal_id}/files/{file_id}
One file a policyholder sent with an appeal, as its bytes (served as an attachment).
Parameters
idstringpathRequired- The claim.
appeal_idstringpathRequired- The appeal.
file_idstringpathRequired- The file (
apf_…).
Returns
The file.
Errors
export PROVENANCE_KEY=prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x
curl "$PROVENANCE_API/v1/attest/claims/CLM-20481/appeals/apl_01M5X8AV9T4R2K8QW6YB3NC5DE/files/apf_01M5X8AV7P2K9QW3RT6YB4NC1D" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-20481/appeals/apl_01M5X8AV9T4R2K8QW6YB3NC5DE/files/apf_01M5X8AV7P2K9QW3RT6YB4NC1D`, {
headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/claims/CLM-20481/appeals/apl_01M5X8AV9T4R2K8QW6YB3NC5DE/files/apf_01M5X8AV7P2K9QW3RT6YB4NC1D", headers={"Authorization": "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x"}).json()Read an appeal link
GET/v1/attest/appeals/context
Returns the claim's explanation for the policyholder's appeal page. The link's token is the only credential.
Parameters
tokenstringqueryRequired- A signed token. Treat it as a secret.
Returns
The claim's explanation and whether an appeal was already filed.
Errors
curl -s -X POST "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-FRAUD/appeal_links" \
-H "Authorization: Bearer prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe" > step.json
export APPEAL_TOKEN=$(jq -r '.token' step.json)
curl "$PROVENANCE_API/v1/attest/appeals/context?token=$APPEAL_TOKEN"const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-FRAUD/appeal_links`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
const appealToken = step1.token;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/appeals/context?token=${appealToken}`)).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/attest/claims/CLM-SANDBOX-FRAUD/appeal_links", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
appeal_token = step1["token"]
data = httpx.get(f"{api}/v1/attest/appeals/context?token={appeal_token}").json()Response 200
{
"object": "appeal_context",
"claim_id": "CLM-SANDBOX-FRAUD",
"already_filed": false,
"explanation": {
"claim_id": "CLM-SANDBOX-FRAUD",
"template_version": "2026-07-05.1",
"locale": "en",
"overall_status": "failed",
"summary": "This claim raised 5 provenance signals that need review. Each is explained below, with what would resolve it.",
"factors": [
{
"code": "signature_invalid",
"title": "Signature did not verify",
"body": "The capture record's digital signature failed to verify, which means the file was altered after it was signed.",
"resolution_hint": "Submit the original, unedited file exactly as captured."
},
{
"code": "sensor_hash_mismatch",
"title": "Image doesn't match its record",
"body": "The image bytes don't match the fingerprint in its signed record — the picture was changed after capture.",
"resolution_hint": "Submit the original photo without cropping, filtering, or re-saving it."
},
{
"code": "gps_absent",
"title": "No location data",
"body": "The capture carries no GPS location, so we can't corroborate where it was taken.",
"resolution_hint": "Enable location on the capture device and re-take the media."
},
{
"code": "biometric_absent",
"title": "No biometric confirmation",
"body": "No biometric (face or fingerprint) was present at capture to tie a person to the moment.",
"resolution_hint": "Re-capture with biometric confirmation enabled."
},
{
"code": "exif_missing",
"title": "Stripped photo metadata",
"body": "A supposedly fresh photo has no EXIF metadata, which is often removed by re-saving or screenshotting.",
"resolution_hint": "Advisory only — submit the original file straight from the camera."
}
],
"disposition": {
"status": "escalated",
"reason_code": "suspected_fraud",
"title": "Suspected fraud",
"body": "The claim was escalated to the special investigations unit based on the provenance signals.",
"resolution_hint": "You may appeal with a statement and additional attested evidence."
}
}
}List a claim's appeals
GET/v1/attest/claims/{id}/appeals
The appeals on a claim, newest first, from the hosted link and from <provenance-appeal> (surface), with the files a policyholder added (metadata; the bytes are one request away). Needs the verify scope.
Parameters
idstringpathRequired- The claim.
limitintegerquery- Page size, 1–100 (default 20). Outside the range → 400 parameter_invalid.
cursorstringquery- Opaque; pass a response's
next_cursorback to get the next page.
Returns
The appeals.
Errors
export PROVENANCE_KEY=prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x
curl "$PROVENANCE_API/v1/attest/claims/CLM-20481/appeals" \
-H "Authorization: Bearer $PROVENANCE_KEY"const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-20481/appeals`, {
headers: { Authorization: "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x" },
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
data = httpx.get(f"{api}/v1/attest/claims/CLM-20481/appeals", headers={"Authorization": "Bearer prv_test_capture_C4pT9vQ2bW7mK3sYd8cFjLh6gAe1nR5x"}).json()Response 200
{
"object": "list",
"data": [
{
"id": "apl_01M5X8AV9T4R2K8QW6YB3NC5DE",
"object": "appeal",
"claim_id": "CLM-20481",
"reference": "APL-C5DE",
"status": "filed",
"surface": "embed",
"statement": "The photos were taken the day of the storm on my old phone. Its clock was set to the wrong time zone.",
"new_attestation_ids": [],
"files": [
{
"id": "apf_01M5X8AV7P2K9QW3RT6YB4NC1D",
"object": "appeal_file",
"name": "roof-close-up.jpg",
"content_type": "image/jpeg",
"size_bytes": 2516582,
"sha256": "6f1ed002ab5595859014ebf0951522d9a3e2b9bb4f1e0b1a4bfa7f2a6c1d9e0b"
}
],
"created_at": "2026-10-26T14:31:02.000Z"
}
],
"has_more": false,
"next_cursor": null
}File an appeal
POST/v1/attest/appeals
Files the policyholder's appeal with their statement, which reopens the case for review. Each link files once.
Parameters
Idempotency-Keystringheader- Retry a create safely: the same key + request returns the stored response (24 h, per caller).
tokenstringRequired- A signed token. Treat it as a secret.
statementstringRequired- The policyholder's statement.
new_attestation_idsarray of strings- New attested captures to add to the claim.
Returns
The appeal. The case is reopened.
Errors
curl -s -X POST "$PROVENANCE_API/v1/attest/claims/CLM-SANDBOX-RING-A/appeal_links" \
-H "Authorization: Bearer prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe" > step.json
export APPEAL_TOKEN=$(jq -r '.token' step.json)
curl -X POST "$PROVENANCE_API/v1/attest/appeals" \
-H "Content-Type: application/json" \
-d "{
\"token\": \"$APPEAL_TOKEN\",
\"statement\": \"The damage is real. I can send the original photos.\"
}"const step1 = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/claims/CLM-SANDBOX-RING-A/appeal_links`, {
method: "POST",
headers: { Authorization: `Bearer ${process.env.PROVENANCE_KEY}` },
})).json();
const appealToken = step1.token;
const data = await (await fetch(`${process.env.PROVENANCE_API}/v1/attest/appeals`, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"token": appealToken,
"statement": "The damage is real. I can send the original photos."
}),
})).json();import os
import httpx
api = os.environ["PROVENANCE_API"]
step1 = httpx.post(f"{api}/v1/attest/claims/CLM-SANDBOX-RING-A/appeal_links", headers={"Authorization": f"Bearer {os.environ['PROVENANCE_KEY']}"}).json()
appeal_token = step1["token"]
data = httpx.post(f"{api}/v1/attest/appeals", json={
"token": appeal_token,
"statement": "The damage is real. I can send the original photos."
}).json()Response 200
{
"id": "apl_01M6VQBD908TYYA65878WZN9NW",
"object": "appeal",
"claim_id": "CLM-SANDBOX-RING-A",
"status": "filed",
"case_status": "reopened",
"created_at": "2026-11-07T19:21:47.040Z"
}