Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  WFM Agent API missing

    Posted 3 hours ago

    Hi,

    I'm looking to retrieve the WFM agent configuration for a business unit-specifically, the planning groups they belong to.

    Based on the API calls I analyzed from the WFM page: Planning Groups > <My Planning Group> > Agents, the following API endpoint is used:
    /api/v2/workforcemanagement/managementunits/{managementUnitId}/agents

    This endpoint appears to allow retrieving, for all agents within a management unit, the agents including their skills and queues.

    Calls are of course made for each management unit within the business unit, and that approach works for me. The issue is that this API endpoint is not present in the documentation (nor in the SDK).

    Only the following endpoint seems to exist:
    /api/v2/workforcemanagement/managementunits/{managementUnitId}/agents/{agentId}
    However, it would require making one API call per agent.

    Could you please confirm whether this is a documentation mistake, or if there is a specific reason for it (for example an internal/restricted/non-public API)?

    In my view, having an endpoint to fetch all agents for a management unit in one go is necessary to make this task straightforward.

    Thank you in advance for your answers.

    Kind regards,


    #PlatformAPI
    #PlatformSDK

    ------------------------------
    Stéphane Labrune
    NA
    ------------------------------