# Get 2FA QR code for TOTP setup **GET /2fa/qr-code** ## Servers - Local development server: http://localhost:8080 (Local development server) - Production server: https://middleware.example.com/api (Production server) ## Authentication methods - Bearer auth ## Parameters ## Responses ### 200 QR code image #### Body: application/json (object) - **qr_code** (string(byte)) Base64-encoded QR code image ### 401 Unauthorized [Powered by Bump.sh](https://bump.sh)