provider B2B Magic Links POST
/v1/b2b/magic_links/email/login_or_signup @utdk/stytch
/v1/b2b/magic_links/email/login_or_signup Loginorsignup
Send either a login or signup magic link to a Member. A new, pending, or invited Member will receive a signup Email Magic Link. Members will have a `pending` status until they successfully authenticate. An active Member will receive a login Email Magic Link.
The magic link is valid for 60 minutes.
Try it
Authentication
Configure credentials for Stytch API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stytch from '@utdk/stytch';
await stytch.apiB2bMagicV1B2bMagicLinksEmailLoginorsignup()