API Reference
List documents
All documents in the workspace, including those not linked to any contact or opportunity.
Authorization
x-api-key<token>Your tenant API key
In: header
Query Parameters
contact_idintegerOnly documents linked to this contact
opportunity_idintegerOnly documents attached to this opportunity
category_idintegerOnly documents in this category
qstringPartial match on the document name
includestringPass metadata to populate mime_type and size_bytes for documents that predate metadata capture. This costs one storage lookup per row, so list responses are slower.
Value in:
"metadata"per_pageintegerItems per page (1-100, default 15)
Default:
15Minimum: 1Maximum: 100pageintegerPage number
Default:
1Minimum: 1Paginated documents