List Documents
GET /v1/office/documents
Returns a paginated list of documents in the workspace.
Query Parameters
Response
Get a Document
GET /v1/office/documents/{id}
Returns a single document by ID, including its content and permission settings.
Create a Document
POST /v1/office/documents
Request Body
201 Created
Update a Document
PATCH /v1/office/documents/{id}
Partial update — only fields provided are changed.
Request Body
Delete a Document
DELETE /v1/office/documents/{id}
Soft-deletes the document. Pass ?hard=true to permanently delete (irreversible).
Response — 204 No Content