List documents

Retrieves a paginated list of documents accessible to the authenticated employee.

By default, only active (is_active=true), non-soft-deleted documents belonging to the employee's company are returned. Pass all=true to also include inactive documents. Soft-deleted documents are always excluded regardless of the all parameter.

Results are ordered by creation date descending (most recent first).

Query Params
integer
≥ 1
Defaults to 1

Page number for pagination. Starts at 1.

integer
1 to 25
Defaults to 25

Number of items per page. Maximum is 25.

boolean

When set to true, includes both active and inactive documents in the response. By default, only active documents are returned.

integer

Filter documents by the ID of the associated job. Returns only documents linked to the specified job.

string

Filter documents whose tags array contains this exact value.

related_to
array of strings
boolean

Filter for contract documents. When true, returns documents tagged Signed Contract or associated with a contract template.

boolean

Filter for pre-contract documents. When true, returns documents tagged Pre-Contracts or associated with a pre-contract template.

string

Case-insensitive substring search on the document name field. Only the document name is searched; tags and other fields are not included in the search.

integer

Filter documents by the ID of an associated document template. Matches against both legacy DocTemplate (v1) foreign key and LightDocTemplate (v2) references.

Responses

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json