List Sessions
Sessions
List Sessions
List verification sessions with flexible filtering
GET
List Sessions
Documentation Index
Fetch the complete documentation index at: https://sc-docs.deepidv.com/llms.txt
Use this file to discover all available pages before exploring further.
Request
Headers
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
Query parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
limit | number | No | 50 | Number of sessions to return (1–500) |
next_token | string | No | — | Pagination token from a previous response |
start_date | string | No | — | Filter sessions created on or after this date (ISO 8601) |
end_date | string | No | — | Filter sessions created on or before this date (ISO 8601) |
by_organization | boolean | No | false | When true, returns all sessions for your organization instead of only those you created |
external_id | string | No | — | Filter sessions by your external reference ID |
workflow_id | string | No | — | Filter sessions by workflow ID |
Query modes are evaluated in priority order:
external_id > workflow_id > by_organization > default sender-based query.Example requests
List your sessions (default)
List all organization sessions
Filter by workflow ID
Filter by external ID
Response
200 — Success
| Field | Type | Description |
|---|---|---|
sessions | array | Array of session objects (see Retrieve Session for full field reference) |
next_token | string | null | Pagination token to fetch the next page. null when no more results |
The
user, sender_user, and resource_links fields are only returned when retrieving a single session by ID. List responses include the session_record fields only.Pagination
To fetch the next page of results, pass thenext_token from the response as a query parameter:
next_token is null.
Error responses
| Status | Description |
|---|---|
400 Bad Request | Invalid query parameters (e.g., limit out of range, invalid date format, invalid next_token) |
401 Unauthorized | Missing or invalid API key |
429 Too Many Requests | Rate limit exceeded |
