Webhooks
A webhook tells one of your tools (Slack, monitoring, your server) as soon as a publication, an incident or a playback error happens. Open Data and integrations > Webhooks.
Add a webhook
- Add a webhook: a name, your tool's https:// address, and the events to receive:
- Publications: a broadcast published, cancelled or stopped;
- Incidents: a screen incident opened or resolved;
- Playback: playback errors reported by a screen.
- Save: the signing secret is shown once. Copy, keep it in your tool, then I have copied the secret.
Internal or http addresses are refused.
Check it works
Test send sends a test event at once; the answer shows in green (success) or red. Each row shows the last delivery and its result, and the number of failures in a row. The Active, Suspended and Failing counters filter the list.
Deliveries and failures
In the ⋮ menu, Deliveries opens a side panel: each delivery, its status, the answer code and the reason of a failure. Filter on failures, then Replay one delivery or Replay the failures. A failed delivery is retried 4 times (after 1, 5, 15 and 60 minutes); after 20 failures in a row the webhook is suspended. Resume puts it back in service.
Edit, suspend, delete
In the ⋮ menu: Edit changes the name, the address or the events without losing the history (leave the address as it is to keep its hidden parameters); Regenerate the secret replaces the secret, the old one stops signing at once; Suspend stops the deliveries; Delete removes the webhook and its deliveries.
Verify the signature of deliveries
Each delivery carries three headers: Irsal-Event-Id (the same on every retry: ignore an id you already received), Irsal-Timestamp (seconds since 1970) and Irsal-Signature: v1=<signature>. The signature is the HMAC-SHA256, in hexadecimal, of the text timestamp.body (the timestamp, a dot, then the exact request body) keyed with your secret. Compute it again, compare, and refuse a delivery whose timestamp is more than 5 minutes old.