Attest · API reference

Cases

The review workflow for each claim: assignment, status and notes.

Related guide: Cases and appeals

The case summary object

Attributes

idstring
The case's ID.
objectenum
The type of object. One of case.
claim_idstring
The claim, or case in another vertical, the asset belongs to.
statusenum
The object's current status. One of new, in_review, approved, denied, escalated, reopened.
assignee_account_idstring | null
Who the case is assigned to.
risk_snapshotinteger
Overall risk at case creation.
overall_risk_scoreinteger
Current overall risk (live).
asset_countinteger
How many assets the claim has.
submitted_attimestamp | null
When it was submitted.
opened_attimestamp
When it was opened.
updated_attimestamp
When it last changed.
eventsarray of objects
The events, oldest first.
Show child attributes
idstringRequired
Unique identifier for the object.
objectenumRequired
The type of object. One of case_event.
typestringRequired
The type.
from_statusany | null
The status it moved from.
to_statusany | null
The status to move to.
reason_codeany | null
A structured reason, from the fixed list.
notestringRequired
A note for the record.
actor_account_idany | nullRequired
The account that acted.
created_atstringRequired
When it was created.
case_idstring
The case's ID.

The case summary object

{
  "id": "01M6VQBC6VQG94TH36D62YMH2D",
  "object": "case",
  "claim_id": "CLM-SANDBOX-FRAUD",
  "status": "escalated",
  "assignee_account_id": null,
  "risk_snapshot": 100,
  "overall_risk_score": 100,
  "asset_count": 2,
  "submitted_at": "2026-11-07T19:21:45.947Z",
  "opened_at": "2026-11-07T19:21:45.943Z",
  "updated_at": "2026-11-07T19:21:45.943Z"
}

Events

Sent to your webhook endpoints when they subscribe:

  • attest.case.status_changed

Add a case note

POST/v1/attest/cases/{claim_id}/notes

Adds a note to a case's history.

Parameters

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
claim_idstringpathRequired
The claim, or case in another vertical, the asset belongs to.
notestringRequired
A note for the record.

Returns

The note, as a case event.

Errors

export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -X POST "$PROVENANCE_API/v1/attest/cases/CLM-SANDBOX-CLEAN/notes" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "note": "Called the policyholder to confirm the date of loss" }'

Response 200

{
  "id": "evt_01M6VQBD8YG5TD6R1PXD8KX9VF",
  "object": "case_event",
  "case_id": "case_01M6VQBD8T6EJ8D6BG27CNVNXT",
  "type": "note_added",
  "note": "Called the policyholder to confirm the date of loss",
  "actor_account_id": null,
  "created_at": "2026-11-07T19:21:47.038Z"
}

Retrieve a case

GET/v1/attest/cases/{claim_id}

Returns a case with its full history of assignments, transitions and notes.

Parameters

claim_idstringpathRequired
The claim, or case in another vertical, the asset belongs to.

Returns

The case and its history.

Errors

export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl "$PROVENANCE_API/v1/attest/cases/CLM-SANDBOX-FRAUD" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "id": "01M6VQBC6VQG94TH36D62YMH2D",
  "object": "case",
  "claim_id": "CLM-SANDBOX-FRAUD",
  "status": "escalated",
  "assignee_account_id": null,
  "risk_snapshot": 100,
  "overall_risk_score": 100,
  "asset_count": 2,
  "submitted_at": "2026-11-07T19:21:45.947Z",
  "opened_at": "2026-11-07T19:21:45.943Z",
  "updated_at": "2026-11-07T19:21:45.943Z",
  "events": [
    {
      "id": "evt_01M6VQBD7T8P119M08RKBP5Q59",
      "object": "case_event",
      "type": "explanation_rendered",
      "from_status": null,
      "to_status": null,
      "reason_code": null,
      "note": "template 2026-07-05.1",
      "actor_account_id": null,
      "created_at": "2026-11-07T19:21:47.002Z"
    }
  ]
}

Assign a case

