---
title: "Create Webhook"
method: POST
path: "/api/v1/webhooks/projects/{project_id}/"
tags: ["webhooks"]
---

# Create Webhook

`POST /api/v1/webhooks/projects/{project_id}/`

Create a new webhook for a specific project

## Path parameters

- `project_id` string, required

## Request body

- object
  - `name` string, required — Name of the webhook
  - `url` string, required — URL endpoint for the webhook.
  - `event_types` string[], required — List of event types to subscribe to. Required: omitting this field does not fall back to a usable default.
  - `is_active` boolean — Whether the webhook is active
  - `project_id` string — Unique identifier of the project.

## Response `201`

Webhook created successfully

- object
  - `webhook_id` string
  - `name` string
  - `url` string
  - `event_types` string[]
  - `owner` string — Username of the webhook's owner.
  - `is_active` boolean
  - `project` string
  - `created_at` string, date-time
  - `updated_at` string, date-time

## Other responses

- `400` — Invalid request
- `403` — Unauthorized access

---

[API](https://skmtc.net/mem0/apis/mem0-api-docs.md) · [All operations](https://skmtc.net/mem0/apis/mem0-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mem0/mem0-api-docs/versions/c86fe9831e7e/schema)
