Webhooks API
Manage project webhooks with a project Sanctum token that has the admin ability. Dashboard UI: Webhooks.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /webhooks | List webhooks |
| POST | /webhooks | Create |
| GET | /webhooks/{uuid} | Get one |
| PUT | /webhooks/{uuid} | Update |
| DELETE | /webhooks/{uuid} | Delete |
| GET | /webhooks/{uuid}/logs | Delivery logs (paginate, page) |
Create body (summary)
name, url, events, sources; optional description, secret, payload (include content), status (enabled flag), collection_ids.
URLs must be HTTPS unless WEBHOOK_ALLOW_INSECURE_HTTP=true. Signed deliveries include timestamp and delivery_id.
Example
curl "https://your-domain.com/api/webhooks" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_PROJECT_TOKEN" \
-H "project-id: YOUR_PROJECT_UUID"MCP tools: list_webhooks, create_webhook, etc. (see MCP Server).