Stytch website screenshot

Stytch

Stytch is an authentication and identity infrastructure provider. Its Consumer and B2B APIs cover passwordless authentication (Magic Links, OTP, OAuth, WebAuthn / Passkeys, TOTP), enterprise SSO (SAML / OIDC) and SCIM, sessions, M2M client-credentials tokens, and Device Fingerprinting / fraud defense. Connected Apps lets a Stytch-secured product act as an OAuth 2.0 / OIDC Authorization Server for third-party integrations, desktop apps, AI agents, and MCP servers — a posture Stytch describes as "agent-ready". A separate Management API plus a Terraform provider handle workspace configuration as code.

3 APIs 15 Features
AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper Tools

APIs

Stytch Consumer Authentication API

Stytch's Consumer API for end-user authentication. Covers Magic Links, SMS / email / WhatsApp OTP, OAuth social login, Passwords, TOTP, WebAuthn / Passkeys, Crypto Wallets, Sess...

Stytch B2B Authentication API

Stytch's B2B API for multi-tenant SaaS authentication. Covers Organizations, Members, SSO (SAML and OIDC), Magic Links, OTP, OAuth, Discovery, Sessions, B2B RBAC, SCIM directory...

Stytch Management API

Stytch's Workspace Management API (management.stytch.com) for programmatic configuration — projects, environments, secrets, redirect URLs, allowed country codes, RBAC policies, ...

Collections

Arazzo Workflows

Stytch B2B Create Organization and Invite Member

Create a B2B organization and email a magic link invite to a new member.

ARAZZO

Stytch B2B Discovery Intermediate Session Exchange

Authenticate a discovery magic link, list discovered organizations, then exchange into one.

ARAZZO

Stytch B2B Email Magic Link Discovery and Organization Create

Send a discovery magic link, authenticate it, and create an organization from the intermediate session.

ARAZZO

Stytch B2B Email OTP Discovery and Exchange

Send a discovery email OTP, authenticate the code, then exchange into an organization.

ARAZZO

Stytch B2B Email OTP Login

Send an email OTP to an organization member and authenticate the code.

ARAZZO

Stytch B2B Organization Magic Link Login

Send an organization-scoped email magic link and authenticate the clicked token.

ARAZZO

Stytch B2B Create Organization and Member

Create a B2B organization, add a member to it, and read the member back.

ARAZZO

Stytch B2B Password Authenticate and Session

Authenticate a member's organization password, then validate the resulting session.

ARAZZO

Stytch B2B Recovery Codes Get and Rotate

Read a member's MFA recovery codes, then rotate them to a fresh set.

ARAZZO

Stytch B2B SMS OTP Multi-Factor Authentication

Send an SMS OTP to a member and authenticate the code to complete MFA.

ARAZZO

Stytch B2B TOTP Authenticator Enrollment

Register a TOTP authenticator for a member and authenticate the first code.

ARAZZO

Stytch Create User and Send Email Magic Link

Create a Stytch user, send them an email magic link, and authenticate the resulting token.

ARAZZO

Stytch Crypto Wallet Authentication

Start a crypto wallet challenge and authenticate the signed message.

ARAZZO

Stytch Email One-Time Passcode Login

Send an email one-time passcode, authenticate the code, and read the session.

ARAZZO

Stytch Magic Link Login or Create

Send a login-or-create email magic link and authenticate the clicked token.

ARAZZO

Stytch OAuth Authenticate and Session

Authenticate an OAuth token returned from a provider redirect and read the session.

ARAZZO

Stytch Password Reset by Email

Start an email password reset, complete it with the token, and read the new session.

ARAZZO

Stytch Password Signup to Session

Create a password-based user, authenticate the credentials, and read the resulting session.

ARAZZO

Stytch Revoke a User's Connected App

List a user's connected apps and revoke the first authorized app's access.

ARAZZO

Stytch Session Authenticate and Revoke

Validate a session token, read the user's active sessions, then revoke the session.

ARAZZO

Stytch SMS One-Time Passcode Login

Send an SMS one-time passcode and authenticate the code the user enters.

ARAZZO

Stytch TOTP Authenticator Enrollment

Create a user, register a TOTP authenticator, and authenticate the first code.

ARAZZO

Stytch User Create, Search, and Delete

Create a user, find them again by email search, then delete the matched user.

ARAZZO

Stytch WhatsApp One-Time Passcode Login

Send a WhatsApp one-time passcode and authenticate the code the user enters.

ARAZZO

GraphQL

Stytch GraphQL Schema

Stytch is a REST-only authentication and identity platform. No public GraphQL API is offered. This directory contains a **conceptual GraphQL schema** (`stytch-schema.graphql`) d...

GRAPHQL

Pricing Plans

