
ZhenZ.41305 (Customer) asked a question.
Hello,
I am using Okta User API to filter a user by the profile.login attribute. I am trying to retrieve a user account where the account's login email contains a plus sign.
This call would find no user: /api/v1/users/?search=profile.login eq "user+1@domain.com"
This call can find user successfully: /api/v1/users/?search=profile.login eq "user@domain.com"
I have verified that both users are present in my organization with the correct login email; all other headers and call format are identical between two calls; my token has sufficient rights. Only difference is the email string.
I am aware that I can just directly retrieve a user by simply passing in the email in the URL as {id} , rather than pass it in as a parameter in search, as listed in https://developer.okta.com/docs/api/openapi/okta-management/management/tag/User/*tag/User/operation/getUser. In fact I can retrieve both users in this manner without issues.
However I have other search parameters as well. I am aware I can retrieve the user first and filter on my end, but I am wondering if this can be accomplished in a single Okta API call.
Thank you for the help in advance!

Hello @ZhenZ.41305 (Customer) , thank you for contacting Okta Community.
I've brought your question to the attention of some of our colleagues. It seems to be an encoding issue that should be easily fixed. For example, instead of "user+1@example.com" you could try "user%2B1@example.com".
You can read more about this operation here:
List all users operation
Regards.
--
Ask Us Anything about Okta FastPass - now thru December 11th