
DavidR.32530 (Customer) asked a question.
Hello everyone,
Looking at the documentation of the API REST for authentication. There is a detail that called my attention. In the section of Multifactor Authentication Operations there is a method to enroll Email factor, but there is no method to verify en email factor. Is there any additional documentation to review in order to know how to verify an email factor?
The documentation we are reading is this: https://developer.okta.com/docs/reference/api/authn/*response-example-for-enroll-okta-email-factor
Thanks in advance for your help.

Hello
Thanks for posting.
Enroll Okta Email Factor
Enrolls a user with the Okta email Factor using the user's primary email address. An email message with an OTP is sent to the user during enrollment and must be activated by following the
next link relation to complete the enrollment process.
Please review these documents with all the necessary information and examples:
https://developer.okta.com/docs/reference/api/authn/#response-example-for-primary-authentication-with-public-application-factor-enroll
https://developer.okta.com/docs/reference/api/authn/#enroll-okta-email-factor
https://developer.okta.com/docs/reference/api/authn/#activate-call-factor-request-parameters
Let us know if this helps you.
Daniela Chavarria.
Okta Inc.
Thanks a lot Daniela for the documentation you shared. However I have already look into these documents and I understand these are used to activate/enroll a factor. But, what we want to do is to validate and challenge the user through email.
So we want to trigger Okta to send an OTP via email, and ask the user for the code he has received and then, send that code via API REST to Okta to confirm the MFA.
Kind regards,