When MFA is required
MFA can be enforced at the organization level using themfa_policy setting:
REQUIRED_FOR_ALL- All members must complete MFA after primary authenticationOPTIONAL- Members can optionally enroll in MFA for their account
member_authenticated: false and an intermediate_session_token. The member must complete an MFA challenge before receiving a full session.
Organizations can also restrict which MFA methods are allowed using mfa_methods and allowed_mfa_methods settings. See the Update Organization endpoint for configuration details.
MFA authentication flow
- SMS OTP
- TOTP
Send a one-time passcode via SMS to the member’s enrolled phone number.Send SMS OTP:Authenticate OTP with the Authenticate SMS OTP endpoint:Returns a full session upon successful verification.
After a successful primary authentication (email magic link, SSO, etc.), an SMS OTP is automatically sent if the member has a phone number enrolled. This endpoint is primarily for resending OTPs.