This article details how to activate the different verification methods for Okta Verify via API call.
- Okta Verify authentication method
- Okta Identity Engine (OIE)
- Postman
In order to use the various verification methods for the Okta Verify authenticator via API, a Postman environment is required (please see How to Integrate Postman with Okta, Postman Authenticators collection), and running the following call:
POST{{url}}/api/v1/authenticators/{{authenticatorId}}/methods/{(methodtype)}lifecycle/activate
Depending on the verification method targeted, the call will be:
- For FastPass - available for all platforms except Linux at the moment.
POST{{url}}/api/v1/authenticators/{{authenticatorId}}/methods/signed_nonce/lifecycle/activate - For One-time password (OTP) - available for Android and iOS.
POST{{url}}/api/v1/authenticators/{{authenticatorId}}/methods/push/lifecycle/activate
This could also be completed via a CURL command, as shown below:
curl -i -X POST \
'https://subdomain.okta.com(OR oktapreview.com)/api/v1/users/{userId}/factors/{factorId}/lifecycle/activate' \
-H 'Authorization: THE_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"passCode": "123456"
}'
