Genesys Cloud - Developer Community!

 View Only

Sign Up

API queue status members each call

  • 1.  API queue status members each call

    Posted 04-14-2025 04:57

    hi,

    I would like to know how I can use the api "/api/v2/routing/queues/{queueId}/members" to get the each status of the members with a data action.
    In a architect flow, with just one dataaction for each call, I woulkd like to update a participant data with that : 
    users On_queue : xx
    users Meal : xx
    users idle : xx
    users away : xx

    currently I have a action with /api/v2/routing/queues/${input.QueueId}/members?expand=presence&presence=On%20Queue&joined=true

    I need to optimise this action to get multiple status with one api call.

    to you think if ti's possible ? or a I need to create one action by status ?

    thanks for your help.


    #Architect
    #DataActions

    ------------------------------
    Arnaud
    ------------------------------