Webhooks
Send every incident to your own endpoint as JSON — open a ticket, trigger a runbook, or feed a tool WatchCat has no native integration for.
The webhook integration sends an HTTP POST
with a JSON body when an incident opens and another when it resolves. Uptime and cron
monitors both use it. Typical uses:
- Internal tools and dashboards that should know about incidents
- Automation platforms such as n8n, Make or Zapier, through their webhook triggers
- Ticketing, chat or paging tools without a native WatchCat integration
- Keeping alert data in the EU, by pointing the webhook at an endpoint you host there
Step 1 — add a webhook integration
- 1 Go to Integrations → New integration and select Webhook.
- 2 Enter the Webhook URL that should receive the requests, and give the integration a name.
-
3
Optionally add Custom headers as a JSON object — for example an
Authorizationheader your endpoint checks. - 4 Save, then click Send test alert on the integration's page to see a request arrive.
{ "Authorization": "Bearer your-token", "X-Environment": "production" }
Header values must be strings. The headers are sent with every request, test alerts included.
Step 2 — add the integration to a notification channel
Monitors alert through notification channels, not through integrations directly. A channel bundles email recipients and any number of integrations, so one webhook integration can serve as many monitors as you like. How notification channels work →
- 1 Go to Notification channels → New channel, or edit an existing one.
- 2 Under Integrations, check the webhook integration you just created.
- 3 Save the channel.
Step 3 — assign the channel to monitors
Edit an uptime or cron monitor and check the channel under Notifications. From then on, an incident on that monitor alerts webhook when it opens and again when it resolves.
The request
POST
Content-Type: application/json, plus your custom headers
400. A 4xx or 5xx is recorded as a failed delivery.
Payload
event is
down when an incident opens and
recovered when it resolves.
monitor_type is
service for an uptime monitor and
cron for a cron monitor.
Both events of one incident carry the same
incident.id, so you can pair a recovery with the alert it closes.
Uptime monitor goes down
{ "event": "down", "monitor_type": "service", "monitor": { "id": 123, "name": "api-production", "url": "https://api.example.com/health", "status": "down", "detail_url": "https://watchcat.io/service_monitors/123" }, "incident": { "id": 456, "detail_url": "https://watchcat.io/incidents/456", "cause": "Status code 503 (expected 2xx)", "started_at": "2026-08-11T12:05:11Z", "resolved_at": null, "duration_seconds": null }, "details": { "http_status_code": 503, "response_time_ms": 2450, "failed_checks": ["Status code 503 (expected 2xx)"], "checked_at": "2026-08-11T12:07:11Z", "network_error": null, "consecutive_failures": 3, "check_interval_seconds": 60, "failing_regions": ["de", "fi"], "response_body_snippet": "upstream connect error or disconnect/reset before headers" }, "metadata": { "sent_at": "2026-08-11T12:07:13Z", "source": "WatchCat" } }
details also carries
checks_result, the raw result of each rule the monitor checks.
response_body_snippet is at most 200 characters and is sent with
down events only. If your endpoints return personal or sensitive data, monitor a
dedicated health endpoint instead.
Uptime monitor recovers
The same shape with "event": "recovered". The
incident object now has
resolved_at and
duration_seconds filled in.
Cron monitor misses its schedule
{ "event": "down", "monitor_type": "cron", "monitor": { "id": 78, "name": "nightly-backup", "status": "down", "detail_url": "https://watchcat.io/cron_monitors/78" }, "incident": { "id": 457, "detail_url": "https://watchcat.io/incidents/457", "cause": "No ping received", "started_at": "2026-08-11T02:15:00Z", "resolved_at": null, "duration_seconds": null }, "details": { "interval_seconds": 86400, "grace_seconds": 900, "last_ping_at": "2026-08-10T02:00:04Z", "next_expected_at": "2026-08-11T02:00:04Z", "alert_at": "2026-08-11T02:15:04Z", "overdue_seconds": 900 }, "metadata": { "sent_at": "2026-08-11T02:15:06Z", "source": "WatchCat" } }
Test alert
{ "event": "test", "test_alert": true, "monitor_name": "My custom webhook", "message": "The My custom webhook integration is connected. Alerts will be delivered to this channel when a monitor goes down or recovers.", "metadata": { "sent_at": "2026-08-11T12:00:00Z", "source": "WatchCat" } }
Check for "event": "test" in your handler so a test does not open a real ticket.
Good to know
- Parse defensively: new keys may be added to the payload, so ignore keys you do not know.
- The body is fixed. There is no templating and no way to add your own fields, so services that expect their own body format need something in between — an automation platform, or a small function of your own.
- For on-call paging, use the native ilert, incident.io or PagerDuty integration. They resolve the alert on recovery, which a generic webhook cannot do.
- Alerts are sent once when an incident opens and once when it resolves. A channel with Send recovery alerts turned off sends only the
downevent.
See whether your endpoint accepted the alert
Every request WatchCat sends is recorded on the integration's page: the outcome, the HTTP status, an excerpt of the response, the error if there was one, and how long it took. When an alert seems to be missing, you can tell whether your endpoint refused it or it was never routed there. The log is kept for 7 days on Free, 30 days on Pro, and 90 days on Team.
Other integrations
A notification channel can hold several integrations at once, so chat, on-call and your own tooling can all hear about the same incident.
Related
Start monitoring in minutes
Free plan available. No credit card required.
Discord
Google Chat
ilert
incident.io
PagerDuty
Slack
Telegram