Verify TOTP Enrollment
Confirms TOTP setup by validating a code from the authenticator app. Returns recovery codes on success.
Required scopes: auth:account:edit
Authorization
BearerAuth JWT access token for internal API access. Requires 'private' scope for most endpoints, 'admin' scope for administrative operations.
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
TOTP code from authenticator app to confirm setup
6 <= length <= 6Response Body
application/json
application/json
curl -X POST "https://auth.xeonr.io/xeonr.auth.private.v1.PasswordService/VerifyTotpEnrollment" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"recoveryCodes": [
"string"
]
}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}Verify Email POST
Verifies the email address using the token from the verification email. Returns an exchange code for the HandleLogin flow. **Authentication:** None required
Verify TOTP Login POST
Completes login by verifying the TOTP code or recovery code. Required when 2FA is enabled. **Authentication:** None required (challenge token required)