# Get organization members and their roles in Management API

**URL:** <https://community.auth0.com/t/get-organization-members-and-their-roles-in-management-api/108793>\
**Category:** Get Help\
**Tags:** management-api, roles\
**Created:** [June 7, 2023, 7:10pm UTC](https://community.auth0.com/t/get-organization-members-and-their-roles-in-management-api/108793 "2023-06-07T19:10:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johannes.degn](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/johannes.degn/32/47900_2.png) [@johannes.degn](https://community.auth0.com/u/johannes.degn)\
**Post date:** [June 7, 2023, 7:10pm UTC](https://community.auth0.com/t/get-organization-members-and-their-roles-in-management-api/108793/1 "2023-06-07T19:10:56Z")

</div>

Hey team,

I am trying to use the management api to get a list of members of an organization together with their roles. What is the best way to get this information.

I can easily list members of an organization but it seems like then I need to request the organization role for each member using [Auth0 Docs: API](https://auth0.com/docs/api/management/beta/v2/get-the-roles-assigned-to-an-organization-member)

Auth0 can’t want me to make a separate call for each organization member in order to get their role. What am I missing?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [June 30, 2023, 6:33pm UTC](https://community.auth0.com/t/get-organization-members-and-their-roles-in-management-api/108793/3 "2023-06-30T18:33:29Z")

</div>

Hi @johannes.degn,

Welcome to the Auth0 Community!

> [@johannes.degn](#):
>
> I can easily list members of an organization but it seems like then I need to request the organization role for each member using [Auth0 Docs: API](https://auth0.com/docs/api/management/beta/v2/get-the-roles-assigned-to-an-organization-member)

Hi @johannes.degn,

Welcome to the Auth0 Community!

> [@johannes.degn](#):
>
> I can easily list members of an organization, but it seems like I then need to request the organization role for each member using the [Auth0 Docs: API](https://auth0.com/docs/api/management/beta/v2/get-the-roles-assigned-to-an-organization-member).

Yes, that is correct! If you need to get a list of Organization members and their roles, you first need to make a call to the Management API’s [Get members who belong to an organization](https://auth0.com/docs/api/management/v2#!/Organizations/get_members) endpoint to obtain the list of Organization Members. Then, for each user, you can call the Management API’s [Get a user’s roles](https://auth0.com/docs/api/management/v2#!/Users/get_user_roles) endpoint.

I understand that this may not be the most efficient way to retrieve an organization member’s role, but currently, there isn’t a dedicated endpoint to do this.

If you have a moment, please take a second to upvote on the [Get organization role's users](https://community.auth0.com/t/get-organization-roles-users/72428) feedback request. We are always reviewing our feedback requests and prioritizing them based on the number of votes they receive.

Please let me know if there is anything else I can help you with.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [July 14, 2023, 6:33pm UTC](https://community.auth0.com/t/get-organization-members-and-their-roles-in-management-api/108793/4 "2023-07-14T18:33:54Z")

</div>

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