org
org:write
user
user:write
Create webhook endpoint
OAuth scopes
one of:
- org
- org:write
- user
- user:write
Body
required
application/json
- Type: stringFormat: uriurlrequired
The URL where webhook events will be sent
- Type: stringdescription
Optional description for the webhook endpoint
- Type: enumevents
List of event types to subscribe to
Responses
- application/vnd.lugg+json;version=2
- 400
Bad Request
- application/vnd.lugg+json;version=2
Request Example for post/webhooks
curl https://api.lugg.com/webhooks \
--request POST \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"url": "",
"events": [
"booking.created"
],
"description": ""
}'
{
"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:10.892Z"
}