Download the Okta Verify Installer Programmatically
Last Updated:
Overview
Administrators may download the latest Okta Verify installer programmatically using the artifacts API endpoint to facilitate scripting and automation. Okta provides dynamic download endpoints that target the latest Generally Available (GA) and Early Access (EA) releases for Windows, and the latest GA release for macOS.
Applies To
- Okta Identity Engine (OIE)
- Okta Verify
- Multi-Factor Authentication (MFA)
- Application Programming Interface (API)
- Latest Version
- Download
Solution
How is the Okta Verify installer downloaded programmatically?
Call the artifact download endpoint using the GET method, replacing the <Okta Domain> parameter in the URL with the specific Okta domain for the organization.
- To download the Windows GA version, execute the following request:
GET https://<Okta Domain>.okta.com/api/v1/artifacts/WINDOWS_OKTA_VERIFY/download?releaseChannel=GA&packageType=EXE - To download the Windows EA version, execute the following request:
GET https://<Okta Domain>.okta.com/api/v1/artifacts/WINDOWS_OKTA_VERIFY/download?releaseChannel=EA&packageType=EXE - To download the macOS GA version, execute the following request:
GET https://okta.okta.com/api/v1/artifacts/OKTA_VERIFY_MACOS/download - To automate the download using cURL, enable redirects with the
-Lflag and specify an output file with-oby executing the following command:cURL -L "https://<Okta Domain>.okta.com/api/v1/artifacts/WINDOWS_OKTA_VERIFY/download?releaseChannel=GA&packageType=EXE" \ -o <filename>.exe
