Legacy Dev Forum Posts

 View Only

Sign Up

Get agents in queue with a specific language

  • 1.  Get agents in queue with a specific language

    Posted 06-05-2025 19:07

    NicolasDaSilva | 2021-07-02 20:12:09 UTC | #1

    Hi,

    I'm trying to create a query to get the count of agents in queue with a specific language I have at the moment.

    I need it to use when I open a chat to check if there is any agent with the specific language in queue, to if not I'll send a message to send an email to us.


    anon11147534 | 2021-07-05 13:26:32 UTC | #2

    Hi,

    You can use GET /api/v2/routing/queues/{queueId}/members and filter by language to see what agents in the queue have a specific language.


    NicolasDaSilva | 2021-07-05 14:55:29 UTC | #3

    Hi Ronan.

    In this GET have a field to know if the agent is currently on queue?


    anon11147534 | 2021-07-05 16:54:41 UTC | #4

    You can set the expand value to routingStatus. The routingStatus will have possible values of OFFQUEUE, IDLE, INTERACTING, NOTRESPONDING, COMMUNICATING.


    system | 2021-08-04 16:46:26 UTC | #5

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


    This post was migrated from the old Developer Forum.

    ref: 11389