GET receipts/chain/export
GET /api/v1/receipts/chain/export
Exports the authenticated account’s receipt chain for local verification.
Authenticate with an API key or a portal session token.
Parameters
formatstring query
Responses
200 Successful response.
application/json ReceiptsChainManifest
chain_idstring requiredentriesarray of object requiredEach item:
canonical_sha256string requiredcreated_atstring (date-time) or null requiredjtistring requiredkidstring requiredprev_hashstring or null requiredseqinteger required
manifest_sha256string requiredmanifest_signatureOpenReceiptEnvelope required
Generated sample
{
"chain_id": "string",
"entries": [
{
"canonical_sha256": "string",
"created_at": "2026-01-01T00:00:00Z",
"jti": "string",
"kid": "string",
"prev_hash": "string",
"seq": 0
}
],
"manifest_sha256": "string",
"manifest_signature": {
"alg": "ecdsa-p256-sha256",
"chain": {
"chain_id": "string",
"prev_hash": "string",
"seq": 0
},
"claims": {
"egress_attestation": {
"attester": "desktop",
"attester_build_hash": "string",
"zero_payload_proof": {}
},
"routing_decision": {
"model": "string",
"provider_id": "string",
"provider_region": "string",
"reason": "user-selected"
},
"tokenisation": {
"detectors": [
{
"count": 0,
"fingerprint_hmac": "string",
"id": "string",
"version": "string"
}
],
"input_hash": "string",
"level": "tokenise-reversible",
"output_hash": "string",
"tokeniser_binary_hash": "string"
},
"x-cloakapi-detection": {
"basis": "client_declared",
"coverage": "rules_only",
"engine_identity": "not_declared"
}
},
"exp": 0,
"iat": 0,
"iss": "https://example.com",
"jti": "string",
"kid": "string",
"nbf": 0,
"sig": "string",
"sub": "string",
"v": "v1"
}
}401 Authentication is required or the supplied credentials are not accepted.
application/json Error
errorstring requiredmessagestring
403 The authenticated principal lacks the required permission.
application/json ReceiptsApiError
errorobject requiredcodestring requiredExample:"not_found"messagestring requiredExample:"The requested receipt was not found."
422 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
429 The request was rate limited. API-generated responses are JSON;
Response headers
Retry-Afterstring headerSeconds to wait before retrying, when provided.
X-RateLimit-Scopestring headerIdentifies the scope of the request limit, when provided.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.
text/html string
500 Error response.
application/json GenericError
erroranyOne of
- string
- object
Any keys are accepted.
error_codestringcodestringmessagestringdetailstringstatusanyOne of
- string
- integer
errorsobjectAny keys are accepted.