<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007NbwKYCAZOkta Classic EngineAdministrationAnswered2024-03-25T20:38:24.000Z2022-01-13T20:46:01.000Z2022-01-14T14:55:07.000Z

17v0k (17v0k) asked a question.

API call to find user via primary or secondary email

I don't see this in the /Users API documentation.

 

I have users with 2-3 email addresses in Okta, and they I want to be able to call an API with any of these addresses and get back the user. Basically, I want the program I'm building to use the canonical address, without knowing it in advance.

 

Does the /Users query or filter function also return results for non-primary email fields?

 

If not, is there a recommended way to use REST API calls to get the information I want?

 

TIA


This question is closed.
Loading
API call to find user via primary or secondary email