Calls
Retrieve call statistics by client ID
Retrieves calls from the database for a given client_id inside crm_data. Returns the number of calls, total duration, and breakdown of statuses (e.g., finished, unanswered, failed).
get/calls/client/{client_id}
Request
- Base URL: https://api.callbook.ai
- URL: https://api.callbook.ai/calls/client/{client_id}
- Auth: HTTP bearer
Path parameters
client_idstring required
Example:ac8238ec-1689-40d0-8bd8-18af6141f5f5
The unique client ID associated with the calls.
Response
Successfully retrieved call statistics.
Example response
{
"client_id": "ac8238ec-1689-40d0-8bd8-18af6141f5f5",
"total_calls": 5,
"total_duration": 350,
"status_counts": {
"finished": 3,
"unanswered": 1,
"failed": 1
}
}Changes
No recorded changes to this operation across all 1 revision of this API.