Guides
...
Alerting and Monitoring
Real-time Alerts
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 setup 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 10 Sep 2024
Did this page help you?