v15

latestOpenAPI 3.0.0MIT Licenseraw.githubusercontent.com2026-08-016088119.5 KB
user

Generate TOTP secret

Generate a Time-based One-Time Password (TOTP) secret for setting up multi-factor authentication

get/mfa/totp/generate

Response

TOTP secret successfully generated

imageUrlstring required

URL to QR code image for scanning with an authenticator app

totpSecretstring required

TOTP secret key for manual setup with an authenticator app

Example response

{
  "imageUrl": "data:image/png;base64,iVBORw0KGg...",
  "totpSecret": "ABCDEFGHIJK23456"
}