odimitr | 2023-03-29 14:39:33 UTC | #1
Is there a way to get the number of members in queue that are currently logged in via API? I am thinking to use /api/v2/routing/queues/{queueId}/members but when i filter with presence it seems that i have to put in the list any available presence except Offline to get the desired results.
Best Regards, Orestis.
Jerome.Saint-Marc | 2023-03-29 15:33:47 UTC | #2
Hello,
If you are only looking at numbers, the Queue Observations query is probably a better approach. It also takes into account the distinction between Member Users and Active Users.
Regards,
odimitr | 2023-03-30 07:13:46 UTC | #3
Hello,
Thank you for the API request proposed. It seems that there is no way to get the logged in agents. I just need the number of logged in agents no matter their presence or whether they are on queue or not.
I could use the proposed API one or multiple times, and maybe do the math to extract the desired metric.
Best Regards, Orestis.
Jerome.Saint-Marc | 2023-03-30 07:31:05 UTC | #4
Hello,
There is no concept of LoggedIn state vs LoggedOut state in Genesys Cloud. It comes back to user's presence. Offline - would correspond to LoggedOut Available/Busy/Away/... (all other presence status) - would correspond to LoggedIn.
Regards,
system | 2023-04-30 07:31:55 UTC | #5
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 19199