Count calls
How many of an agent’s calls match, in all and by status, type, ended reason, sentiment and outcome.
Takes the same filters as GET /v1/calls and counts every call that list would page through.
Each breakdown lists only the values some matching call holds, most calls first; a call with no
value for one, such as no sentiment yet, is in total_count but in none of that breakdown’s
entries. Counts of a busy agent with only status set can be up to 12 minutes old. Counts that
search transcripts answer 503 query_timeout when they match too much to read in time.
Query Parameters
Only calls in these statuses; repeat for several. Defaults to completed, ended, in_progress and in_warm_transfer.
Where a call is in its lifecycle, including the outcomes of pay-per-call transfers. Known values: completed, ended, in_progress, in_warm_transfer, queued, queueing, redial_scheduled, cancelled, dnc, failed, transferred_sold, transferred_not_sold, transferred_pending_sale, rev_share_pending_qualification, transferred_busy, transferred_no_answer, transferred_failed. More can be added, so handle values you don't recognize.
Response
Successful Response
How many of an agent's calls match the filters, in all and by value.

