Stytch · Arazzo Workflow
Stytch Magic Link Login or Create
Version 1.0.0
Send a login-or-create email magic link and authenticate the clicked token.
View Spec
View on GitHub
AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper ToolsArazzoWorkflows
Provider
Workflows
magic-link-login-or-create
Email a login-or-create magic link, authenticate the token, and verify the session.
Dispatches an email magic link that logs in or creates the user, exchanges the clicked token for a session, then reads the active sessions for the user.
1
sendLoginOrCreate
api_magic_v1_magic_links_email_LoginOrCreate
Send an email magic link that logs in an existing user or creates a new one, returning whether the user was newly created.
2
authenticateMagicLink
api_magic_v1_Authenticate
Authenticate the magic link token captured from the clicked link to mint a session for the user.
3
getSession
api_session_v1_Get
Read the active sessions for the authenticated user to confirm the session is live.