Update a document
Updated Dec 2, 2026
PUT
/documents/{document_id}A partial update — a field you omit keeps its stored value, and content: null clears it.
A version is recorded only when something actually changed, so a client that re-sends identical content does not grow the history. current_version and updated move only on a real change.
Authorization
AuthorizationstringHeaderrequiredBearer <token>Authorization: Bearer YOUR_API_KEY. /v2 accepts no other method.
Parameters
Path
document_idintegerrequiredResolve one via GET /documents?search=.
Request body required
application/jsontitlestringminLength: 3maxLength: 500contentstringnullabledocument_typestringtagsstring[]maxItems: 50statusenum<string>Allowed values
"draft""published""archived"Responses
OK
statusstringdataDocumentThe published shape of a document. Fields are added over time and never removed — ignore any you do not recognise.
