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
AuthorizationstringRequiredApiKey $ENTROVOX_KEY. Keys are issued per organization.Query parameters
lead_source_idstring or nullOptionallead_idstring or nullOptionaldirectionstring or nullOptionaldispositionstring or nullOptionalcall_outcomestring or nullOptionalrouting_modestring or nullOptionalFilter by inbound call routing mode: 'agent' or 'forward'.
One ofagentforward
date_fromstring or nullOptionaldate_tostring or nullOptionalmin_durationinteger or null, min 0Optionalmax_durationinteger or null, min 0OptionalReturns
200 OKSuccessful Response
avg_duration_secondsnumberMay be absentDefault 0
avg_transfer_duration_secondsnumberMay be absentDefault 0
connectedintegerMay be absentDefault 0
screener_blockedintegerMay be absentDefault 0
screener_passedintegerMay be absentDefault 0
totalintegerMay be absentDefault 0
transfersintegerMay be absentDefault 0
Errors
- 422
VALIDATION_ERRORA 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.