Authentication API
Enroll MFA
Enroll in multi-factor authentication
POST
Enroll in multi-factor authentication (MFA) using TOTP (Time-based One-Time Password).
Headers
Bearer token (access token)
Response
TOTP secret key (for manual entry in authenticator apps)
QR code data URL (for scanning with authenticator apps)
One-time backup codes (save securely)
Next Steps
- Scan the QR code with an authenticator app (Google Authenticator, Authy, etc.)
- Verify MFA setup using MFA Verify
- Save backup codes in a secure location
Errors
Invalid or missing token
MFA already enrolled