Auth0 DB search by user_metadata

Hi,
Is there any opportunity how to retrieve users from the auth0 DB filtered by the user_metadata parameter?

Hi @andriibutko welcome to the Auth0 Community! :star_struck: :tada:

You should be able to use this Management API endpoint to achieve this:

Here’s some documentation on the valid search fields, I believe there are some examples of how to target specific metadata values as well:

https://auth0.com/docs/users/user-search/user-search-query-syntax#searchable-fields

Let me know if this helps!

Best,
Colin

1 Like

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