Skip to content
Lira APILira API

Authentication

Start 2FA enrolment

post/auth/totp/setup

Generate a TOTP secret and QR code to scan with an authenticator app.

Authorization

Bearer token in the Authorization header.

Body required

passwordstringrequired

Response

qrCodestringrequired

Data URL of a QR code to scan

manualKeystringrequired

Base32 secret for manual entry

otpauthUristringrequired

otpauth:// URI encoded in the QR