---
title: "Publish Own Receipt"
method: POST
path: "/api/agent/receipts/{receipt_uuid}/publish"
tags: ["agent"]
---

# Publish Own Receipt

`POST /api/agent/receipts/{receipt_uuid}/publish`

## Request

- Base URL: `https://basisprotocol.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://basisprotocol.xyz/api/agent/receipts/{receipt_uuid}/publish`
- Auth: none declared

Let the asker publish their own receipt via the existing publish
flow. Ownership: the receipt's attested caller_hash must equal the
requesting caller's hash (same identity the answer was read under).

## Path parameters

- `receipt_uuid` string, required

## Request body

- PublishReceiptRequest
  - `answer` string, required
  - `citations` SnapshotCitation[]
    - `hash` string, required
    - `source` string, required
    - `methodology_version` string, nullable
  - `stale_disclosed` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/basisprotocol/apis/basis-protocol-api.md) · [All operations](https://skmtc.dev/basisprotocol/apis/basis-protocol-api/llms.txt) · [OpenAPI document](https://skmtc.dev/basisprotocol/apis/basis-protocol-api/revisions/c0067366b9c0?raw)
