Skip to content

Webhooks

A webhook channel sends DownBad alerts somewhere other than email: a chat channel, an on-call tool, or your own endpoint. Paste the URL your service gives you, and DownBad formats each alert the way that service expects.

Custom

Any URL. The DownBad event JSON or a body you write, optionally signed. Set up Custom

  1. In DownBad, go to Settings › Alerts and press Add webhook.
  2. Paste the URL your service gave you. DownBad recognizes Slack, Discord, Teams, Google Chat, Telegram and PagerDuty addresses by their host and path, and picks the matching service for you. Any other address is set up as Custom.
  3. Fill in anything else the service needs, such as a PagerDuty integration key or a Telegram chat ID.
  4. Press Test now. The test message is clearly marked as a test, so nobody mistakes it for an outage.
  5. Save, then add the channel to the notification profiles that should use it.

DownBad only accepts a service’s own addresses for that service. A URL that merely looks like a Slack address is set up as Custom, never trusted as Slack.

  • Temporary failures are retried. No answer, a timeout, or an HTTP 5xx, 408 or 429 is retried with increasing delays, up to five times. When a service rate limits DownBad (HTTP 429), DownBad waits as long as the service asks before trying again.
  • Permanent failures are not retried. Any other 4xx answer means the request itself is wrong, usually a deleted webhook or a bad key, and sending it again won’t help.
  • Redirects are not followed. If your URL answers with a redirect, the delivery fails and DownBad tells you where it pointed. Use the address that answers directly.
  • Private addresses are refused. DownBad won’t send to a URL that names or resolves to a private, loopback or link-local address.
  • A webhook that keeps failing is switched off. After 10 alerts in a row fail (each one after its retries), DownBad stops sending to that channel and tells everyone on the account in the bell. Fix the cause, then press Test now. A successful test switches it back on.

Most missing alerts aren’t a webhook problem at all: the monitor is muted, quiet hours are on, or the channel isn’t in the monitor’s notification profile. Start with Not Receiving Notifications, then check the troubleshooting section on your service’s page.