Understanding webhook delivery between business systems
Plan event notifications, validation and recovery when applications use webhooks.
Identify the event
A webhook sends an event to a configured endpoint when something happens. Agree which event matters, which application sends it and which record must be updated. For example, a booking system may notify a job application when an appointment is confirmed. Check whether cancellations are separate events.
Protect the endpoint
Agree how the receiver verifies the sender. Validate the event structure and required fields before processing. Follow the provider's current authentication guidance. Where supported, verify the provider's signature using its documented method. Reject malformed events and retain a safe reference for investigation. For example, GitHub documents signature validation for its own webhook deliveries; other providers may use different authentication methods, so check the relevant provider documentation.
Expect repeated delivery
Senders may retry after errors and events can arrive late. Ensure repeated events do not create duplicate records. Decide how to handle missing or unexpected values. An event identifier or a suitable business reference can help recognise a repeated event. Agree the method with the system supplier.
Plan recovery
Record failures so the team can identify affected records without exposing unnecessary personal information. Agree when to retry and how to reconcile systems after an outage. Test a rejection and a lost response with fictional records. The team should be able to tell whether the receiving system already completed the action.