Skip to main content
GET
List call history

Authorizations

Authorization
string
header
required

API token (okt_...) or dashboard JWT

Headers

X-Request-ID
string

Correlation id, echoed in the response header and in requestId; generated when absent or unsafe.

Pattern: ^[\w.-]{1,128}$

Query Parameters

direction
enum<string>
Available options:
inbound,
outbound
sortOrder
enum<string>
Available options:
asc,
desc
source
enum<string>
Available options:
api,
crm_human,
crm_p2p,
campaign
status
string

Comma separated call statuses (max 20)

agentId
string
campaignUID
string
contactUID
string
phone
string
page
integer
Required range: x >= 1
pageSize
integer

Alias: limit. The server clamps the value.

Required range: x >= 1
limit
integer
Required range: x >= 1
from
string

YYYY-MM-DD or ISO 8601

to
string

YYYY-MM-DD or ISO 8601

Response

Success. The body has success: true, the route's legacy fields, and the additive requestId, timestamp and meta.

Additive envelope fields present on every migrated v1 success body. All fields the route returned before are still returned unchanged.

success
boolean
required

true on success. The webhook test delivery returns 200 with success: false when the receiver failed.

data
object[]
required
pagination
object
required

Legacy pagination object of calls, queue and events. Kept unchanged; meta mirrors it.

requestId
string

Same value as the X-Request-ID response header. Added to every JSON object success body.

timestamp
string<date-time>

Server time when the response was produced.

meta
object

Additive mirror of the legacy pagination object. Only the keys that the legacy object has are present. Responses without pagination have no meta.