Docs
Live demo
POST/api/v2/auth/mfa/login/totp/enrollments

Issue a TOTP secret with QR code for the sign-in parked behind the enrollment prompt.

Responses

200

OK

MFATOTPEnrollmentResponse · 7 fields
enrollment_idstring · uuidrequired
secretstringrequired

Base32 secret for manual entry. Shown once.

uristringrequired

otpauth:// URI encoded in the QR code.

qr_code_data_urlstringrequired

PNG data URL of the QR code.

issuerstringrequired
accountstringrequired
expires_atstring · date-timerequired
429

Rate limited (request.rate_limited). Contended verification returns details.reason=mfa_verification_busy. Retry-After is the delay in seconds. Enrollment failures do not affect the identity lockout.

Common errors: 401 500 504. They mean the same for every operation, see Errors.

↑ ↓ to moveEnter to openEsc to close