Send Email Verification Code through Okta public API

Hi Team,

Am using Okta public Web API’s for the Login, MFA setup etc and am facing an issue with sending email verification code through Public API’s and achieving the same.

  1. Method I used for Enroll Email auth using API,
    https://{yourOktaDomain}/api/v1/users/{userId}/factors
  2. Method i used to Activate the same Email auth:
    User Factors

I made sure that Email auth MFA has been enrolled for the user, and not sure what method is used to send email to receive the verification code after the successful login after the user is enrolled. I can see the method for verify the email code (User Factors) but not able to find method to send the email to user to recieve the code

Can you please help me get the method (Public API) to send MFA challenge for Email to receive the verification code to the respective users.

@andrea - Can you please help on the same

Check out our docs for Verify a factor which mentions that before you can verify the factor with the received passCode that you need to make a request to the same endpoint (/api/v1/users/{userId}/factors/{factorId}/verify), but with an empty request body

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.