<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Activate Okta Verify Authentication Methods via API
Okta Identity Engine
Multi-Factor Authentication
Overview

This article details how to activate the different verification methods for Okta Verify via API call.

Applies To
  • Okta Verify authentication method
  • Okta Identity Engine (OIE)
  • Postman
Solution

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"
  }'

 

 

Related References

Loading
How to Activate Okta Verify Authentication Methods via API