---
title: "Create Webhook Endpoint"
method: POST
path: "/webhook_endpoints"
tags: ["webhook_endpoints"]
---

# Create Webhook Endpoint

`POST /webhook_endpoints`

Create a webhook endpoint to receive notifications about document status updates, connection sync progress, partition limits, and other tenant events.

## Request body

- CreateWebhookEndpointPayload
  - `name` string, required
  - `url` string, uri, required
  - `partition_pattern` string, nullable

## Response `201`

Successful Response

- WebhookEndpoint
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `name` string, required
  - `url` string, uri, required
  - `partition_pattern` string, nullable, required
  - `active` boolean, required
  - `secret` string, required

## Other responses

- `401` — Unauthorized
- `402` — Payment Required
- `422` — Validation Error
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.dev/ragie/apis/ragie-api.md) · [All operations](https://skmtc.dev/ragie/apis/ragie-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ragie/ragie-api/revisions/ffdf960539ca/schema)
