Help and Documentation
Incident Configuration

Webhooks

4min

Payload

Each event payload is a JSON object with properties event and data objects. The event object holds the event, and the data property holds a representation of the resource at the time the event was issued.

Supported Events



incident.created incident.updated incident.mitigated incident.resolved incident.cancelled incident.deleted incident.scheduled.created incident.scheduled.updated incident.scheduled.in_progress incident.scheduled.completed incident.scheduled.deleted incident_post_mortem.created incident_post_mortem.updated incident_post_mortem.published incident_post_mortem.deleted alert.created pulse.created

Verifying Webhooks

Each webhook HTTP request includes a X-Rootly-Signature header, used to verify the request came from Rootly. The signature header contains a timestamp prefixed with t= and a signature prefixed with v= .

Text


To verify the request, concatenate the timestamp with the request body and generate a SHA256 HMAC digest using the webhook secret available in the webhook configuration. The HMAC digest should match the provided signature.

Ruby

Python

JS




Updated 01 Apr 2024
Doc contributor
Doc contributor
Did this page help you?