Dispra Docs

Cloud

The webhook object

An HTTPS address that receives the project's events. Every delivery is signed with the project's webhook secret.

Attributes

  • whk string: The webhook's id. You choose it when you create the webhook.
  • url string: Where deliveries go. https only; private addresses are refused.
  • events array: The events it receives. Empty: every event.
  • enabled boolean: False pauses deliveries.
  • healthy boolean: False after several failed deliveries in a row.
  • delivered_pct_24h number: Share of deliveries answered 2xx in the last 24 hours.

Example

{
  "data": {
    "whk": "whk_01jdk5j2k4l6z8x0c2v4b6n8mq",
    "url": "https://hooks.acme.com/dispra",
    "events": ["deploy.succeeded", "deploy.failed"],
    "enabled": true,
    "healthy": true,
    "delivered_pct_24h": 100
  }
}

Endpoints