RUAL Documentation

GET /twofactorauth/qr

Generate QR code for setting up TOTP (Time-based One-Time Password) authentication

Generate QR code for setting up TOTP (Time-based One-Time Password) authentication
Key Type Example
authorization required string
"Bearer your-jwt-token"
{ "qr_code": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAA...", "secret": "JBSWY3DPEHPK3PXP", "manual_entry_key": "JBSW Y3DP EHPK 3PXP", "issuer": "YourApp", "account_name": "user@example.com" }
{ "success": false, "error": "HTTP_401", "message": "Error response" }
Error Code Description
HTTP_401 HTTP 401 error
permission description
BearerAuth JWT access token obtained from login endpoint required

Back to Two-Factor Authentication Return to the Two-Factor Authentication category to view other endpoints All API Categories Browse all available API categories