provider Email POST /v1/b2b/otps/email/discovery/authenticate
@utdk/stytch /v1/b2b/otps/email/discovery/authenticate
Authenticate
Authenticates the OTP and returns an intermediate session token. Intermediate session tokens can be used for various Discovery login flows and are valid for 10 minutes.

Try it

Authentication
Configure credentials for Stytch API
apiB2bOtpV1B2bOtpEmailDiscoveryAuthenticate
POST/v1/b2b/otps/email/discovery/authenticate
Authenticates the OTP and returns an intermediate session token. Intermediate session tokens can be used for various Discovery login flows and are valid for 10 minutes.

Input

required

The email address of the Member.

required

The code to authenticate.

Configure credentials above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stytch from '@utdk/stytch';

await stytch.apiB2bOtpV1B2bOtpEmailDiscoveryAuthenticate()