---
title: "Check a CrawlCheck-Receipt header: a site sends the decision receipt digest it received (and ?host= its own host) and gets accept plus the checks behind it (host matches, not expired, decision allow or warn) and the full signed receipt. Receipts are held until a day after they expire"
method: GET
path: "/api/v1/decisions/{sha256}"
tags: ["Core"]
---

# Check a CrawlCheck-Receipt header: a site sends the decision receipt digest it received (and ?host= its own host) and gets accept plus the checks behind it (host matches, not expired, decision allow or warn) and the full signed receipt. Receipts are held until a day after they expire

`GET /api/v1/decisions/{sha256}`

## Request

- Base URL: `https://crawlcheck.io`
- URL: `https://crawlcheck.io/api/v1/decisions/{sha256}`
- Auth: none required

## Path parameters

- `sha256` string, required

## Query parameters

- `host` string

## Response `200`

crawlcheck-decision-check

- object, nullable
  - `kind` string, nullable
  - `v` number, nullable
  - `sha256` string, nullable
  - `found` boolean, nullable
  - `accept` boolean, nullable
  - `checks` object, nullable
    - `host_matches` boolean, nullable
    - `expired` boolean, nullable
    - `decision` string, nullable
    - `action` string, nullable
    - `agent` string, nullable
    - `expires_at` string, nullable
    - `decided_at` string, nullable
  - `reason` string, nullable
  - `receipt` object, nullable
    - `kind` string, nullable
    - `v` number, nullable
    - `domain` string, nullable
    - `action` string, nullable
    - `decision` string, nullable
    - `sha256` string, nullable
    - `signature` object, nullable
      - `alg` string, nullable
      - `kid` unknown
  - `verify` string, nullable
  - `spec` string, nullable

## Other responses

- `404`: no receipt with that digest is held

---

[API](https://skmtc.dev/crawlcheck/apis/crawlcheck-api.md) · [All operations](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlcheck/apis/crawlcheck-api/revisions/57acbd6d4489?raw)