POST/v1/attest/cases/{claim_id}/assign

Assigns a case to a reviewer.

Parameters

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
claim_idstringpathRequired
The claim, or case in another vertical, the asset belongs to.
assignee_account_idstringRequired
Who the case is assigned to.

Returns

The updated case. See the case summary object.

Errors

export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -X POST "$PROVENANCE_API/v1/attest/cases/CLM-SANDBOX-CLEAN/assign" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "assignee_account_id": "acct_000000000000000000000000000000c0" }'

Response 200

{
  "id": "case_01M6VQBD8T6EJ8D6BG27CNVNXT",
  "object": "case",
  "claim_id": "CLM-SANDBOX-CLEAN",
  "status": "new",
  "assignee_account_id": "acct_000000000000000000000000000000c0",
  "risk_snapshot": 0,
  "overall_risk_score": 0,
  "asset_count": 0,
  "submitted_at": null,
  "opened_at": "2026-11-07T19:21:47.034Z",
  "updated_at": "2026-11-07T19:21:47.036Z"
}

Change a case's status

POST/v1/attest/cases/{claim_id}/transition

Moves a case to a new status. Approving, denying or escalating needs a reason_code. The attest.case.status_changed webhook fires.

Parameters

Idempotency-Keystringheader
Retry a create safely: the same key + request returns the stored response (24 h, per caller).
claim_idstringpathRequired
The claim, or case in another vertical, the asset belongs to.
to_statusenumRequired
The status to move to. One of in_review, approved, denied, escalated, reopened.
reason_codeenum
A structured reason, from the fixed list. One of provenance_verified, risk_accepted, signature_invalid, suspected_fraud, insufficient_evidence, policyholder_withdrew, OTHER.
notestring
A note for the record.

Returns

The updated case. See the case summary object.

Errors

export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl -X POST "$PROVENANCE_API/v1/attest/cases/VER-SANDBOX-INSPECTION/transition" \
  -H "Authorization: Bearer $PROVENANCE_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "to_status": "in_review", "note": "Checking the inspector'\''s GPS" }'

Response 200

{
  "id": "case_01M6VQBD8TE75EGV1VQTB823HS",
  "object": "case",
  "claim_id": "VER-SANDBOX-INSPECTION",
  "status": "in_review",
  "assignee_account_id": null,
  "risk_snapshot": 0,
  "overall_risk_score": 0,
  "asset_count": 0,
  "submitted_at": null,
  "opened_at": "2026-11-07T19:21:47.034Z",
  "updated_at": "2026-11-07T19:21:47.037Z"
}

List cases

GET/v1/attest/cases

Lists your claims as cases for review, highest risk first by default. Filter by status or assignee.

Parameters

statusenumquery
The object's current status. One of new, in_review, approved, denied, escalated, reopened.
assigneestringquery
The assignee.
sortenumquery
risk (the default) or age. One of risk, age.
limitintegerquery
The most items to return, from 1 to 100. The default is 20.
cursorstringquery
The next_cursor from the previous page.

Returns

The cases, highest risk first.

Errors

export PROVENANCE_KEY=prv_test_full_K7mN3xQp9RbT2vWm8sYd4cFjLhXn6gAe
curl "$PROVENANCE_API/v1/attest/cases?status=escalated&limit=1" \
  -H "Authorization: Bearer $PROVENANCE_KEY"

Response 200

{
  "object": "list",
  "data": [
    {
      "id": "01M6VQBC6VQG94TH36D62YMH2D",
      "object": "case",
      "claim_id": "CLM-SANDBOX-FRAUD",
      "status": "escalated",
      "assignee_account_id": null,
      "risk_snapshot": 100,
      "overall_risk_score": 100,
      "asset_count": 2,
      "submitted_at": "2026-11-07T19:21:45.947Z",
      "opened_at": "2026-11-07T19:21:45.943Z",
      "updated_at": "2026-11-07T19:21:45.943Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

Was this page helpful? Send us feedback

LLM? Read llms.txt.