List documents
Returns document summaries with cursor-based pagination.
Two query modes:
- Company query — filter by
company_domainorcompany_idto get documents related to a specific company (both subject and connected docs). Returns a flat list with no pagination. Each document includes a top-levelrelationfield. - Global query — omit company filters to search across all documents. Requires a
created_atorupdated_atdate range of 14 days or less. Returns paginated results. Each document includes acompaniesarray with per-companyrelation.
Use doc_type to filter by one or more comma-separated internal document types, e.g. doc_type=interview,document.
Pagination: Use page_after / page_before cursors (document IDs) for forward and backward navigation. The special values Start and End are supported. Only applies to global queries.
Authorizations
Authenticate using one of two formats:
- Organization/user token:
Token <your-token> - Stytch JWT:
Bearer <your-jwt>
Query Parameters
Company domain to filter by (e.g. stripe.com).
Company ID to filter by.
ISO 8601 lower bound for created_at (inclusive).
ISO 8601 upper bound for created_at (inclusive).
Comma-separated internal document type filters (e.g. interview,document).
Cursor ID for forward pagination. Cannot combine with page_before.
Cursor ID for backward pagination. Cannot combine with page_after.
Items per page, 1-100. Default 30. Only for global queries.
ISO 8601 lower bound for updated_at (inclusive). Recommended for daily polling.
ISO 8601 upper bound for updated_at (inclusive). Recommended for daily polling.