Skip to content

Calls

Retrieve call statistics

GET/v1/calls/stats

Aggregate call statistics (total, connected, transfers, average durations, screener), computed over the full filtered set.

Accepts the same filters as GET /v1/calls, so the figures agree with the list.

On this page

Headers

AuthorizationstringRequired
ApiKey $ENTROVOX_KEY. Keys are issued per organization.

Query parameters

lead_source_idstring or nullOptional
lead_idstring or nullOptional
directionstring or nullOptional
dispositionstring or nullOptional
call_outcomestring or nullOptional
routing_modestring or nullOptional
Filter by inbound call routing mode: 'agent' or 'forward'.

One ofagentforward

date_fromstring or nullOptional
date_tostring or nullOptional
min_durationinteger or null, min 0Optional
max_durationinteger or null, min 0Optional

Returns

200 OKSuccessful Response

avg_duration_secondsnumberMay be absent

Default 0

avg_transfer_duration_secondsnumberMay be absent

Default 0

connectedintegerMay be absent

Default 0

screener_blockedintegerMay be absent

Default 0

screener_passedintegerMay be absent

Default 0

totalintegerMay be absent

Default 0

transfersintegerMay be absent

Default 0

Errors

  • 422VALIDATION_ERROR

    A field is missing or invalid, such as a bad E.164 phone or a missing external_id. param names the field.

    Retrying will fail the same way. Fix the request, or contact us.

Any request can also return AUTHENTICATION_REQUIRED, TOKEN_INVALID, API_KEY_EXPIRED, RATE_LIMIT_EXCEEDED or INTERNAL_ERROR.