List all documents
Retrieve a paginated list of all documents in your workspace.
Documents can be filtered and sorted. The response includes basic document information and metadata. Use the ‘getDocument’ endpoint to retrieve full document details including parties and fields.
Page-based pagination: page and perPage (max 100). The response carries total and totalPages.
Cursor pagination (recommended for sync): pass nextCursor from the previous response as cursor. Cursor pages are stable while documents change underneath, which page numbers are not. Requires orderBy createdAt or updatedAt (the default). page is ignored when cursor is set.
Incremental sync: filter with updatedAfter set to the newest updatedAt you have stored, order by updatedAt ascending, and walk the cursor until hasNextPage is false.
Authorizations
Personal API key, e.g. Authorization: Bearer sajn_sk_.... Not scope-limited — acts as the issuing user.
Headers
Bearer token for API authentication
Query Parameters
Response
Paginated list of documents
Paginated list of documents
Array of documents
Total number of documents matching the filters
Total number of pages available (page-based pagination)
Whether more documents exist after this page
Cursor for the next page, or null on the last page. Pass it as cursor on the next request.

