Skip to main content
GET
List sessions
Every endpoint on this page requires either a Clerk-issued JWT (Authorization: Bearer <token>) or an organization API key (x-api-key: pk_…). Anonymous calls return 401 Unauthorized. See Authentication for the full setup.

Code examples

Sample response

Authorizations

x-api-key
string
header
required

Organization API key. Obtain from the dashboard. Format: pk_live_…

Query Parameters

page
integer
default:1
limit
integer
default:20
Required range: x <= 100
agentId
string<uuid>

Filter by agent.

state
enum<string>

Filter by session state.

Available options:
OPEN,
CLOSED
platform
enum<string>

Filter by originating platform.

Available options:
SDK,
WEB,
WHATSAPP,
VOICE

Response

Paginated list of sessions.

data
object[]
pagination
object