Call performance
Totals, connect rate, conversion, outcome and channel split, calls per hour and an agent leaderboard for the last 7, 30 or 90 days, with the range before it for comparison.
Totals, connect rate, conversion, outcome and channel split, calls per hour and an agent leaderboard for the last 7, 30 or 90 days, with the range before it for comparison.
X-API-Key<token>Create in the console: Settings → API & webhooks.
rangeDays?integerDays to cover, ending today: 7, 30 or 90 (any other value means 30).
3073090agentId?|Only calls of this agent.
channel?stringOnly calls of this channel.
"instant""bulk""inbound""browser"includeTests?IncludetestsAlso count test calls placed from the console. Default false.
falseOK
application/json- response
byChannel*Calls per channel: instant, bulk, inbound, browser, or unknown.
byHour*Calls per hour of day (0 to 23, report timezone); empty hours are left out.
byOutcome*Calls per outcome: qualified, interested, callback, not_interested, no_response, no_answer, busy, call_failed or voicemail.
funnel*includeTests*IncludetestsWhether test calls from the console are counted.
kpis*leaderboard*array<>Agents, most qualified calls first.
prior*rangeDays*RangedaysDays covered: 7, 30 or 90.
recent*success?Successtrue[key: string]?anycurl -X GET 'https://api.callmitra.ai/api/v1/calls/performance'{ "byChannel": { "bulk": 230, "inbound": 50, "instant": 140 }, "byHour": { "10": 64, "11": 88, "12": 71, "15": 90, "16": 107 }, "byOutcome": { "busy": 22, "call_failed": 40, "callback": 22, "interested": 41, "no_answer": 160, "not_interested": 95, "qualified": 40 }, "funnel": { "calls": 420, "connected": 260, "qualified": 81 }, "includeTests": false, "kpis": { "avgLengthSeconds": 83.5, "calls": 420, "connectRate": 0.62, "conversion": 0.31, "leads": 388, "minutesUsed": 512, "successRate": 0.58 }, "leaderboard": [ { "agentId": "4f6d2c1a-9b7e-4c3d-8a21-5e0f7b9c1d23", "calls": 300, "connected": 190, "minutes": 380, "name": "Priya", "qualified": 62 }, { "agentId": "7c2e9a10-3b4d-4e5f-8a6b-9c0d1e2f3a4b", "calls": 120, "connected": 70, "minutes": 132, "name": "Arjun", "qualified": 19 } ], "prior": { "calls": 365, "connectRate": 0.59, "conversion": 0.27 }, "rangeDays": 30, "recent": { "last24h": 26, "lastHour": 3, "today": 18 }, "success": true}Calls per day GET
Calls per calendar day for the last `days` days (India Standard Time): total, completed, failed, not answered and average length, plus totals. Days without calls are zeros.
Download a call recording GET
The call's audio (MP3, or WAV for a call that is still being converted). Check `hasRecording` on the call first.