---
title: "Create webhook endpoint"
method: POST
path: "/webhooks"
tags: ["Webhook Endpoints"]
---

# Create webhook endpoint

`POST /webhooks`

## Request body

- object
  - `url` string, uri, required — The URL where webhook events will be sent
  - `events` WebhookEventEnum[] — List of event types to subscribe to
  - `description` string — Optional description for the webhook endpoint

## Response `201`

Created

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

## Changes

- **2026-08-25** `be5636474c03` — 4 info
  - the security scope `org` was added to the endpoint's security scheme `OAuth2`
  - the security scope `org:write` was added to the endpoint's security scheme `OAuth2`
  - the security scope `user` was removed from the endpoint's security scheme `OAuth2`
  - the security scope `user:write` was removed from the endpoint's security scheme `OAuth2`
- **2026-08-15** `cdae4166b346` — 4 info
  - the security scope `org` was added to the endpoint's security scheme `OAuth2`
  - the security scope `org:write` was added to the endpoint's security scheme `OAuth2`
  - the security scope `user` was removed from the endpoint's security scheme `OAuth2`
  - the security scope `user:write` was removed from the endpoint's security scheme `OAuth2`

[Change history](https://skmtc.dev/lugg/apis/lugg-partner-api/changes/webhooks/post.md)

---

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