---
title: "Handle Stytch Webhook"
method: POST
path: "/webhooks/stytch"
---

# Handle Stytch Webhook

`POST /webhooks/stytch`

Webhook endpoint for handling Stytch events.
Processes user.created events to trigger user research.

## Request body

- StytchWebhookRequest — Stytch webhook payload with support for multiple formats
  - `event_id` string, required
  - `timestamp` string, required
  - `event_type` string, nullable
  - `data` object, nullable
  - `project_id` string, nullable
  - `action` string, nullable
  - `object_type` string, nullable
  - `source` string, nullable
  - `id` string, nullable
  - `user` StytchUser — User object in Stytch webhook payload
    - `user_id` string, nullable
    - `emails` StytchUserEmail[]
      - `email` string, required
      - `verified` boolean, nullable
      - `primary` boolean, nullable
    - `name` StytchUserName — Name object in Stytch user data
      - `first_name` string, nullable
      - `middle_name` string, nullable
      - `last_name` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/stardrift/apis/fastapi.md) · [All operations](https://skmtc.dev/stardrift/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/stardrift/fastapi/revisions/00746572572a/schema)
