Users
Get the QR code for the authenticated user's 2FA enrolment
Returns a fresh QR code the user can scan with their authenticator app to register the shared secret. The QR code is returned both as an otpauth:// URL and as an inline SVG ready for embedding in HTML.
get/user/two-factor-qr-code
Response
The QR code was successfully retrieved.
Example response
{
"url": "otpauth://totp/Trybe:jane@example.com?secret=JBSWY3DPEHPK3PXP&issuer=Trybe",
"svg": "<svg></svg>"
}Changes
No recorded changes to this endpoint across all 1 revision of this API.