What is a webhook
A webhook is when a service knocks on your server's address by itself as soon as something happens. A normal API call is the reverse: your server asks, the service answers.
Example: a client pays for a haircut, the payment service sends a "payment succeeded" webhook, and your server marks the booking as paid. Always verify the webhook's signature so your server knows it's really the service, not a prankster. Run everything in test mode first, where payments are fake and no money moves.
Covered in the lessonAPIs: plugging in other servicesOpen the lesson →
Articles on this topic
Free course on this topic: Vibe coding →