Skip to main content

GetCallStats retrieves aggregate call statistics.

GET 

/api/v1/voice/call-logs/stats

Returns summary statistics for calls in the specified period.

Parameters​

  • start_date: Optional, period start
  • end_date: Optional, period end
  • agent_id: Optional, filter by agent
  • queue_id: Optional, filter by queue

Response​

  • Total, inbound, outbound, internal call counts
  • Answered, missed, failed call counts
  • Average duration and talk time
  • Answer rate and total cost

Errors​

  • PERMISSION_DENIED: Caller lacks voice:cdr:read permission

Request​

Responses​

A successful response.