---
title: "Place legal hold"
method: POST
path: "/documents/document-legal-hold"
tags: ["Document AI — DMS"]
---

# Place legal hold

`POST /documents/document-legal-hold`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/documents/document-legal-hold`
- Auth: HTTP bearer

Place a legal hold on a document to block deletion and certain lifecycle transitions until explicitly released. Requires a compliance or administrator role with legal-hold permission on the workspace.

## Request body

- object
  - `pofid` string, required: PaperOffice File ID
  - `reason` string, required: Reason for the legal hold (required, e.g. lawsuit, audit).
  - `reference` string: Optional reference (case ID, matter number).

## Response `200`

Success

- SuccessEnvelope: Success envelope. Payload fields are endpoint-specific (top-level fields, `result`/`job_result` for jobs, `data` on some account endpoints).
  - `status` 'success', required
  - `processing_time` union
    - string
    - number
  - `_billing` object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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