Stytch · Arazzo Workflow

Stytch Password Signup to Session

Version 1.0.0

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

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AuthenticationIdentityPasswordlessSecurityB2BConnected AppsMCPAI AgentsDeveloper ToolsArazzoWorkflows

Provider

stytch

Workflows

password-signup-session
Register an email/password user, authenticate, and read the session.
Creates a password user, authenticates the email and password to obtain a session token, then retrieves the active sessions for the user to verify the session was established.
3 steps inputs: email, password, session_duration_minutes outputs: sessionJwt, sessionToken, userId
1
createPassword
Create a new user with an email and password, returning the user_id and an initial session for the freshly registered account.
2
authenticatePassword
Authenticate the email and password pair to confirm the credentials and mint a session token and JWT.
3
getSession
Read the active sessions for the authenticated user to confirm the session is live.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Stytch Password Signup to Session
  summary: Create a password-based user, authenticate the credentials, and read the resulting session.
  description: >-
    A complete email-and-password onboarding flow for consumer apps. The
    workflow creates a new user with an email and password, then proves the
    credentials by authenticating them into a session, and finally reads the
    live session back by user_id to confirm it is active. Every step spells out
    its request inline so the flow can be read and executed without opening the
    underlying OpenAPI description. All calls authenticate with HTTP Basic auth
    using your Stytch project_id as the username and secret as the password.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-620.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-620.20
      capability_name: Identity & Access Management
      spec: stytch-session-api-openapi.yml
      confidence: 0.8
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: passwordApi
  url: ../openapi/stytch-password-api-openapi.yml
  type: openapi
- name: sessionApi
  url: ../openapi/stytch-session-api-openapi.yml
  type: openapi
workflows:
- workflowId: password-signup-session
  summary: Register an email/password user, authenticate, and read the session.
  description: >-
    Creates a password user, authenticates the email and password to obtain a
    session token, then retrieves the active sessions for the user to verify the
    session was established.
  inputs:
    type: object
    required:
    - email
    - password
    properties:
      email:
        type: string
        description: The email address to register the password user under.
      password:
        type: string
        description: The plaintext password to set for the new user.
      session_duration_minutes:
        type: integer
        description: Optional session lifetime in minutes for the authenticated session.
  steps:
  - stepId: createPassword
    description: >-
      Create a new user with an email and password, returning the user_id and an
      initial session for the freshly registered account.
    operationId: api_password_v1_Create
    requestBody:
      contentType: application/json
      payload:
        email: $inputs.email
        password: $inputs.password
        session_duration_minutes: $inputs.session_duration_minutes
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      userId: $response.body#/user_id
      sessionToken: $response.body#/session_token
  - stepId: authenticatePassword
    description: >-
      Authenticate the email and password pair to confirm the credentials and
      mint a session token and JWT.
    operationId: api_password_v1_Authenticate
    requestBody:
      contentType: application/json
      payload:
        email: $inputs.email
        password: $inputs.password
        session_duration_minutes: $inputs.session_duration_minutes
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      userId: $response.body#/user_id
      sessionToken: $response.body#/session_token
      sessionJwt: $response.body#/session_jwt
  - stepId: getSession
    description: >-
      Read the active sessions for the authenticated user to confirm the session
      is live.
    operationId: api_session_v1_Get
    parameters:
    - name: user_id
      in: query
      value: $steps.authenticatePassword.outputs.userId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      sessions: $response.body#/sessions
  outputs:
    userId: $steps.authenticatePassword.outputs.userId
    sessionToken: $steps.authenticatePassword.outputs.sessionToken
    sessionJwt: $steps.authenticatePassword.outputs.sessionJwt

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/stytch-password-signup-session-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.