Skip to main content
GET
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

limit
integer
default:20

Maximum number of calls to return (default: 20, max: 100)

Required range: 1 <= x <= 100
Example:

20

after
string

Cursor for pagination - use the nextCursor value from a previous response

Example:

"eyJzb3J0VmFsdWUiOiIyMDI1LTAxLTE1VDEwOjAwOjAwLjAwMDAwMFoiLCJpZCI6IjU1MGU4NDAwLWUyOWItNDFkNC1hNzE2LTQ0NjY1NTQ0MDAwMCJ9"

sortBy
enum<string>
default:createdAt

Field to sort by (default: createdAt)

Available options:
createdAt,
startedAt,
endedAt,
duration,
title,
status
Example:

"createdAt"

sortDirection
enum<string>
default:desc

Sort direction (default: desc)

Available options:
asc,
desc
Example:

"desc"

status
enum<string>

Filter by call status

Available options:
RINGING,
IN_PROGRESS,
ENDED
Example:

"ENDED"

searchText
string

Search text to filter calls by title, summary, or transcript

Example:

"billing inquiry"

simulationRunPlanJobId
string<uuid>

Filter by simulation run plan job ID to get all calls from a specific simulation batch

Example:

"550e8400-e29b-41d4-a716-446655440000"

Response

List of calls

data
CallResponse · object[]
required
pagination
object
required