Skip to main content

Get Document

Retrieve a document and all its blocks. Requires the documents:read role.

Request

Headers

HeaderRequiredDescription
X-API-KeyYesYour API key

Path Parameters

ParameterTypeDescription
document_idstringThe document ID

Example

Response

Status: 200 OK

Errors

CodeDescription
404Document not found
403Access denied (not the document owner)