Appearance
Verify 2FA login code
POST
/api/v1/auth/verify-2fa
Complete the second step of login by verifying a TOTP, email OTP, or backup code. Returns a full JWT access token on success.
Request Body
application/json
JSON "temp_token": "string", "code": "string"
{
}
Responses
Successful Response
application/json
JSON "access_token": "string", "token_type": "bearer", "two_factor_required": false, "two_factor_setup_required": false, "two_factor_method": "string", "temp_token": "string"
{
}