Skip to main content
POST
Check whether a Stytch Magic Links or OAuth user is registered on Narrative

Body

application/json
stytch_token
object
required

The token Stytch put in the redirect URL after a Magic Links or OAuth sign-in. token_type says which product issued it.

session_duration_minutes
integer

The lifetime in minutes of the Stytch session to start. Stytch starts a session only when this is set, and the login and register endpoints need that session.

Response

OK

The example tokens are synthetic and cannot be used to authenticate.

status
enum<string>
required

complete when an active Narrative user is linked to the Stytch user or member, so the next call is login. pending when there is none yet, so the next call is register.

Available options:
complete,
pending
email
string
required

The verified email address Stytch has for the user or member.

stytch_session_token
string
required

The Stytch session token to pass to login or register.

stytch_session_jwt
string
required

The same Stytch session, as a JWT.