B2B SMS OTP Multi-Factor Authentication
A 2-step recipe with Stytch. We can help you get access.
Recipe · 2 steps
B2B SMS OTP Multi-Factor Authentication
with Stytch · Identity & Access Management
Send an SMS OTP to a member and authenticate the code to finish MFA.
- Send a one-time passcode by SMS to the member's MFA phone number, enrolling the supplied number if provided.
- Authenticate the SMS one-time passcode the member entered to complete the MFA step and mint a member session.
What you'll need to have ready
- organization_id: The id of the organization the member belongs to.
- member_id: The id of the member completing MFA.
- mfa_phone_number: Optional E.164 phone number to enroll and send the passcode to.
- code: The one-time passcode the member received by SMS and entered.
- session_duration_minutes: Optional session lifetime in minutes for the member session.
For your developer
Arazzo workflow stytch:sms-otp-mfa, 2 operations: api_b2b_otp_v1_b2b_otp_sms_Send → api_b2b_otp_v1_b2b_otp_sms_Authenticate. Specs on APIs.io.