org
org:write
user
user:write

Update webhook endpoint

​
OAuth scopes
one of:
  • org
  • org:write
  • user
  • user:write

Path Parameters

  • Webhook endpoint ID

Body

required
application/json
  • The URL where webhook events will be sent (required by Svix API)

  • Optional description for the webhook endpoint

  • Whether to disable the endpoint

  • List of event types to subscribe to

Responses

  • application/vnd.lugg+json;version=2
  • application/vnd.lugg+json;version=2
  • application/vnd.lugg+json;version=2
  • application/vnd.lugg+json;version=2
Request Example for patch/webhooks/{id}
curl 'https://api.lugg.com/webhooks/{id}' \
  --request PATCH \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
  --data '{
  "url": "",
  "events": [
    "booking.created"
  ],
  "description": "",
  "disabled": true
}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "url": "https://example.com",
  "events": [
    "booking.created"
  ],
  "description": null,
  "channels": [
    "string"
  ],
  "disabled": true,
  "created_at": "2026-09-25T18:00:11.486Z"
}