Calls

List calls with filters

get
/v1/{workspace_id}/calls/

Query call entities with date range, status, and duration filters.

Authorizations
AuthorizationstringRequired

API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.

Query parameters
date_fromany ofOptional

Start date (inclusive)

string · dateOptional
or
nullOptional
date_toany ofOptional

End date (inclusive)

string · dateOptional
or
nullOptional
statusany ofOptional

Filter by call status (completed, in_progress, escalated)

stringOptional
or
nullOptional
directionany ofOptional

Filter by direction (inbound, outbound)

stringOptional
or
nullOptional
min_durationany ofOptional

Minimum duration in seconds

integerOptional
or
nullOptional
max_durationany ofOptional

Maximum duration in seconds

integerOptional
or
nullOptional
limitinteger · min: 1 · max: 100OptionalDefault: 20
offsetintegerOptionalDefault: 0
Responses
chevron-right
200

Successful Response

application/json
totalintegerRequired
has_morebooleanRequired
get
/v1/{workspace_id}/calls/

Call volume per phone number

get
/v1/{workspace_id}/calls/phone-volume

Aggregated call counts and durations grouped by phone number.

Authorizations
AuthorizationstringRequired

API key issued via POST /v1/{workspace_id}/api-keys. Pass the returned api_key value as a Bearer token.

Query parameters
daysinteger · min: 1 · max: 90OptionalDefault: 30
Responses
chevron-right
200

Successful Response

application/json
phone_numberstringRequired
total_callsintegerRequired
inboundintegerRequired
outboundintegerRequired
avg_duration_secondsany ofRequired
numberOptional
or
nullOptional
get
/v1/{workspace_id}/calls/phone-volume

Last updated

Was this helpful?