Skip to main content

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

  1. Go to Network → MFA → API & Prompt.
  2. Create an API key and copy it (store it securely — treat it like a password).
  3. 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:

  1. Give your integration a name (e.g. Intranet portal).
  2. 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.
  3. 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.