Webhooks API
Grant: API_WEBHOOKS.
POST /v1/webhooks
Section titled “POST /v1/webhooks”{ "url": "https://ci.example.com/hooks/amendable", "events": ["push"], "active": true}201 includes secret once.
GET /v1/webhooks / GET /v1/webhooks/{id}
Section titled “GET /v1/webhooks / GET /v1/webhooks/{id}”List omits secrets.
DELETE /v1/webhooks/{id}
Section titled “DELETE /v1/webhooks/{id}”POST /v1/webhooks/{id}/ping
Section titled “POST /v1/webhooks/{id}/ping”202 { "event_id", "delivery_id" }. Force-delivers a ping to this hook.
GET /v1/webhooks/{id}/deliveries
Section titled “GET /v1/webhooks/{id}/deliveries”Query: limit (1-100, default 50), include_payload (bool).