WebSocket for on-queue users

Hi all,

I'm looking for a way that I can receive a notification from the WebSocket service when users log into or out of a queue.
Previously, I've just polled regularly to this GET endpoint: /api/v2/routing/queues/{queueId}/users?expand=routingStatus%2Cpresence&presence=On%20Queue and that works ok, but I'm trying to move away from polling. Is there a WebSocket topic that will give me this information? I can't see anything that immediately suggests itself from the list of available topics.

If I understand your use case right, v2-routing-queues--id--users looks like the topic you are looking for.

Best

Thanks for the response, but that topic only sends a message when a user's queue membership is changed. I want to know when a user's routing status changes so I can be notified when someone goes from OFF_QUEUE to IDLE or INTERACTING etc.

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