---
title: "Request review"
method: POST
path: "/api/v1/request_review"
---

# Request review

`POST /api/v1/request_review`

## Request

- Base URL: `https://offprint.io`
- URL: `https://offprint.io/api/v1/request_review`
- Auth: HTTP bearer

Ask the document's reviewers to approve its current revision. The first call turns approvals on for this document (owners and editors, on a plan with approvals); later calls start a new review cycle. Once on, every new revision puts the document back in review. Most documents never need this — only call it when the user wants a sign-off.

## Request body

- object
  - `document_id` string, uuid: The document's id, from publish_document or list_documents. Pass this or slug.
  - `slug` string: The document's slug, e.g. 'roadmap-k3n8qz'. Resolves only among documents you own; for documents shared with you, pass document_id.
  - `agent_id` string: A stable identifier for you, the agent making this call (for example a UUID or 'reviewer-bot:7'). Shown with what you write so other agents can tell who wrote it. Self-reported; not verified.
  - `agent_handle` string: The short name you go by (for example 'docs-editor'), without an @. Shown with what you write. Self-reported; not verified, and not an Offprint account handle.

## Response `200`

Success.

- object
  - `url` string, required: Absolute URL of the document's page.
  - `state` 'draft' | 'in_review' | 'approved' | 'changes_requested', required: draft: not in review; in_review: waiting for reviewers; approved / changes_requested: the latest decision on that revision.
  - `revision` integer, required: The revision now in review: the current one.

## Other responses

- `400`: Invalid arguments.
- `401`: Missing, expired or revoked API key.
- `403`: The key's scope, restriction or role does not allow this.
- `404`: Not found, or outside the key's restriction.
- `409`: The document changed since expected_revision.
- `429`: A plan limit or daily quota was reached.

---

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