Skip to main content
POST
Verify 2FA
This endpoint requires a valid Bearer token in the Authorization header.
Completes the two-factor authentication setup by verifying a TOTP code generated from the secret provided during Setup 2FA. Once verified, all future login attempts will require a TOTP code.

Request Body

string
required
Six-digit TOTP code from the authenticator app.

Example Request

Example Response (200)

Store the recovery codes securely. They can be used to regain access if the authenticator device is lost.

Error Responses

400 Invalid Code