Webhook
An HTTP callback that lets external services notify your app when something happens, like a payment completing or a form submission.
A webhook is a URL in your application that external services call when an event occurs. Instead of your app constantly polling ("Did anything happen yet? How about now?"), the service pushes a notification to your webhook endpoint the moment something happens.
Common webhook examples: Stripe calls your webhook when a payment succeeds or fails, GitHub calls it when a pull request is opened, and Resend calls it when an email bounces. Your webhook handler receives the event data, validates it, and takes action (update the database, send a notification, trigger a workflow).
Building webhook handlers is a common task in vibe coding. The pattern is consistent: create an API route, verify the request signature (to prevent spoofing), parse the event payload, handle each event type, and return a 200 status. AI generates this boilerplate reliably because the pattern is well-established.
Related Courses
Links open the course details directly on the Courses page.