05-30-2025 12:03 PM
Hi, new to the Contact Center environment. I'm looking for API endpoints to retrieve 1. Number of Calls in a Queue; 2. Longest Wait Time for the Day; 3. Current Estimated Wait Time.
Thanks much
LivPog
05-31-2025 01:26 AM
@LivPog
1. You might need access to the taskLegDetails for this. We have a sample for this here https://github.com/WebexSamples/webex-contact-center-api-samples/blob/main/reporting-samples/graphql-sample/taskLegDetails/Performing%20Aggregations/Interval%20timezone%20based%20aggregation%20query.graphql Note: The TaskLegDetails object is a part of Queue Based Reporting Early Access, you would need to request access to it via Developer Support.
TaskLegDetails
2. You could use the Search API with queue duration. A sample for that is here https://github.com/WebexSamples/webex-contact-center-api-samples/blob/main/reporting-samples/graphql-sample/taskDetails/Performing%20Aggregations/Group%20by%20aggregation%20query.graphql
3. https://developer.webex.com/webex-contact-center/docs/api/v1/estimated-wait-time/get-estimated-wait-time
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide
Log in to Community