/settings/api#webhooks) to receive real-time notifications when background /api/v1/runs jobs complete or fail.
Endpoint requirements
- HTTPS required: URLs must start with
https://, include a public hostname, and be500characters or fewer. - SSRF protection: Embedded credentials (
user:pass@), loopback addresses, private network ranges, and cloud metadata hosts are rejected at registration time. - Signing secret: Each endpoint receives a unique
whsec_...secret revealed once upon creation so your receiver can verify payload authenticity.
Subscribed events
Every delivery sends a
POST request with Content-Type: application/json; charset=utf-8 and these headers:
X-Enablement-Event— Event name (run.completedorrun.failed)X-Enablement-Delivery— Unique delivery identifier (deliv_...)X-Enablement-Signature— Signature header formatted ast=<unix_seconds>,v1=<hex_hmac_sha256>
Example payload
Verifying signatures
Compute the HMAC-SHA256 digest using your endpoint’swhsec_... secret over the UTF-8 signed string {timestamp}.{raw_body} (without re-formatting or re-serializing JSON), reject timestamps older than 300 seconds (5 minutes), and compare hex signatures in constant time.