Stytch

api.stytch.com

Community

Stytch is a user authentication and identity platform. It lets you add passwordless login (magic links, OTPs), OAuth social logins, session management, and user CRUD to your application via simple API calls.

Auth

api_key

Pricing

free

Spec version

1.0

Base URL

https://api.stytch.com

Crawl failures

1

Last verified

2026-03-01 11:09:35

Health

Loading health data...

Capabilities

authenticate_magic_link

social

Verify a magic link token after the user clicks it. Returns a session token and user details on success.

Detail: https://api.stytch.com/capabilities/authenticate_magic_link

authenticate_otp

email

Verify a one-time passcode that was sent via SMS or email. Returns session credentials on success.

Detail: https://api.stytch.com/capabilities/authenticate_otp

authenticate_session

social

Validate and optionally extend an existing session using a session token or JWT.

Detail: https://api.stytch.com/capabilities/authenticate_session

create_user

email

Create a new user in your Stytch project with an email address and/or phone number.

Detail: https://api.stytch.com/capabilities/create_user

get_user

social

Retrieve a user's profile by their user ID, including emails, phone numbers, and authentication factors.

Detail: https://api.stytch.com/capabilities/get_user

revoke_session

social

Revoke an active session to log the user out. Accepts a session token, JWT, or user ID.

Detail: https://api.stytch.com/capabilities/revoke_session

send_magic_link

email

Send a magic link to a user's email address for passwordless authentication. The user clicks the link to log in.

Detail: https://api.stytch.com/capabilities/send_magic_link

send_otp_sms

communication

Send a one-time passcode via SMS to a phone number. The user enters the code to authenticate.

Detail: https://api.stytch.com/capabilities/send_otp_sms

Agent Preview

This is what an AI agent sees when it discovers this service via the Gateway:

Service: Stytch
Description: Stytch is a user authentication and identity platform. It lets you add passwordless login (magic links, OTPs), OAuth social logins, session management, and user CRUD to your application via simple API calls.
Auth: api_key
Capabilities:
  - authenticate_magic_link: Verify a magic link token after the user clicks it. Returns a session token and user details on success.
  - authenticate_otp: Verify a one-time passcode that was sent via SMS or email. Returns session credentials on success.
  - authenticate_session: Validate and optionally extend an existing session using a session token or JWT.
  - create_user: Create a new user in your Stytch project with an email address and/or phone number.
  - get_user: Retrieve a user's profile by their user ID, including emails, phone numbers, and authentication factors.
  - revoke_session: Revoke an active session to log the user out. Accepts a session token, JWT, or user ID.
  - send_magic_link: Send a magic link to a user's email address for passwordless authentication. The user clicks the link to log in.
  - send_otp_sms: Send a one-time passcode via SMS to a phone number. The user enters the code to authenticate.