B2B Email OTP Login
A 2-step recipe with Stytch. We can help you get access.
Recipe · 2 steps
B2B Email OTP Login
with Stytch · Identity & Access Management
Send an organization email OTP and authenticate the code.
- Send a one-time passcode by email to the member, creating the member if no account exists yet in the organization.
- Authenticate the email one-time passcode the member entered to mint a member session.
What you'll need to have ready
- organization_id: The id of the organization the member belongs to.
- email_address: The member's email address to send the passcode to.
- code: The one-time passcode the member received by email and entered.
- session_duration_minutes: Optional session lifetime in minutes for the member session.
For your developer
Arazzo workflow stytch:email-otp-login, 2 operations: api_b2b_otp_v1_b2b_otp_email_LoginOrSignup → api_b2b_otp_v1_b2b_otp_email_Authenticate. Specs on APIs.io.