# Easiest method to filter users from managment api to only those registered with a specific client\_id/auth0 app

**URL:** <https://community.auth0.com/t/easiest-method-to-filter-users-from-managment-api-to-only-those-registered-with-a-specific-client-id-auth0-app/101762>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [March 3, 2023, 4:24pm UTC](https://community.auth0.com/t/easiest-method-to-filter-users-from-managment-api-to-only-those-registered-with-a-specific-client-id-auth0-app/101762 "2023-03-03T16:24:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![josiah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/josiah/32/45105_2.png) [@josiah](https://community.auth0.com/u/josiah)\
**Post date:** [March 3, 2023, 4:24pm UTC](https://community.auth0.com/t/easiest-method-to-filter-users-from-managment-api-to-only-those-registered-with-a-specific-client-id-auth0-app/101762/1 "2023-03-03T16:24:48Z")

</div>

We are creating a custom user dashboard to manage users for our appliocation, and trying to find out if there is a simple method of retrieving only users who are connected to a specific auth0 application/client id, as we have several apps and would like our custom user admin dashboard to only display those connected to the specific application. I have gone through the documentation for the management-api and can’t seem to find anything related to this. Is there a way to implement this simply or does it require a complex work-around?

---

<div class="post-metadata">

**Author:** ![nathan.jenkins](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nathan.jenkins/32/44577_2.png) [@nathan.jenkins](https://community.auth0.com/u/nathan.jenkins)\
**Post date:** [March 5, 2023, 10:18am UTC](https://community.auth0.com/t/easiest-method-to-filter-users-from-managment-api-to-only-those-registered-with-a-specific-client-id-auth0-app/101762/2 "2023-03-05T10:18:20Z")

</div>

Hi @josiah, Welcome to the Auth0 Community!

You could look at utilizing the Management API [Get Grants endpoint](https://auth0.com/docs/api/management/v2#!/Grants/get_grants) to return users authorized for specific applications by providing the Client ID.  
I hope this information helps, thanks!

---

<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:** [March 19, 2023, 10:19am UTC](https://community.auth0.com/t/easiest-method-to-filter-users-from-managment-api-to-only-those-registered-with-a-specific-client-id-auth0-app/101762/3 "2023-03-19T10:19:03Z")

</div>

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