Auth
Verify an MFA challenge
POST
/auth/factors/{factor_id}/verifyVerifies a TOTP, phone, or WebAuthn challenge and returns the elevated session.
Parameters
MFAVerifyParamsfactorIdstring- 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.