Skip to main content
New Participant
August 23, 2022
Solved

Is there an API to obtain call time and number of calls per user and queue?

Good day everyone, the project on which i'm working wants to create a simple metrics dashboard per user, the idea is to obtain the talk time coming from a specific queue per each user and also the talk time for all calls received by the same user.

I looked at the call logs endpoint and using the legs I can determine who was the user who answered the call from a queue. For the total talk time, i call the call logs but pointing to the user extension.

The thing is that the call logs endpoint has a small rate limit, and i wanted to know if there's a better approach to handle this requirement

PhongVu
PhongVuAnswer
Community Manager
August 24, 2022

Unfortunately, there is no API to obtain those call metrics. The Analytics API provides only aggregated data, and the Call Logs API is a call history which is not meant for detailed analytics.

If you are interested, you can implement your own app to calculate those metrics from real-time call data. Read this article to learn how to use the telephony session event notification to generate own call data.

1 reply

PhongVu
Community Manager
PhongVuAnswer
Community Manager
August 24, 2022

Unfortunately, there is no API to obtain those call metrics. The Analytics API provides only aggregated data, and the Call Logs API is a call history which is not meant for detailed analytics.

If you are interested, you can implement your own app to calculate those metrics from real-time call data. Read this article to learn how to use the telephony session event notification to generate own call data.