
17v0k (17v0k) asked a question.
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

Hello @17v0k (17v0k)
Please check the following link : https://developer.okta.com/docs/reference/api/factors/
Also, feel free to post this question on our Okta Developer Forums: https://devforum.okta.com, and they should be able to help you with this.
Regards
Henry E.
Okta Inc