v1

latestOpenAPI 3.1.02026-07-2616459400.5 KB
Auth

Verify TOTP code

Verify a TOTP code. Used for both setup confirmation (setup: true) and login verification. When setup: true, returns backup codes. During login, returns the full login response.

post/auth/2fa/verify

Request body

user_idinteger required
client_idinteger required
codestring required

6-digit TOTP code.

setupboolean

Set to true during initial 2FA setup confirmation.

Response

Verification successful.

OR

Example response

{
  "success": true
}