Webhooks & audit log
Signed outgoing events, delivery log and replay; who changed what.
In the console: Console → Settings → Webhooks · Settings → Audit log
All guides
Webhooks send signed JSON events to your own HTTPS endpoints. Each endpoint subscribes to the events it wants; every delivery is logged for 30 days and can be replayed. After 15 failed deliveries in a row an endpoint is turned off.
The audit log records who changed what in the workspace, in a chain that can be verified.
Why use it
- Your own systems should react to incidents, alerts, monitors or deployments.
How it works
- 1When an event you subscribed to happens, AppStatus POSTs signed JSON to your endpoint and records the delivery.
- 2Network errors, timeouts, 408, 429 and 5xx are retried with backoff (30 s, 2 m, 10 m, 30 m, 1 h, 3 h, 6 h, 12 h); other 4xx are not. After 15 failed deliveries in a row the endpoint is turned off until you fix it.
What you get
- Events: monitor.check_failed, monitor.check_recovered, monitor.created, monitor.updated, monitor.deleted, alert.triggered, alert.acknowledged, alert.resolved, incident.created, incident.updated, incident.resolved, deployment.started, deployment.completed, deployment.failed.
- Custom headers, Send test, the last 100 deliveries per endpoint, replay and secret rotation.
- Up to 20 endpoints per workspace.
Set it up
Get Started shows these commands with your key already filled in — copying from there is the quickest path. Here, <your-key> marks where it goes.
- 1
Add an endpoint
Settings → Webhooks → New webhook: the HTTPS URL, the events and optional headers. Copy the signing secret (whsec_…) — it is shown once.
- 2
Verify each delivery
Every request carries these headers. Reject it if the signature does not match or the timestamp is more than 5 minutes old; dedupe on the event id.
headersX-AppStatus-Event: incident.created X-AppStatus-Event-ID: <uuid — dedupe on this> X-AppStatus-Delivery-ID: <uuid> X-AppStatus-Timestamp: <unix seconds> X-AppStatus-Signature: v1=<hex HMAC-SHA256(secret, timestamp + "." + body)> - 3
Node.js example
jsconst crypto = require('crypto') function verify(secret, req, rawBody) { const ts = req.headers['x-appstatus-timestamp'] if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false const want = 'v1=' + crypto.createHmac('sha256', secret).update(ts + '.' + rawBody).digest('hex') const got = req.headers['x-appstatus-signature'] || '' return got.length === want.length && crypto.timingSafeEqual(Buffer.from(got), Buffer.from(want)) }
Use it
- 1
Audit log
Settings → Audit log lists every change with who, what and when. Retention: Free 30 days, Starter 90, Pro 180, Business 365, Enterprise unlimited.
Uninstall / remove
- 1
Delete the endpoint
Settings → Webhooks → the endpoint → Delete. Rotate the secret instead if it leaked.
Troubleshooting
The problems seen most, each with what to run. Still stuck? See the general Troubleshooting guide.
The endpoint was turned off
It failed 15 times in a row. Fix the receiver, replay the failed deliveries from the log, and turn it back on.
Signature never matches
Sign the raw request body exactly as received (before JSON parsing), prefixed with the timestamp and a dot.
Related guides
Something here does not match what you see in the console? Open Help → Support in AppStatus or write to support@appstatus.io with the page and what you ran.