Webhooks
Get signed events the moment something changes.
Register an endpoint, verify each signature, and inspect or resend any delivery from the dashboard.
Webhooks
Register an endpoint, verify each signature, and inspect or resend any delivery from the dashboard.
Overview
Wellfriend sends signed events in the CloudEvents format when documents, jobs, links and workflows change. Verify the signature on every delivery before you trust its contents.
The same event can arrive twice or out of order. Store each event ID, make your handler safe to run more than once, and reply with success only after you have saved the event.
Step by step
Register an HTTPS address and the events you want. Store the signing secret safely: it is shown once.
Check the signature, timestamp and event ID against the raw request body before parsing it.
Save the event under its ID, then reply quickly with a success status.
Fix your endpoint, then resend any recorded delivery from the dashboard or the API.
Built in
Parsing and re-encoding the JSON can change the bytes and break the signature check.
During a rotation, accept both the new and the previous secret, then remove the old one.
Resending a delivery keeps the record of every earlier attempt.