> ## Documentation Index
> Fetch the complete documentation index at: https://developers.circularo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Documents

A document is the central record of Circularo — a main file together with the metadata its metadata definition describes, optional attachments, and the workflow that moves it through its states. Create, read, edit and delete documents; sign, seal or annotate them; convert or merge their files; clone, rename or transfer them to a new owner; control who may read and edit them; and download their audit trail. Operations that change a document carry the version you last read, so a change made in the meantime is not silently overwritten.

## Endpoints

* `POST /documents` — Create a document
* `DELETE /documents` — Delete documents and folders
* `PUT /documents/annotate/{version}` — Annotate a document
* `POST /documents/bulk/create` — Create a document per file
* `POST /documents/clone` — Clone documents
* `PUT /documents/edit/{version}` — Edit a document
* `POST /documents/mget` — Resolve document titles in bulk
* `POST /documents/notify/owner` — Contact the owner of a document
* `PUT /documents/owner` — Transfer document ownership
* `POST /documents/preview` — Render HTML to a PDF preview
* `PUT /documents/rename` — Rename a document
* `PUT /documents/rights` — Change who may read and edit documents and folders
* `PUT /documents/seal/{version}` — Seal a document
* `PUT /documents/sign/finish/digest` — Finish two-step digest signing of a document
* `PUT /documents/sign/finish/file` — Finish two-step file signing of a document
* `PUT /documents/sign/{version}` — Sign a document
* `POST /documents/sign/{version}/start/digest` — Start two-step digest signing of a document
* `POST /documents/sign/{version}/start/file` — Start two-step file signing of a document
* `PUT /documents/star` — Star documents and folders
* `PUT /documents/subscribe` — Change document subscriptions
* `DELETE /documents/trash` — Empty the caller's trash
* `PUT /documents/unstar` — Unstar documents and folders
* `POST /documents/untrash` — Restore documents and folders from trash
* `GET /documents/{id}` — Retrieve a single document
* `GET /documents/{id}/audit` — Download the audit trail of a document
* `POST /documents/{id}/checkRights` — Check whether users can read a document
* `GET /documents/{id}/convert` — Check whether a document can be converted to PDF
* `POST /documents/{id}/convert` — Convert a document's main file to PDF
* `POST /documents/{id}/extract` — Analyze a document with a language model
* `PUT /documents/{id}/merge` — Join a document's files into one
* `PUT /documents/{id}/preview/{hash}` — Request the PDF preview of a document's file
* `GET /documents/{id}/submittedFiles` — Download a document's submitted files as a ZIP archive
* `GET /documents/{id}/version` — Get the current version of a document
* `PUT /documents/{version}` — Update a document and act on its workflow


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.