
v3k0m (v3k0m) asked a question.
My team is looking to support the following use case:
When we provision an account (with an email address), I want to trigger a user activation email template that includes a one time passcode (OTP) that the user must enter on a webpage in order to activate the account.
Is this possible?
It looks like this questions was asked over 2 years ago on this forum with subject line: "How to do email OTP verification on create user"
But wanted to determine if there had been any changes or updates with regard to this since.
Our Okta instance uses the Okta Identity Engine: Version 2024.03.0 E

@v3k0m (v3k0m) - You will want to look at the Users API documentation for creating a user.
https://developer.okta.com/docs/reference/api/users/#create-user
There are multiple different scenarios for creating a user and 2 of them provide an OTP email option. I definitely recommend testing in a controlled manner first to ensure it meets your needs.