Integrations · Webhooks
Signed webhooks for every incident, reminder and maintenance window
Give Timmy an HTTPS endpoint and it POSTs a JSON event whenever an incident opens, escalates or resolves, a domain or certificate is due, or maintenance starts or ends. Each request is signed with HMAC-SHA256, so your endpoint can prove it came from Timmy before acting on it.
Highlights
Ten event types
incident.opened, incident.escalated, incident.resolved, test, domain.expiring, domain.expired, certificate.expiring, certificate.expired, maintenance.started, maintenance.ended.
Verifiable
X-UptimeTimmy-Signature carries a timestamp and an HMAC-SHA256 of “<t>.<raw body>” with your contact's whsec_ secret.
Safe to deduplicate
Each delivery has an id, sent in the body and in X-UptimeTimmy-Delivery, and stays the same across retries.
Retried properly
Non-2xx answers and timeouts are retried after 1, 5, 30 and 120 minutes, and a 429 Retry-After is honoured.
Glue for any tool
Feed your own incident bot, ticketing system or automation, or relay to a tool Timmy doesn't integrate with yet.
How it works
Set it up in a few steps
- 01
Build an endpoint
Any public HTTPS URL that accepts a POST with a JSON body and answers 2xx within 10 seconds. Redirects aren't followed, so give the final address.
- 02
Add it in Timmy
Alerts → Add a contact → Webhook. Paste the URL and save. Timmy creates a signing secret starting with whsec_ and shows it on the contact to Owners, Admins and Members.
- 03
Verify each request
Recompute the HMAC over the raw body, compare it in constant time and reject timestamps more than 300 seconds off. This is the same check Timmy's own tests use.
import { createHmac, timingSafeEqual } from "node:crypto"; // header: the X-UptimeTimmy-Signature value, "t=<unix seconds>,v1=<hex>" // rawBody: the request body exactly as received, before any JSON parsing export function verifyWebhook(secret, header, rawBody, toleranceSeconds = 300) { const parts = Object.fromEntries(header.split(",").map((p) => p.split("="))); const t = Number(parts.t); if (!Number.isFinite(t) || Math.abs(Date.now() / 1000 - t) > toleranceSeconds || !parts.v1) return false; const expected = createHmac("sha256", secret).update(`${t}.${rawBody}`).digest(); const given = Buffer.from(parts.v1, "hex"); return expected.length === given.length && timingSafeEqual(expected, given); } // Express: keep the raw body for the signature check. app.post("/hooks/timmy", express.raw({ type: "application/json" }), (req, res) => { const raw = req.body.toString("utf8"); if (!verifyWebhook(process.env.TIMMY_WEBHOOK_SECRET, req.get("X-UptimeTimmy-Signature") ?? "", raw)) { return res.status(401).end(); } const event = JSON.parse(raw); // event.event is e.g. "incident.opened" res.status(204).end(); // any 2xx counts as delivered }); - 04
Handle the events
Switch on the event field (also sent as X-UptimeTimmy-Event). Use the id to ignore a delivery you've already processed.
{ "id": "6f1c2a9e-3b7d-4e21-9c55-0a8b7d2e4f10", "event": "incident.opened", "sent_at": "2026-10-20T14:06:03.512Z", "workspace": { "slug": "acme", "name": "Acme" }, "monitor": { "id": "0b6e4c1a-8f2d-4a7e-b3c9-5d1e2f3a4b5c", "name": "Checkout API", "url": "https://shop.example.com/health", "kind": "http" }, "incident": { "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d", "status": "cancelled", "severity": "down", "cause": "HTTP 503 from P2 IAD, P3 FRA", "started_at": "2026-10-20T14:05:41.000Z", "resolved_at": null } } - 05
Send a test alert
The test button sends an event named “test” with the same shape as an incident event, so you can check your signature code end to end.
The details
Exactly what it does
| Request | POST, JSON body, HTTPS only, 10 s timeout, redirects not followed, public addresses only |
|---|---|
| Headers | Content-Type: application/json · User-Agent: UptimeTimmy-Webhooks/1.0 · X-UptimeTimmy-Event · X-UptimeTimmy-Delivery · X-UptimeTimmy-Signature |
| Signature | t=<unix seconds>,v1=<hex HMAC-SHA256 of “<t>.<raw body>” using the contact's whsec_ secret>. Allow 300 s of clock skew. |
| Incident events | incident.opened, incident.escalated (Delayed became Cancelled), incident.resolved, test |
| Other events | domain.expiring, domain.expired, certificate.expiring, certificate.expired, maintenance.started, maintenance.ended |
| Incident payload | id, event, sent_at, workspace{slug, name}, monitor{id, name, url, kind}, incident{id, status (on_time | cancelled | delayed), severity (down | degraded), cause, started_at, resolved_at} |
| Domain payload | Adds domain{name, expires_at, days_left, reminder_days, registrar} |
| Certificate payload | Adds certificate{host, port, expires_at, days_left, reminder_days, issuer, trust_error} |
| Maintenance payload | Adds maintenance{id, name, note, starts_at, ends_at, all_monitors, monitor_count, monitors} |
| Success | Any 2xx. Anything else, or no answer in 10 s, is retried: 5 attempts in all, at 1, 5, 30 and 120 minutes. |
| Toggles | Cancelled always sent. Delayed, Back on time, domain, certificate and maintenance events can be switched off per contact. With Delayed off, a contact gets incident.opened when the monitor goes Cancelled. |
| Plans | Every plan, Free included. Up to 20 contacts per workspace. |
Good for
What people use it for
- Open a ticket in your own system on incident.opened and close it on incident.resolved
- Post into a chat tool Timmy doesn't support yet, through a small relay function
- Pause deploys while maintenance.started is in effect, resume on maintenance.ended
- Log every certificate.expiring event into the team's renewal tracker
Coming soon
Not there yet
- Coming soonCustom payload templates
- Coming soonCustom request headers on webhook deliveries
- Coming soonPer-monitor webhook routing within one workspace
FAQ
Frequently asked questions
Why does my signature check fail?
Most often the body was parsed and re-serialised before hashing. Sign-check the raw bytes exactly as received, and make sure the secret is the whole whsec_… value.
Can I get the same event twice?
A retry repeats the same delivery id. Store ids you've handled and skip repeats.
Can a webhook point at a private network address?
No. Like monitors, webhook targets must be public HTTPS addresses. Timmy checks the address before every delivery.
What happens to a webhook that keeps failing?
Each event is tried up to 5 times. The latest delivery result shows on the contact on the Alerts page.
Related
API
REST API v1 for monitors, incidents and maintenance
IT alerting
Email, Slack, Teams, Discord, webhooks, SMS and voice calls.
Incident management
Automatic incidents with region-by-region causes and history.
Developers
Heartbeats for cron and CI, health-endpoint checks and an API
DevOps
Confirmed alerts, maintenance windows, webhooks and an API
Start monitoring in 30 seconds
There’s nothing to install and no card to enter. The free plan stays free.
Get started free