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:
![Document image Document image](https://images.archbee.com/GQ6FhONXoR2DQjp03hOcB/pYxtzp5tSudIbfrxJlQvq_image.png?format=webp)
Create the alert using the Alerts UI:
![Document image Document image](https://files.readme.io/1c85b5f-webhook_UI.jpg)
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:
![Document image Document image](https://files.readme.io/21ac54f-slack-alert.jpg)
Updated 30 Oct 2024
Did this page help you?