Webhooks
Events
update.published | A changelog entry appears on northwork.app/changelog. |
status.changed | A Northwork service goes down or recovers, from the status checks behind northwork.app/status. |
community.post.created | A new public top-level post in the Community. |
blog.published | A new post on northwork.app/blog. |
Events are detected within about five minutes. Create endpoints on the Webhooks page, choose the events, and copy the signing secret (whsec_…), shown once.
Payload
POST /your/endpoint HTTP/1.1
Content-Type: application/json
User-Agent: Northwork-Webhooks/1.0
Northwork-Event: status.changed
Northwork-Delivery: whd_8RfK…
Northwork-Signature: t=1795449600,v1=5f0c2a…
{
"id": "evt_Qm2x…",
"object": "event",
"type": "status.changed",
"created_at": "2026-11-23T16:00:00.000Z",
"data": {
"service": { "id": "community", "name": "Community", "group": "Northwork" },
"status": "down",
"previous_status": "operational",
"response_ms": 10012,
"checked_at": "2026-11-23T15:59:58.000Z"
}
}Verifying signatures
Northwork-Signature is t=<unix seconds>,v1=<hex>, where the hex is HMAC-SHA256 of "<t>.<raw body>" keyed with your endpoint secret. Verify against the raw body, before parsing, and reject timestamps older than five minutes.
import { constructEvent } from "@northwork/sdk/webhooks";
// Express: keep the raw body for verification
app.post("/northwork/webhooks", express.text({ type: "*/*" }), async (req, res) => {
try {
const event = await constructEvent(req.body, req.get("Northwork-Signature"), process.env.NORTHWORK_WEBHOOK_SECRET);
if (event.type === "status.changed") await notifyTeam(event.data.service.name, event.data.status);
res.sendStatus(200);
} catch (err) {
res.status(400).send("Invalid signature");
}
});Retries
Reply with any 2xx within 10 seconds. Anything else (or a timeout) is retried with exponential backoff: after about 1 minute, 5 minutes, 30 minutes, 2 hours, 6 hours and 12 hours, so 7 attempts over roughly a day. Redirects are not followed. Use id to ignore duplicates.
The dashboard keeps a delivery log for 30 days with the response status, body and timing of each attempt, and lets you resend a delivery or send a test event.
Endpoint rules
- Public
https://URLs on port 443 only; no IP addresses, localhost or private hostnames. - Up to 10 endpoints per account.
- Test events have
"test": trueand sample data.