Guides
Alerts & Webhooks
Alert Webhooks
4min
An alert can be configured to be sent via webhook call. In this case, an HTTP POST request will be made to the specified endpoint, containing a JSON payload, whenever the threshold condition is met.
If the response has a 200 status code, it is considered successful, otherwise, the alert system will keep trying to send the alert.
The following context variables can be used to set a webhook request header and payload:
Create the alert using the Alerts UI:
Or using the Alerts API :
Sample webhook payload for Slack
Alerts will send the following HTTP request to the webhook endpoint:
And the rendered Slack message will look like this:
Updated 30 Oct 2024
Did this page help you?