Webhooks Integration
Integrate Cronitor with your system by registering a webhook URL for Cronitor to call when your monitors fail and recover.
Cronitor can send webhook alerts to any URL that can accept an HTTP POST
request. You can create routes within your own application, or register Cronitor as a webhook sender in connector systems like Zapier or IFTTT.
Webhook Fields
Webhooks include the following fields:
id
- string - The unique key for the monitor that generated the alertmonitor
- string - The name of the monitor that generated the alertdescription
- string - A description of the alerttype
- enumRECOVERY|ALERT
- Whether this is an alert or a recovery from a previous alertrule
- string - The specific assertion/rule violation that led to the alertenvironment
- string - The environment this alert was generated forgroup
- string - The name of the group this monitor belongs to, or nullissue_url
- url - A link to the issue detailsmonitor_url
- url - A link to the monitor details
Adding a Webhook
- From the Settings > Integrations page, click the Create Integration button and select Webhooks.
- Give the webhook a name. This will be used in the Cronitor UI.
- Give the webhook a unique identifier. This can be used in the Cronitor API.
- Add the URL that will receive the webhook
POST
requests and press "Create Integration" to complete the integration. - Next, you'll be prompted to add this integration to one or more Notification Lists.
- You're done