Sealed receipts and their artifacts.
GET /v1/messages/{trackId}/evidence
List the receipts sealed for a message
- Authentication: API key in the
Authorization: Bearer header
- Scopes: at least one of
evidence:read, messages:read
- operationId:
listMessageEvidence
Parameters
| Name | In | Type | Required | Description |
|---|
trackId | path | TrackId | Yes | Server-generated ULID that identifies a message. |
rcpt | query | RecipientId | No | Position of the recipient inside its message (r0, r1, ...). |
If-None-Match | header | string | No | ETag of a previous response; a match answers 304 without a body. |
Responses
| Code | Description | Schema |
|---|
200 | Receipts with their digests. Kept after the purge, when status is EXPIRED. | EvidenceList |
304 | Not modified since the ETag sent in If-None-Match. | — |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
404 | The resource does not exist or belongs to another tenant. | Problem |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | A dependency (storage, ledger, vault, renderer or mail service) is temporarily unavailable. Retry after the number of seconds in Retry-After when present. | Problem |
GET /v1/messages/{trackId}/recipients/{rcptId}/evidence/latest
Read or download the latest cumulative receipt of a recipient
Primary evidence endpoint for a recipient. Without format, returns the JSON
representation of the current head receipt (chainHeadEvidenceId), including
artifact links and chain position. With ?format=asice|xml|pdf|eml, redirects
(302) to a short-lived presigned URL (or answers 202 with Retry-After
while the container or lazy PDF is being rendered). The latest ASiC-E container
carries the cumulative root XML together with every earlier receipt XML in
previous/ (and the cumulative PDF when receipts.pdf.mode is EAGER).
- Authentication: API key in the
Authorization: Bearer header
- Scopes: at least one of
evidence:read, messages:read
- operationId:
getLatestRecipientEvidence
Parameters
| Name | In | Type | Required | Description |
|---|
trackId | path | TrackId | Yes | Server-generated ULID that identifies a message. |
rcptId | path | RecipientId | Yes | Position of the recipient inside its message (r0, r1, ...). |
format | query | EvidenceFormat | No | When given, redirect (302) to a presigned download URL for this artifact format instead of returning JSON. |
If-None-Match | header | string | No | ETag of a previous response; a match answers 304 without a body. |
Responses
| Code | Description | Schema |
|---|
200 | Metadata, links and chain position of the latest cumulative receipt. | Evidence |
202 | The requested artifact (format) is being generated or waits for its timestamp. Retry after Retry-After seconds. | object |
302 | Redirect to the requested artifact (format). | — |
304 | Not modified since the ETag sent in If-None-Match. | — |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
404 | The resource does not exist or belongs to another tenant. | Problem |
410 | Custody ended; only the digests remain. | EvidenceGone |
422 | The requested artifact format cannot be produced for this receipt. | Problem |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | Storage or the renderer is temporarily unavailable; Retry-After may be present. | Problem |
GET /v1/messages/{trackId}/recipients/{rcptId}/evidence
List the cumulative receipt chain of a recipient
Returns every receipt of the recipient ordered by position, including
receiptKey, digests, covers, coveredSeq and latest (true on the current
chain head). Downloading GET /v1/evidence/{evidenceId}/asice for an earlier
superseded receipt regenerates its container on demand from the locked XML files.
- Authentication: API key in the
Authorization: Bearer header
- Scopes: at least one of
evidence:read, messages:read
- operationId:
listRecipientEvidence
Parameters
| Name | In | Type | Required | Description |
|---|
trackId | path | TrackId | Yes | Server-generated ULID that identifies a message. |
rcptId | path | RecipientId | Yes | Position of the recipient inside its message (r0, r1, ...). |
If-None-Match | header | string | No | ETag of a previous response; a match answers 304 without a body. |
Responses
| Code | Description | Schema |
|---|
200 | Ordered receipt chain for the recipient. | EvidenceList |
304 | Not modified since the ETag sent in If-None-Match. | — |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
404 | The resource does not exist or belongs to another tenant. | Problem |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | A dependency (storage, ledger, vault, renderer or mail service) is temporarily unavailable. Retry after the number of seconds in Retry-After when present. | Problem |
GET /v1/messages/{trackId}/recipients/{rcptId}/mdn
List the inbound MDNs recorded for a recipient
Returns the authenticated Message Disposition Notifications (RFC 8098) received
for the recipient, including authentication strength (STRONG or WEAK) and
disposition metadata. The raw .eml is downloaded via GET /v1/mdn/{mdnId}/eml.
- Authentication: API key in the
Authorization: Bearer header
- Scopes: at least one of
evidence:read, messages:read
- operationId:
listRecipientMdn
Parameters
| Name | In | Type | Required | Description |
|---|
trackId | path | TrackId | Yes | Server-generated ULID that identifies a message. |
rcptId | path | RecipientId | Yes | Position of the recipient inside its message (r0, r1, ...). |
If-None-Match | header | string | No | ETag of a previous response; a match answers 304 without a body. |
Responses
| Code | Description | Schema |
|---|
200 | Inbound MDNs recorded for the recipient. | MdnList |
304 | Not modified since the ETag sent in If-None-Match. | — |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
404 | The resource does not exist or belongs to another tenant. | Problem |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | A dependency (storage, ledger, vault, renderer or mail service) is temporarily unavailable. Retry after the number of seconds in Retry-After when present. | Problem |
GET /v1/mdn/{mdnId}/eml
Download the raw .eml of an inbound MDN
Redirects (302) to a short-lived presigned URL for the stored .eml of an
inbound Message Disposition Notification. Answers 410 after the retention
period has elapsed.
- Authentication: API key in the
Authorization: Bearer header
- Scopes: at least one of
evidence:read, messages:read
- operationId:
downloadMdnEml
Parameters
| Name | In | Type | Required | Description |
|---|
mdnId | path | MdnId | Yes | Identifier of an inbound MDN recorded for a recipient. |
Responses
| Code | Description | Schema |
|---|
302 | Redirect to the raw MDN .eml. | — |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
404 | The resource does not exist or belongs to another tenant. | Problem |
410 | Custody ended; only the digests remain. | EvidenceGone |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | Evidence storage is temporarily unavailable; Retry-After may be present. | Problem |
Download one artifact of a receipt
Redirects to a short-lived presigned URL. A lazy PDF (and the ASiC-E container,
which embeds it) is generated on first request: the call waits a bounded time for
the render and, if it is not ready, answers 202 with Retry-After; repeat the
call after that many seconds. An ASiC-E container of a receipt whose timestamp is
still pending also answers 202. After the retention period the artifacts are gone
but their digests are still returned in the 410 body and in
GET /v1/messages/{trackId}/evidence.
- Authentication: API key in the
Authorization: Bearer header
- Scopes: at least one of
evidence:read, messages:read
- operationId:
downloadEvidence
Parameters
| Name | In | Type | Required | Description |
|---|
evidenceId | path | EvidenceId | Yes | Identifier of the receipt (evidenceId). |
format | path | EvidenceFormat | Yes | xml the signed evidence, pdf its human-readable rendition, eml the message as sent, asice the self-verifiable container with all of them. |
Responses
| Code | Description | Schema |
|---|
202 | The artifact is being generated (or waits for its timestamp). Retry after the number of seconds in Retry-After. | object |
302 | Redirect to the artifact. | — |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
404 | The resource does not exist or belongs to another tenant. | Problem |
410 | Custody ended; only the digests remain. | EvidenceGone |
422 | The artifact cannot be produced for this receipt (e.g. the container is disabled by configuration). | Problem |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | Storage or the renderer is temporarily unavailable; Retry-After may be present. | Problem |
POST /v1/evidence/{evidenceId}/legal-hold
Keep a receipt beyond its retention period
Places a legal hold on every artifact of the receipt. The purge skips it until
the hold is released. Requires retention.legalHold.enabled: when the plan of the
tenant disables it the call answers 403. Idempotent: repeating it answers 200 with
the current state; a new reason replaces the recorded one.
- Authentication: API key in the
Authorization: Bearer header
- Scopes: at least one of
evidence:write
- operationId:
placeLegalHold
Parameters
| Name | In | Type | Required | Description |
|---|
evidenceId | path | EvidenceId | Yes | Identifier of the receipt (evidenceId). |
Request body (application/json)
| Field | Type | Required | Description |
|---|
reason | string | No | Free text recorded in the audit trail. |
Responses
| Code | Description | Schema |
|---|
200 | The hold is in place. | Evidence |
400 | The request is malformed. The body is not valid JSON or not a JSON object, a field is invalid (errors lists each one), a header or query parameter is invalid, or the Content-Type is not application/json where a JSON body is expected (unsupported_media on the control plane). | Problem |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
404 | The resource does not exist or belongs to another tenant. | Problem |
410 | Already purged. | EvidenceGone |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | The ledger or the vault is temporarily unavailable; Retry-After may be present. | Problem |
DELETE /v1/evidence/{evidenceId}/legal-hold
Release the legal hold of a receipt
Clears the legal hold on every artifact of the receipt; the purge resumes at the
normal expiresAt. Releasing is allowed even when retention.legalHold.enabled was
switched off afterwards. Idempotent: releasing a receipt without a hold answers 200.
- Authentication: API key in the
Authorization: Bearer header
- Scopes: at least one of
evidence:write
- operationId:
releaseLegalHold
Parameters
| Name | In | Type | Required | Description |
|---|
evidenceId | path | EvidenceId | Yes | Identifier of the receipt (evidenceId). |
Responses
| Code | Description | Schema |
|---|
200 | The receipt has no legal hold. | Evidence |
401 | Missing or invalid API key. | Problem |
403 | The API key is not allowed to perform this operation. | Problem |
404 | The resource does not exist or belongs to another tenant. | Problem |
410 | Already purged. | EvidenceGone |
429 | Rate limit or quota exceeded. | Problem |
500 | Unexpected failure (internal_error). The request may be retried; keep the requestId when contacting support. | Problem |
503 | The ledger or the vault is temporarily unavailable; Retry-After may be present. | Problem |