Webhook map
changedetected(change.detected)
HTTP handler setup
app/api/webhook/route.ts
- A rejected signature must throw.
processWebhookignores a handler’sstatusCodeand answers{ success: true }for a returnedsuccess: false, keeping a failure only when the handler throws. The plugin’s handler throws on a bad signature and on an unparseable payload for that reason, sosuccessis a reliable failure signal here. - A signature needs the exact body. Verification is HMAC over
<t>.<raw body>, so mount the route without a JSON parser in front of it. - Fluxguard documents no retries. Treat a delivery as sent once: answering 500 keeps the failure visible in your own logs instead of acknowledging a change alert you did not process.
Events
Change
Detected
change.detected
A monitored page changed: Fluxguard posts the captured version with references to its HTML, screenshot and diff files
Payload
site full type
site full type
session full type
session full type
page full type
page full type
Response data full type
Response data full type
webhookHooks example