Skip to main content
GET
List all documents

Authorizations

Authorization
string
header
required

Default authentication mechanism

Query Parameters

cursor
string | null

A cursor for pagination. Pass the value returned from the previous response to get the next page.

Example:

"20"

sort
string[] | null

Sorting order as a tuple: [field, direction]. Example: ['name', 'asc'].

Required array length: 2 elements
Minimum string length: 1
pageSize
number

Number of documents to return per page.

Required range: 1 <= x <= 100
Example:

20

q
string | null

Search query string to filter documents by text.

Example:

"invoice"

tags
string[] | null

Array of tag IDs to filter documents by tags.

Example:
documentType
string[] | null

Filter documents by MCA document type. Supply one or more enum values to OR them together.

Example:

Response

200 - application/json

Retrieve a list of documents for the authenticated team.

Response containing a list of documents and pagination metadata.

meta
object
required

Pagination metadata for the documents list.

data
object[]
required

Array of document objects.