# List users under a org\_id

**URL:** <https://community.auth0.com/t/list-users-under-a-org-id/135608>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [June 4, 2024, 1:31pm UTC](https://community.auth0.com/t/list-users-under-a-org-id/135608 "2024-06-04T13:31:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vinicius.valenca](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@vinicius.valenca](https://community.auth0.com/u/vinicius.valenca)\
**Post date:** [June 4, 2024, 1:31pm UTC](https://community.auth0.com/t/list-users-under-a-org-id/135608/1 "2024-06-04T13:31:21Z")

</div>

i want to retrive all users under a org\_id, i was able to get all users under the okta, but i cant find the org\_id field to filter.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 4, 2024, 3:01pm UTC](https://community.auth0.com/t/list-users-under-a-org-id/135608/3 "2024-06-04T15:01:47Z")

</div>

Hey there @vinicius.valenca welcome to the community!

You can retrieve all users for a specific `org_id` with the [/api/v2/organizations/{id}/members](https://auth0.com/docs/api/management/v2/organizations/get-members) of the Management API,

---

<div class="post-metadata">

**Author:** ![vinicius.valenca](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@vinicius.valenca](https://community.auth0.com/u/vinicius.valenca)\
**Post date:** [June 5, 2024, 11:59am UTC](https://community.auth0.com/t/list-users-under-a-org-id/135608/4 "2024-06-05T11:59:55Z")

</div>

how can i do that inside a spring project ? i need to use the managment auth0 api ?

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [June 5, 2024, 3:35pm UTC](https://community.auth0.com/t/list-users-under-a-org-id/135608/5 "2024-06-05T15:35:51Z")

</div>

That’s correct - There are several Management API SDK libraries to choose from to make this easier:

> **[Auth0 Libraries](https://auth0.com/docs/libraries#mgmt)**
>
> Auth0 Libraries and SDKs overview

---

<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:** [June 19, 2024, 3:36pm UTC](https://community.auth0.com/t/list-users-under-a-org-id/135608/6 "2024-06-19T15:36:05Z")

</div>

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