Skip to main content
GET
List documents
This endpoint always returns a documents collection.
  • Pass company_domain or company_id to list documents related to one company.
  • Omit company filters and provide a date range to list documents globally.
Company filters can reduce the result count, but they do not retrieve a single document or change the response into a detail object. To retrieve one document, use its slug with Get document detail.

Authorizations

Authorization
string
header
required

Authenticate using one of two formats:

  • Organization/user token: Token <your-token>
  • Stytch JWT: Bearer <your-jwt>

Query Parameters

company_domain
string

Company domain to filter by (e.g. stripe.com).

company_id
string

Company ID to filter by.

created_at_gte
string

ISO 8601 lower bound for created_at (inclusive).

created_at_lte
string

ISO 8601 upper bound for created_at (inclusive).

doc_type
string

Comma-separated internal document type filters (e.g. interview,document).

page_after
string

Cursor ID for forward pagination. Cannot combine with page_before.

page_before
string

Cursor ID for backward pagination. Cannot combine with page_after.

page_size
integer

Items per page, 1-100. Default 30. Only for global queries.

updated_at_gte
string

ISO 8601 lower bound for updated_at (inclusive). Recommended for daily polling.

updated_at_lte
string

ISO 8601 upper bound for updated_at (inclusive). Recommended for daily polling.

Response

documents
object[]
required
pagination
object

Only present in global queries. Null when no results.