Stytch Plans Pricing

2 plans

PLANS

Rate Limits

Stytch Rate Limits

3 limits

RATE LIMITS

FinOps

Stytch Finops

FINOPS

Features

One integration for authentication, authorization, and security, making your app "enterprise-ready and agent-ready" (stytch.com)
Consumer Authentication API (Magic Links, OTP, OAuth, Passwords, TOTP, WebAuthn / Passkeys, Crypto Wallets, Sessions, Users)
B2B Authentication API (Organizations, Members, SSO SAML/OIDC, SCIM, Discovery, RBAC, Magic Links, OTP, OAuth, Sessions)
Connected Apps — turn your product into an OAuth 2.0 / OIDC Authorization Server for third-party integrations, AI agents, and MCP servers
MCP server demos (mcp-stytch-consumer-todo-list, stytch-connected-apps-b2b-demo, mcp-stytch-b2b-okr-manager) on the GitHub org
is-agent SDK for detecting AI agents / bots client-side
M2M client credentials with short-lived JWTs and secret rotation
Device Fingerprinting (DFP), verdict reasons, adaptive MFA, fraud rules
Workspace Management API (management.stytch.com) and Terraform provider for config-as-code
SDKs for Node, Python, Go, Ruby, Java/Kotlin, PHP, .NET, Rust, iOS, Android, Browser, Mobile
SAML Shield open-source library to harden SAML assertion validation
Pay-as-you-go pricing — $0 base, 10K MAUs + AI agents included, 5 SSO/SCIM included ($125/mo additional), 1K M2M tokens, 10K fingerprints free ($0.005 thereafter)
Enterprise tier — 99.99% SLA, HIPAA/BAA, dedicated Slack support, custom volume pricing
Webhooks for auth events
Default API rate limit ~100 req/sec/project

Semantic Vocabularies

Stytch Context

6 classes · 30 properties

JSON-LD

API Governance Rules

Stytch API Rules

14 rules · 4 errors 6 warnings

SPECTRAL

JSON Structure

Stytch Connected App Structure

4 properties

JSON STRUCTURE

Stytch Session Structure

8 properties

JSON STRUCTURE

Stytch Structure

0 properties

JSON STRUCTURE

Example Payloads

Resources

🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Arazzo
Arazzo
🔗
Website
Website
🔗
Documentation
Documentation
🔗
APIReference
APIReference
📝
Signup
Signup
🌐
Portal
Portal
🔑
Authentication
Authentication
🔗
Sessions
Sessions
🔗
ConnectedApps
ConnectedApps
🔗
MCPServer
MCPServer
🔗
AIAgentDetection
AIAgentDetection
📦
SDKs
SDKs
💰
Pricing
Pricing
📜
PrivacyPolicy
PrivacyPolicy
📜
TermsOfService
TermsOfService
🔗
Webhooks
Webhooks
👥
GitHubOrganization
GitHubOrganization
🔗
PostmanWorkspace
PostmanWorkspace
🔗
LinkedIn
LinkedIn
📦
Node.js SDK
Node.js SDK
📦
Python SDK
Python SDK
📦
Java SDK
Java SDK
📦
Go SDK
Go SDK
📦
Ruby SDK
Ruby SDK
📦
PHP SDK
PHP SDK
📦
.NET SDK
.NET SDK
📦
Rust SDK
Rust SDK
📦
iOS SDK
iOS SDK
📦
Android SDK
Android SDK
📦
Browser SDK
Browser SDK
📦
Mobile SDK
Mobile SDK
🔗
CLI
CLI
🔗
TerraformProvider
TerraformProvider
📦
ManagementSDK
ManagementSDK
🔗
OSS Library
OSS Library
🟢
StatusPage
StatusPage
📰
Blog
Blog
🔗
SpectralRules
SpectralRules
🔗
Vocabulary
Vocabulary
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONSchema
JSONSchema
🔗
JSONStructure
JSONStructure
🔗
JSONStructure
JSONStructure
🔗
JSONLDContext
JSONLDContext
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
💻
Examples
Examples
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: Stytch Management API
  version: 1.0.0
request:
  auth:
    type: basic
    username: '{{username}}'
    password: '{{password}}'
items:
- info:
    name: Application
    type: folder
  items:
  - info:
      name: Getall
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects
    docs: GetAll retrieves all projects in a workspace.
  - info:
      name: Create
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects
      body:
        type: json
        data: '{}'
    docs: Create creates a project, including both a live and test environment.
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug
      params:
      - name: project_slug
        value: ''
        type: path
    docs: Get retrieves a project.
  - info:
      name: Update
      type: http
    http:
      method: PATCH
      url: https://management.stytch.com/pwa/v3/projects/:project_slug
      params:
      - name: project_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Update updates the project.
  - info:
      name: Delete
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug
      params:
      - name: project_slug
        value: ''
        type: path
    docs: Delete deletes a project and all of its environments.
