
User16648134760526564552 (Customer) asked a question.
I want to know the API end points to send the okta verify enrollment setup link in email/SMS. Currently we are using users/{USERID}/factors API for enrollment with the below payload. But there is no way to send the setup link in Email/SMS.
{
"factorType":"push",
"provider":"OKTA"
}
I have asked the same question on developer portal: https://devforum.okta.com/t/api-to-send-okta-verify-enrollment-setup-links-to-email-sms/27264

Hi @User16648134760526564552 (Customer) , Thank you for reaching out to the Okta Community!
Once you send the Enrollment trigger as mentioned in the following: https://developer.okta.com/docs/reference/api/factors/#enroll-okta-verify-push-factor
you get a RESPONSE which includes the Email and SMS reference links (see example mentioned in the above link).
You then have to take one of the desired links and make another API POST call with the same headers but no body.
Example for Email:
POST: https://{yourOktaDomain}/api/v1/users/00u15s1KDETTQMQYABRL/factors/opfbtzzrjgwauUsxO0g4/lifecycle/activate/email
This will trigger an email to be sent to the user with the enrollment link.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--
Ask the Experts: Okta Device Access Product Team Now Thru 3/22