Legacy Dev Forum Posts

 View Only

Sign Up

How to retrieve Agent's Supervisor via API

  • 1.  How to retrieve Agent's Supervisor via API

    Posted 06-05-2025 18:18

    Hichem_Agrebi | 2020-11-30 09:15:10 UTC | #1

    The question is specific to WFM. Is there an API to get the Supervisor responsible for a specific agent inside a management Unit? All I was able to find was /api/v2/users/{userId}/superiors and there is no clear way to get the supervisor of a Division neither. I have seen that Genesys is developing the functionality of Teams https///genesyscloud.ideas.aha.io/ideas/CLPA-I-853 but unclear if we would get APIs to retrieve the supervisor of a team and if we may be able to have multiple team supervisors?

    Thanks


    anon11147534 | 2020-12-02 18:08:09 UTC | #2

    Hi,

    WFM doesn't keep track of that information. The Teams feature replicates supervisor functionality with a permission that allows a user to see/edit a certain Team. The only company hierarchy functionality available through the API at present is /api/v2/users/{userId}/superiors as you've pointed out.


    Hichem_Agrebi | 2020-12-02 18:32:42 UTC | #3

    Thanks a lot Ronan, how does WFM know what supervisor needs to validate shift trades or time off for a specific agent group compared to another group? Is it any superior as per API or how does it work? thanks


    system | 2021-01-02 18:32:43 UTC | #4

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


    This post was migrated from the old Developer Forum.

    ref: 9399