Receipts, from answer to proof
Every answer a person gives comes back to your agent with a signed receipt. When the Session ends, Sess signs one more receipt that covers them all. Anyone who holds a receipt can check it.
On this page
Check a receipt
Your agent checks a receipt with one API call. A person checks theirs at sess.si/verify. Both use the same public checker, and neither needs an account or a key.
| You hold | Call |
|---|---|
| The receipt for one answer, in its bundle | POST /v1/receipts/verify |
| A closing receipt, with the answers' receipts | POST /v1/receipts/verify-closing |
| A receipt record | POST /v1/receipts/verify-archival |
| A kept file or a receipt PDF | Open it at sess.si/verify. Verify makes these calls for you. |
The receipt for one answer
Send the bundle to POST /v1/receipts/verify. The response says whether the receipt is valid, and gives a reason when it is not.
To ask whether an app may act on a receipt now, use POST /v1/receipts/verify. To ask whether the record is genuine, before or after its expiry, use POST /v1/receipts/verify-authenticity.
A closing receipt
Send the closing receipt and the answers' receipts to POST /v1/receipts/verify-closing. The check looks nothing up and stores nothing.
The response has five parts.
| Field | What it tells you |
|---|---|
closing | Whether the closing receipt's own signature checks. |
set_match | Whether the receipts you sent are exactly the ones it signed, with both counts. |
independent_time | Whether timestamp evidence came with it. It is always missing, since this check takes none. |
completeness | The result, as one of the four values below. |
presentation | The same result in the form a person's page shows it. |
completeness | Meaning |
|---|---|
complete | The closing receipt checks, and the receipts sent are exactly the set it signed. |
failed | Something that was sent does not check. |
unsupported | The closing receipt uses a newer format than this checker reads. |
none | There was nothing to decide. |
curl -X POST "$SESS_API/v1/receipts/verify-closing" \
-H "Content-Type: application/json" \
-d '{
"closing_receipt": "<signed receipt>",
"rounds": [
{
"receipt": "<signed receipt>",
"revision_envelope": {
"sess_revision": 2,
"revision": 1,
"session_id": "<session id>",
"surface_hash": "<hash>",
"renderer_version": "<renderer version>",
"published_at": "2026-11-25T14:29:32.911Z",
"key_id": "<key id>",
"grant_id": null,
"agent_target": null,
"ask_id": null,
"titles": {
"nonce": "<nonce>",
"grant_title": null,
"target_title": null,
"owner_name": null
}
}
}
]
}'
HTTP/1.1 200 OK
{
"completeness": "complete",
"closing": { "status": "valid", "reason": "verified" },
"set_match": {
"status": "valid",
"reason": "matched",
"present": 1,
"signed_count": 1
},
"independent_time": {
"status": "missing",
"reason": "no_timestamp_evidence"
},
"presentation": {
"state": "complete",
"count": 1,
"anchored_at": null
}
}
See this call in the API reference.
A receipt record
A receipt record is the long-term record Sess keeps for one receipt. The API calls it an archival envelope. Send it to POST /v1/receipts/verify-archival.
The response reports each part of the check separately: signature, contents, context, witness, key trust and live expiry. A receipt record carries no answers, so contents is reported as unverifiable. To check the answers themselves, verify the bundle.
Every part's status but the witness's is valid, invalid, unsupported or unverifiable. The witness's status is witnessed, pending, indeterminate, invalid, unsupported or unverifiable. What the witness adds, and what each of its states means, is explained on the Security page.
Responses
| Status | Meaning |
|---|---|
200 | The check ran. The body says whether the evidence checks out. |
400 | The body is not JSON, or a closing check's body is not the shape it expects (INVALID_SCHEMA). |
413 | The body is too large (PAYLOAD_TOO_LARGE). |
429 | Too many checks. Try again after Retry-After (RATE_LIMITED). |
503 | The checker is unavailable, or the 2-second deadline passed (SERVICE_UNAVAILABLE). |
The three checks share one limit: 30 requests a minute for each client, and 600 a minute in total. Send a receipt in the request body, never in a URL.
The keys
Every check uses the keys Sess publishes, never keys sent with the evidence.
| Keys | Where |
|---|---|
| Receipt keys | GET /.well-known/sess-receipt-keys.json |
| Witness keys | GET /.well-known/sess-witness-keys.json |
curl "$SESS_API/.well-known/sess-receipt-keys.json"
HTTP/1.1 200 OK
{
"keys": [
{
"kty": "OKP",
"crv": "Ed25519",
"x": "<public key>",
"kid": "<key id>",
"alg": "EdDSA",
"use": "sig"
}
]
}
See this call in the API reference.
At sess.si/verify
Anyone who holds a receipt file can check it at sess.si/verify, with no account and no key.
Verify reads the file on the device it is opened on. Only each response's signed record is sent to Sess; nothing is stored.
What Sess signs
A receipt for each answer
When Sess accepts an answer, it signs a receipt for it, once. The receipt names the revision the person answered, the action they chose and a fingerprint of what they sent.
An answer is bound to the exact revision it answered. An answer to an older revision is refused, never applied.
When many people answer on one link, each person gets their own receipt.
A closing receipt when the Session ends
The closing receipt is one signed record of how the Session ended and of every accepted answer's receipt, in order.
Sess signs it when a Session ends with at least one accepted answer. That happens when your agent completes the Session, when its Ask completes it on the answer, or when its link expires for good. A Session that ends with no accepted answer has no closing receipt.
What "complete" means
A file is complete when it holds exactly the receipts the closing receipt signed: the same receipts, in the same order, none missing and none added.
| When | Verify and Your receipts show |
|---|---|
| The file is complete | "3 answers. Every recorded answer is included." |
| Every question and answer is also still in the file, and matches its receipt | "Every question and answer is included, as it was recorded." |
| The file does not hold that set | Unverified: "This file doesn't hold exactly the answers Sess signed when the exchange ended." |
The number counts answers, not questions. One answer can hold several fields.
How it works
The receipt for an answer is the receipt of its response.accepted Event: a compact JWS, type sess-receipt-2+jwt, whose claims include the revision and a hash of its content.
The closing receipt is a compact JWS signed with EdDSA, type sess-closing-receipt+jwt, with no expiry. It commits, in order, to the exact bytes of every accepted answer's receipt. It is signed once and never signed again.
A checker rebuilds the list from the receipts it is given. It never trusts a list in the file.
Get receipts from the API
Read the Session's events with GET /v1/sessions/{id}/events. Each accepted answer is a response.accepted Event that carries its receipt. Once the Session has ended with at least one accepted answer, the closing receipt comes with the events too.
curl "$SESS_API/v1/sessions/<session id>/events" \
-H "Authorization: Bearer $SESS_API_KEY"
HTTP/1.1 200 OK
{
"id": "<session id>",
"events": [
{
"event_id": "<event id>",
"sequence": 1,
"type": "response.accepted",
"revision": 1,
"actor": { "assurance": "link_holder" },
"action_id": "submit",
"data": { "send": true },
"created_at": "2026-11-25T14:29:32.937Z",
"receipt": "<signed receipt>",
"revision_envelope": {
"sess_revision": 2,
"revision": 1,
"session_id": "<session id>",
"surface_hash": "<hash>",
"renderer_version": "<renderer version>",
"published_at": "2026-11-25T14:29:32.911Z",
"key_id": "<key id>",
"grant_id": null,
"agent_target": null,
"ask_id": null,
"titles": {
"nonce": "<nonce>",
"grant_title": null,
"target_title": null,
"owner_name": null
}
}
},
{
"event_id": "<event id>",
"sequence": 2,
"type": "session.completed",
"revision": 1,
"actor": { "assurance": "owner" },
"created_at": "2026-11-25T14:29:32.959Z"
}
],
"closing": {
"typ": "sess-closing-receipt+jwt",
"closure_id": "<closure id>",
"cause": "completed_by_owner",
"terminal_event_id": "<event id>",
"accepted_rounds": 1,
"receipt": "<signed receipt>"
}
}
See this call in the API reference.
To hand one answer to someone else, export it as a bundle with GET /v1/sessions/{id}/events/{event_id}/bundle.
Sess offers receipts for as long as it keeps the Session. It cannot know whether your agent stored them, so keep your own copy. Webhooks do not carry the closing receipt.
How a person keeps theirs
On the page after they answer, the person can keep their receipt.
| Choice | What it does |
|---|---|
| Download | Saves the file to their device. It needs no account. |
| Save to Sess | Keeps a copy in their own Sess account, under Your receipts. They sign in with an email code; Sess does not verify who they are. |
Both keep working after the link closes, in the browser that answered, until the Session is removed or its link revoked.
A kept file that holds every answer also carries the closing receipt.
You cannot see that they saved a copy, and you cannot remove it. No deletion can recall a file already downloaded. See How saving works.
What a receipt proves, and what it doesn't
A receipt records what Sess accepted. A closing receipt covers one Session's accepted answers.
A receipt does not prove any of the following:
- that the person read every word or understood every field;
- that their device displayed the page correctly;
- that your agent, or any other system, then did the work.
Who answered is "someone with the link", not a verified identity. Names are set by whoever asked; Sess does not check who anyone is.
A closing receipt says nothing about pages nobody answered, answers that were refused, drafts, or whether anyone opened the link.
When many people answer on one link, each person's Session has its own closing receipt. None covers the group.