API & Prompt
Add DashX MFA to your own applications — either call the Auth API directly, or redirect users to the hosted Universal Prompt.
Create an API key
- Go to Network → MFA → API & Prompt.
- Create an API key and copy it (store it securely — treat it like a password).
- Call the Auth API from your app to pre‑authorize a user, trigger a factor, and check the result. Revoke a key any time it's rotated or exposed.
Universal Prompt
Prefer not to build a UI? Redirect the user to the hosted prompt:
- Give your integration a name (e.g.
Intranet portal). - Send the user to the Universal Prompt URL (
/mfa/prompt/…); they complete MFA on the hosted page and are returned to your app with the result. - Copy the URL/details to drop into your integration.
note
The Universal Prompt is the fastest way to add MFA to a web app — no client code beyond a redirect. Use the Auth API when you need full control over the flow.