GET /receipts/{id}

Retrieve a public receipt. No authentication required.

Endpoint

http
GET https://api.doorwayagi.com/receipts/{id}

Receipts are public. No API key is required. Anyone with the receipt ID can verify the reasoning chain.

Response

json
{
  "id": "rcpt_def456",
  "session_id": "sess_abc123",
  "session_type": "reasoning",
  "chain_id": "ch_abc123",
  "chain_root": "0xabc...",
  "chain_length": 5,
  "verified": true,
  "pruv_id": "pruv_xyz789",
  "pdf_url": "https://receipts.doorwayagi.com/rcpt_def456.pdf",
  "badge_svg": "<svg>...</svg>",
  "created_at": "2026-01-15T11:45:00Z"
}

Verification

The verified field indicates whether the chain has been cryptographically verified by the pruv service. A verified receipt means every link in the chain — from root to the final turn — has been validated.

The pruv_id links to the external verification on the pruv network, providing independent third-party attestation.

Embedding receipts

Receipts can be embedded as SVG badges. Use the badge_svg field or link to the receipt page:

html
<a href="https://app.doorwayagi.com/receipts/rcpt_def456">
  <img src="https://receipts.doorwayagi.com/badge/rcpt_def456.svg"
       alt="Doorway Verified" />
</a>