---
title: "ReceiptMyAction — record or inspect an action receipt"
method: POST
path: "/v1/receipts/record"
---

# ReceiptMyAction — record or inspect an action receipt

`POST /v1/receipts/record`

## Request

- Base URL: `https://api.scrubmytext.com`
- URL: `https://api.scrubmytext.com/v1/receipts/record`
- Auth: HTTP bearer

Records an immutable digest for a caller-asserted action outcome without storing the action or outcome payload. It is not legal or payment proof. Production.

## Request body

- object
  - `operation` 'record' | 'check', required
  - `receipt_id` string
  - `action_fingerprint` string: A lowercase SHA-256 digest, with an optional sha256: prefix.
  - `outcome_digest` string: A lowercase SHA-256 digest, with an optional sha256: prefix.
  - `outcome_status` 'succeeded' | 'failed' | 'partial'

## Response `200`

Receipt record or lookup

## Other responses

- `401`: Paid API key required
- `422`: Invalid operation-specific input

---

[API](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api.md) · [All operations](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/revisions/54ace36baccf?raw)