- info:
    name: Country Code Allowlist
    type: folder
  items:
  - info:
      name: Getallowedsmscountrycodes
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/allowed_country_codes/sms
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: GetAllowedSMSCountryCodes retrieves the allowed SMS country codes for an environment.
  - info:
      name: Setallowedsmscountrycodes
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/allowed_country_codes/sms
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: SetAllowedSMSCountryCodes sets the allowed SMS country codes for an environment.
  - info:
      name: Getallowedwhatsappcountrycodes
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/allowed_country_codes/whatsapp
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: GetAllowedWhatsAppCountryCodes retrieves the allowed WhatsApp country codes for an environment.
  - info:
      name: Setallowedwhatsappcountrycodes
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/allowed_country_codes/whatsapp
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: SetAllowedWhatsAppCountryCodes sets the allowed WhatsApp country codes for an environment.
- info:
    name: Email Template
    type: folder
  items:
  - info:
      name: Getall
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/email_templates
      params:
      - name: project_slug
        value: ''
        type: path
    docs: GetAll retrieves all email templates for a project.
  - info:
      name: Create
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/email_templates
      params:
      - name: project_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Create creates an email template for a project.
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/email_templates/:template_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: template_id
        value: ''
        type: path
    docs: Get retrieves an email template for a project.
  - info:
      name: Update
      type: http
    http:
      method: PUT
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/email_templates/:template_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: template_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Update updates an email template for a project.
  - info:
      name: Delete
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/email_templates/:template_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: template_id
        value: ''
        type: path
    docs: Delete deletes an email template for a project.
  - info:
      name: Getdefault
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/default_email_templates/:email_template_type
      params:
      - name: project_slug
        value: ''
        type: path
      - name: email_template_type
        value: ''
        type: path
    docs: GetDefault retrieves the default email template for a specific template type in a project.
  - info:
      name: Setdefault
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/default_email_templates/:email_template_type
      params:
      - name: project_slug
        value: ''
        type: path
      - name: email_template_type
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: SetDefault sets the default email template for a specific template type in a project.
  - info:
      name: Unsetdefault
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/default_email_templates/:email_template_type
      params:
      - name: project_slug
        value: ''
        type: path
      - name: email_template_type
        value: ''
        type: path
    docs: UnsetDefault removes the default email template for a specific template type in a project.
- info:
    name: Environment
    type: folder
  items:
  - info:
      name: Getall
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments
      params:
      - name: project_slug
        value: ''
        type: path
    docs: Retrieves all environments in a project.
  - info:
      name: Create
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments
      params:
      - name: project_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Creates a new environment in a project.
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: Retrieves an environment.
  - info:
      name: Update
      type: http
    http:
      method: PATCH
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Updates the environment.
  - info:
      name: Delete
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: Deletes an environment.
  - info:
      name: Getmetrics
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/metrics
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: Retrieves metrics for an environment.
- info:
    name: Event Log Streaming
    type: folder
  items:
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/event_log_streaming/:destination_type
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: destination_type
        value: ''
        type: path
    docs: Get retrieves an event log streaming config for an environment.
  - info:
      name: Update
      type: http
    http:
      method: PUT
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/event_log_streaming/:destination_type
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: destination_type
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Update updates an event log streaming config for an environment.
  - info:
      name: Delete
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/event_log_streaming/:destination_type
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: destination_type
        value: ''
        type: path
    docs: Delete deletes an event log streaming config for an environment.
  - info:
      name: Create
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/event_log_streaming
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Create creates an event log streaming config for an environment.
  - info:
      name: Enable
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/event_log_streaming/:destination_type/enable
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: destination_type
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Enable starts streaming event logs for an environment to a destination.
  - info:
      name: Disable
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/event_log_streaming/:destination_type/disable
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: destination_type
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Disable stops streaming event logs for an environment to a destination.
- info:
    name: Jwt Template
    type: folder
  items:
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/jwt_templates/:jwt_template_type
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: jwt_template_type
        value: ''
        type: path
    docs: Get retrieves a JWT template for a project
  - info:
      name: Set
      type: http
    http:
      method: PUT
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/jwt_templates/:jwt_template_type
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: jwt_template_type
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Set updates a specific JWT template for a project
- info:
    name: Password
    type: folder
  items:
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/password_strength_config
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: Get retrieves the password strength configuration for an environment.
  - info:
      name: Set
      type: http
    http:
      method: PUT
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/password_strength_config
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Set updates the password strength configuration for an environment.
- info:
    name: Public Token
    type: folder
  items:
  - info:
      name: Getall
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/public_tokens
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: GetAll retrieves all the active public tokens defined for an environment.
  - info:
      name: Create
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/public_tokens
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Create creates a new public token for an environment.
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/public_tokens/:public_token
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: public_token
        value: ''
        type: path
    docs: Get retrieves a public token for an environment.
  - info:
      name: Delete
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/public_tokens/:public_token
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: public_token
        value: ''
        type: path
    docs: Delete deletes a public token for an environment.
