Skip to content
Lira APILira API

Authentication

Confirm 2FA enrolment

post/auth/totp/confirm

Verify the first code to enable 2FA. Returns one-time backup codes.

Authorization

Bearer token in the Authorization header.

Body required

codestringrequired

6-digit code from your authenticator app

Response

backupCodesstring[]required

One-time backup codes, shown once