Stytch · Arazzo Workflow
Stytch B2B Email OTP Discovery and Exchange
Version 1.0.0
Send a discovery email OTP, authenticate the code, then exchange into an organization.
View Spec
View on GitHub
AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper ToolsArazzoWorkflows
Provider
Workflows
email-otp-discovery
Send a discovery email OTP, authenticate the code, then exchange into an org.
Dispatches a discovery email OTP, exchanges the entered code for an intermediate session and discovered organizations, then exchanges into the chosen organization for a full member session.
1
sendDiscoveryOtp
api_b2b_otp_v1_b2b_otp_email_discovery_Send
Send a discovery email one-time passcode to the address so the user can begin the organization discovery flow.
2
authenticateDiscoveryOtp
api_b2b_otp_v1_b2b_otp_email_discovery_Authenticate
Authenticate the discovery passcode to obtain an intermediate session token and the organizations the email already belongs to.
3
exchangeIntoOrg
api_discovery_v1_discovery_intermediate_sessions_Exchange
Exchange the intermediate session token into the chosen organization to mint a full member session.