- info:
    name: Rbac
    type: folder
  items:
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/rbac_policy
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: Get retrieves the RBAC policy for an environment.
  - info:
      name: Set
      type: http
    http:
      method: PUT
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/rbac_policy
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Set updates the RBAC policy for an environment.
- info:
    name: Redirect Url
    type: folder
  items:
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/redirect_urls
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: url
        value: ''
        type: query
    docs: Get retrieves a redirect URL for an environment.
  - info:
      name: Create
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/redirect_urls
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Create creates a redirect URL for an environment.
  - info:
      name: Update
      type: http
    http:
      method: PUT
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/redirect_urls
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: url
        value: ''
        type: query
      body:
        type: json
        data: '{}'
    docs: Update updates the valid types for a redirect URL for an environment.
  - info:
      name: Delete
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/redirect_urls
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: url
        value: ''
        type: query
      - name: do_not_promote_defaults
        value: ''
        type: query
    docs: Delete deletes a redirect URL for an environment.
  - info:
      name: Getall
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/redirect_urls/all
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: GetAll retrieves all redirect URLs for an environment.
- info:
    name: Sdk
    type: folder
  items:
  - info:
      name: Getconsumerconfig
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/sdk/consumer
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: GetConsumerConfig retrieves the SDK configuration for a B2C project environment
  - info:
      name: Setconsumerconfig
      type: http
    http:
      method: PUT
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/sdk/consumer
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: SetConsumerConfig updates the SDK configuration for a B2C project environment
  - info:
      name: Getb2bconfig
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/sdk/b2b
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: GetB2BConfig retrieves the SDK configuration for a B2B project environment
  - info:
      name: Setb2bconfig
      type: http
    http:
      method: PUT
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/sdk/b2b
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: SetB2BConfig updates the SDK configuration for a B2B project environment
- info:
    name: Secret
    type: folder
  items:
  - info:
      name: Getall
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/secrets
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: GetAll retrieves all secrets for an environment.
  - info:
      name: Create
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/secrets
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Create creates a secret for an environment. The response contains the full secret value, which will not be exposed
      in future Get requests.
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/secrets/:secret_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: secret_id
        value: ''
        type: path
    docs: Get retrieves a secret for an environment.
  - info:
      name: Delete
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/secrets/:secret_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: secret_id
        value: ''
        type: path
    docs: Delete deletes a secret for an environment.
- info:
    name: Trusted Token Profile
    type: folder
  items:
  - info:
      name: Getall
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/trusted_token_profiles
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
    docs: GetAll retrieves all the trusted token profiles for an environment.
  - info:
      name: Create
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/trusted_token_profiles
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Create creates a trusted token profile for an environment.
  - info:
      name: Get
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/trusted_token_profiles/:profile_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: profile_id
        value: ''
        type: path
    docs: Get retrieves the trusted token profile for an environment.
  - info:
      name: Update
      type: http
    http:
      method: PATCH
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/trusted_token_profiles/:profile_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: profile_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: Update updates a trusted token profile for an environment.
  - info:
      name: Delete
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/trusted_token_profiles/:profile_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: profile_id
        value: ''
        type: path
    docs: Delete deletes a trusted token profile for an environment.
  - info:
      name: Createpemfile
      type: http
    http:
      method: POST
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/trusted_token_profiles/:profile_id/keys
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: profile_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
    docs: CreatePEM creates a PEM file for a trusted token profile for an environment.
  - info:
      name: Getpemfile
      type: http
    http:
      method: GET
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/trusted_token_profiles/:profile_id/keys/:pem_file_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: profile_id
        value: ''
        type: path
      - name: pem_file_id
        value: ''
        type: path
    docs: GetPEM retrieves a PEM file for a trusted token profile for an environment.
  - info:
      name: Deletepemfile
      type: http
    http:
      method: DELETE
      url: https://management.stytch.com/pwa/v3/projects/:project_slug/environments/:environment_slug/trusted_token_profiles/:profile_id/keys/:pem_file_id
      params:
      - name: project_slug
        value: ''
        type: path
      - name: environment_slug
        value: ''
        type: path
      - name: profile_id
        value: ''
        type: path
      - name: pem_file_id
        value: ''
        type: path
    docs: DeletePEM deletes a PEM file for a trusted token profile for an environment.
bundled: true