Get all documents with pagination

Returns a paginated list of documents for your app. The response excludes the document body
to keep the payload lightweight. Use the GET /documents/{id} endpoint to retrieve the full
document including the body.

Pagination

This endpoint uses cursor-based pagination:

  • per_page: Number of documents to return per page (default: 20, max: 100)
  • cursor: The cursor value from the previous response to fetch the next page

Example pagination flow:

  1. First request: GET /documents?per_page=20
  2. Response returns a cursor value (e.g., 12345) and 20 documents
  3. Next page: GET /documents?per_page=20&cursor=12345
  4. Continue until cursor is null (no more documents available)

Filtering

  • polymorphic_folder_id: Filter documents by folder (optional)

Response

Returns a paginated response containing:

  • documents: Array of simplified document objects without the body field
  • cursor: Next cursor value for pagination (null if no more documents)

Documents are ordered by document_id in descending order (newest first).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

Filter documents by folder. Use the numeric folder ID (e.g., '42') or your custom folder ID prefixed with 'cid:' (e.g., 'cid:fld_manuals')

integer
1 to 100

Number of documents per page (default: 20, max: 100)

integer

Document ID to start from (for pagination)

Responses

401

Authentication required

403

Permission denied

422

Invalid request parameters

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