Genesys Cloud - Main

 View Only


Discussion Thread View
Expand all | Collapse all

Get a count of agents that are logged in (Not On Queue) with a skill and a Language Skill

  • 1.  Get a count of agents that are logged in (Not On Queue) with a skill and a Language Skill

    Posted 13 days ago

    Hi community,

    i have a requirement to get a count of agents logged into Genesys CX, Not On Queue, with a particular Skill and Language Skill.

    i have tried all the below but am not receiving accurate results:

    /api/v2/routing/queues/${input.QueueId}/users?skills=${input.SkillName}&languages=${input.Language}&routingStatus=${input.ROUTING_STATUS}&joined=true

    /api/v2/routing/queues/${input.QueueID}/users?presence=$esc.url('On Queue')


    #API/Integrations

    ------------------------------
    Reginald
    ------------------------------


  • 2.  RE: Get a count of agents that are logged in (Not On Queue) with a skill and a Language Skill
    Best Answer

    GENESYS
    Posted 13 days ago

    Hello Reginald, 

     

    You might have better luck using the /api/v2/routing/queues/{queueId}/members 

     

    Just sort by presence "Available" and any skills and languages you want. You will also need a queue id for this request. 

     

    /api/v2/routing/queues/{queueId}/members?expand=presence&presence=Available



    ------------------------------
    Cameron Tomlin
    Online Community Manager/Moderator
    Genesys - Employees
    DenverCO
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources