Skip to main content
GET
Queue counts

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

status
string

Comma separated, any of: scheduled, waiting, dialing, placed, failed, expired, cancelled

type
enum<string>
Available options:
scheduled,
deferred
agentId
string
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
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.