---
title: "Check a Ledger Journal commitment: HMAC-SHA256(reveal_key, canonical record) against the published commitment"
method: POST
path: "/v1/journal/verify"
tags: ["Rights desk"]
---

# Check a Ledger Journal commitment: HMAC-SHA256(reveal_key, canonical record) against the published commitment

`POST /v1/journal/verify`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/journal/verify`
- Auth: one of:
  - none
  - HTTP bearer

## Headers

- `X-Request-Id` string

## Request body

- object
  - `serial` string, required
  - `record` object, required
  - `reveal_key` string, required

## Response `200`

OK

- object: Inferred from 3 recorded responses; required fields appeared in every one; additional properties may appear.
  - `serial` string, required
  - `matches` boolean, required
  - `commitment` string, required
  - `journal_root` string, required

## Other responses

- `400`: Problem details: a stable error code, type URI, title, status and an explanation
- `401`: Problem details: a stable error code, type URI, title, status and an explanation
- `404`: Problem details: a stable error code, type URI, title, status and an explanation
- `405`: Problem details: a stable error code, type URI, title, status and an explanation
- `422`: Problem details: a stable error code, type URI, title, status and an explanation
- `429`: Request budget exhausted; retry after Retry-After seconds
- `500`: Problem details: a stable error code, type URI, title, status and an explanation

---

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