---
title: "verify clearance"
method: POST
path: "/v1/clearances/verify"
tags: ["Platform"]
---

# verify clearance

`POST /v1/clearances/verify`

## Request

- Base URL: `https://www.rightshold.com`
- URL: `https://www.rightshold.com/v1/clearances/verify`
- Auth: none required

## Headers

- `X-Request-Id` string

## Request body

- object
  - `token` string, required
  - `destination` string
  - `purpose` 'read' | 'search_index' | 'crawl' | 'train' | 'transact' | 'post'

## Response `200`

OK

- object: Inferred from 8 recorded responses; required fields appeared in every one; additional properties may appear.
  - `valid` boolean, required
  - `cleared` boolean, required
  - `reasons` string[], required
  - `destination` string, required
  - `purpose` string, required
  - `paths` string[], required
  - `max_rps` integer, required
  - `agent` object, nullable, required
    - `number` string
    - `handle` string
    - `level` string
    - `status` string
  - `holder_key_jkt` string, required
  - `expires_at` string, required
  - `id` string, required
  - `offline` string, required
  - `next_action` object, required
    - `action` string, required
    - `label` string, required
    - `why` string, required
    - `needs` string, required
    - `tool` string

## 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
- `4XX`: {error, detail}

---

[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)
