curl https://api.ravan.ai/api/v1/contacts/019d3a2b-5c6d-7e8f-9a0b-1c2d3e4f5a6b/calls/stats \ -H "X-Api-Key: YOUR_API_KEY"
{ "success": true, "message": "Call stats fetched successfully", "data": { "total_calls": 12, "total_duration_sec": 2730, "completed_pct": 83.3, "failed_pct": 8.3, "no_answer_pct": 8.3, "avg_duration_sec": 227, "last_call_at": "2026-03-22T10:30:00Z" } }
Retrieve aggregated call metrics for a contact — total calls, duration, and outcome percentages.
Contact ID
Successful response