Skip to main content

`POST /v1/mfa/verify`

POST 

/v1/mfa/verify

Behavior depends on the request:

  • factor_id present → enrollment verification: confirm the pending

factor, set status=active, set mfa_enabled=true on the user, clear secret_preview.

  • pending_token_id present → sign-in MFA verification: look up the

user's active TOTP factor, verify the code, and activate the pending session.

Verify it.

verify a TOTP code.

Request​

Responses​

Code verified: factor activated or pending sign-in session activated