Auth0 Home Blog Docs

Filter users by two criteria


I need to filter fetchUsers by two criteria, now I have such query api/v2/users?include_fields=false&${customer}$&search_engine=v2
if I want to add app_metadata.data2.example%3A${customer}$ do I need to make new query or I can somehow combine these into one query?


Hi @DonB,

The queries are just lucene so you can AND and OR subqueries. E.g., app_metadata.roles:customer AND email:**