Legacy Dev Forum Posts

 View Only

Sign Up

Team Lead - Not able to get data from API

  • 1.  Team Lead - Not able to get data from API

    Posted 06-05-2025 19:24

    clayIntradiem | 2023-10-11 17:42:31 UTC | #1

    Not able to get Team Lead data from API. The only data I am able to get back from the API calls is the Manager data. No other data such as Team Lead (which is what I need specifically), Direct Reports, Admin. Assistants, etc. that are under Relationships in the Person Details tab. Even the Deprecated API /api/v2/users/{userid}/profile. I see the other topics on Team Lead in this Forum, but there has been no response on a resolution. Please provide an API that will get this data for me. Thanks for your help.


    crespino | 2023-10-27 21:23:27 UTC | #2

    If you use the browser's developer tools to monitor the network traffic of Genesys Cloud, then you can see that it is calling:

    /api/v2/users/{id}/directreports /api/v2/users/{id}/superiors /api/v2/users/{id}/adjacents

    It uses those to build the hierarchical org chart that you see. I'm not aware that we have a specific "Team Lead" category.


    clayIntradiem | 2023-10-30 12:17:11 UTC | #3

    Crispino, In Genesys Cloud under Admin / People / Person Details / Relationships, there are several headings to choose besides "Team Lead". Data I am able to get is Manager & Direct Reports. I am not able to get the following data back from heading within Relationships: Team Lead, Administrative Assistants, Dotted Line, Mentor. The customer I am working with would like to use Team Lead for Agents in their organization as that agents Supervisor or Manager. Direct Reports will not work for them. I can explain why Direct Reports won't work if you would like. I know about the endpoints in your reply ( I have tried all endpoints ). I need to know if there is an endpoint that I can use that will return "Team Lead" Data. Send me your email address and I can send you an image of your Genesys Cloud for Team Lead entries. Thank you.


    system | 2023-11-30 12:17:58 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: 22486