Documentation navigation

Auth

Verify an MFA challenge

POST/auth/factors/{factor_id}/verify

Verifies a TOTP, phone, or WebAuthn challenge and returns the elevated session.

Parameters

MFAVerifyParams
factorIdstring
The enrolled factor ID.
challengeIdstring
The challenge ID.
code?string
Required by TOTP and phone verification.
webauthn.rpId?string
Required by WebAuthn verification.
webauthn.rpOrigins?string[]
Allowed WebAuthn origins.
webauthn.type?'create' | 'request'
WebAuthn ceremony type.
webauthn.credential_response?RegistrationCredential | AuthenticationCredential
Credential returned by the browser.

Returns