API to Send email verification code on email update

Our requirement - we have a .NET Web Api through which we need to send verification emails with verification code whenever user updates their email address (primary email address). Then the user needs to put in the verification code and email address should be verified. We did some analysis but, couldn’t find the correct OKTA API to achieve this functionality.

Is there APIs for this? If not, how can we achieve this?

Hi @anishaantony. I am not quite sure I understand the question correctly. If your application is triggering the email change, you can do that in the Okta API with an access token for the authenticated user at Email. Then you can send a verification email with this API endpoint: Email.

Tell me if we are heading in the right direction :slight_smile:

1 Like