User presence and Routing status

I am getting the API for fetch the user presence and routing status based on User ID, can i get the same for all the users based on Queue or Organization level.

Hello,

You can use GET /api/v2/users (with presence and routingStatus in the expand query parameter) for all users.

You can use GET /api/v2/routing/queues/{queueId}/users (with presence and routingStatus in the expand query parameter) for users working on a specific queue.

Regards,

We want the API for getting the realtime user status and routing statistics, to send to NICE. thanks for the response

I don't think I understand.
If you mean that you would like to get real time notifications when different users change their presence or routing status, you have to use the Notification API and subscribe to the necessary/corresponding topics (you will need to create a websocket connection to receive these notifications).
See here for explanations on the Notification Service: https://developer.mypurecloud.com/api/rest/v2/notifications/notification_service.html
And here for the available topics: https://developer.mypurecloud.com/api/rest/v2/notifications/available_topics.html

Regards,

Thanks for the response, yes we need to send the real time statistics of the user information for NICE, biometrics.

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.