Learn Webhooks
Webhooks are event callbacks. Delivery may be duplicated or delayed.
Read each short explanation, work through the example, then answer a pop quiz. Every answer explains the reasoning. Incorrect answers unlock a fresh question on the same idea; the full lesson contains ten questions.
01Understand the basics
Ready to learnA webhook sends an HTTP callback when an event occurs. The sender can retry if it does not receive confirmation. Your receiver therefore needs to handle duplicate deliveries, verify the sender and preserve accepted work before responding.
02Handle duplicates
Ready to learnUse a stable event identifier to recognise deliveries already handled. Make the business action idempotent so that another delivery cannot accidentally charge or create something twice.
Try a different value
03Verify and reconcile
Ready to learnVerify signatures over the exact bytes required by the sender. Use timestamp or replay controls where supported. Periodically reconcile against the source if missing an event would matter.
You’ve practised all three sections.
First-attempt understanding and later practice are shown separately. Keep practising with the related tools or continue through the suggested path.
Put it to work
Apply what you’ve learned using the related tools.