SDK reference · Node SDK

prov.attest.claims.appealLink

prov.attest.claims.appealLink in Node SDK. Mint a signed, single-use, 7-day policyholder appeal link.

Signature

prov.attest.claims.appealLink(claimId: string): Promise<{ appealUrl: string; token: string; expiresAt: string }>

Parameters

claimIdstringRequired

Request fields

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

Promise<{ appealUrl: string; token: string; expiresAt: string }> The appeal link and when it expires.

HTTP operation

POST /v1/attest/claims/{id}/appeal_links: Create an appeal link

Errors

Example

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();

Was this page helpful? Send us feedback

LLM? Read llms.txt.