Retrieve All Calls

GET /stats/all-calls/

Use the GET /stats/all-calls/ endpoint to retrieve statistics for all calls, including metrics such as total call count, answered calls, missed calls, and other related data. This endpoint does not require any parameters.


Parameters

This endpoint does not accept any parameters.


Responses

200 OK

Description: The request was successful, and call statistics were returned.

Example Response:

{
  "total_calls": 1250,
  "answered_calls": 1125,
  "missed_calls": 125,
  "average_call_duration": "5m 30s",
  "peak_call_time": "2024-11-16T14:00:00Z"
}

Last updated