Webhook
PronunciationWEB-hook
Definition
A URL in your app that another service calls automatically when something happens, for example when a payment succeeds.
Where you hear it
Payment gateways, GitHub, Slack, and any "notify me when…" integration.
Examples
The payment provider sends a webhook when the payment succeeds.
Verify the webhook signature before trusting the payload.
The shipping partner calls our webhook as soon as the parcel is delivered.
Common mistake
Not handling duplicates. Services may send the same webhook twice, so your code must be idempotent.
Don't confuse with
Webhook vs API polling: A webhook pushes data to your server immediately when an event occurs, whereas polling requires your server to repeatedly request updates from the service at set intervals.
Say it at work
- In a meeting or chat
Could you check if the webhook endpoint is receiving any requests from the external service?
- In an email or ticket
I have updated the webhook handler to properly validate the incoming payload signature for better security.