Auth0 Home Blog Docs

Cannot search for an email containing a '+'

I am attempting to use the management API to search for a user and I am using the following command from Postman:
https://{{auth0_domain}}/api/v2/users? and I am getting an empty response.

When I use https://{{auth0_domain}}/api/v2/users?q=email=first.last* I am returned all of the users with each of various suffixes.

I have tried escaping the ‘+’ symbol with a backslash (+) and tried variations that use exact searches with quotation marks around the email address. Unfortunately, the wildcard version is not a good solution for me and I am hoping that I am missing something straightforward.

Anyone have any thoughts, solutions, or references?

Thank you.

You must url encode the + (and pretty much any text you put in the url).
The + should be a %2B


Thank you for your reply.

I am going to shake my head in shame after literally encoding everything but the “+” symbol.

Thanks again.