03-13-2025 03:21 AM
I'm trying to query for all agents currently in 'wrapup' state.
I have made a query that doesn't include currentState equals wrapup to show you what my api response says when there actually is an agent in a wrapup state. I have attached the query and the response where it says 'currentState': 'wrapup' in the response.
However, if I then add in
Solved! Go to Solution.
03-13-2025 08:18 AM
03-13-2025 03:46 AM
Hey @maria-crowley , can you check if using wrap_up instead of wrapup gives the proper result? By checking the schema via Postman, I see wrap_up is a valid value, even though in your response I see that the naming convention is different.
03-13-2025 03:54 AM
Hi, I just tried that there and while it doesn't give me back a 400 bad request, I'm getting an empty response.
I attached my new query and response.
Even if I have an agent in the wrap up state currently and I run this new query I'm getting back an empty response.
03-13-2025 03:57 AM
To provide more context, overall I am trying to get the total number of agents who are unavailable.
So this has to include:
agents that are not set to available (this could be idle state)
agents that are not on a call
agents that are wrapping up a call.
03-13-2025 08:18 AM
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