Skip to main content
PUT
Update a document

Authorizations

Authorization
string
header
required

Authorization: Bearer YOUR_API_KEY. /v2 accepts no other method.

Path Parameters

document_id
integer
required

Resolve one via GET /documents?search=.

Body

application/json
title
string
Required string length: 3 - 500
content
string | null
document_type
string
tags
string[]
Maximum array length: 50
status
enum<string>
Available options:
draft,
published,
archived

Response

OK

status
string
data
object

The published shape of a document. Fields are added over time and never removed — ignore any you do not recognise.