Want to verify a request comes from Better Stack?
Webhook requests are not signed. Set up Basic HTTP authentication or add a custom header with a secret value and check it on your server.
Integrate Better Stack with your own services by receiving an HTTP request when errors change or a new release is detected.
Use Send a test webhook to verify your endpoint receives the request.
Error webhook sends a request when the selected error lifecycle events happen:
Release webhook sends a request when a new release is detected.
To send errors and releases from only some applications, for example to keep staging errors out of your production alerts, select them under Applications when creating or editing the webhook. Click the arrow next to an application to select only some of its environments.
Webhooks are sent as HTTP POST requests with a JSON body:
For a threshold event, notify_threshold contains the configured threshold. For a reoccurred event, previous_state is resolved or ignored.
Requests time out after 25 seconds and are retried up to 3 times. Review recent deliveries and responses in the webhook's logs when editing the webhook.
Open Advanced settings when creating or editing a webhook to customize the request:
$ERROR_ID, $EVENT, $APPLICATION_NAME, or $ERROR_URL. Available variables are listed under the template field.Webhook requests are not signed. Set up Basic HTTP authentication or add a custom header with a secret value and check it on your server.
Please let us know at hello@betterstack.com.
We're happy to help! 🙏
We use cookies to authenticate users, improve the product user experience, and for personalized ads. Learn more.