🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Web Development Intermediate

What is Webhook?

A mechanism where a server sends real-time HTTP POST notifications to a specified URL when specific events occur.

Webhooks are "reverse APIs" — instead of polling for updates, the service pushes data to your endpoint when events happen. For example, Stripe sends a webhook when a payment succeeds, and GitHub sends webhooks on code pushes.

Implementing webhook receivers involves validating signatures (to prevent spoofing), responding quickly (200 status), processing asynchronously, and handling retries for failed deliveries. Webhooks are essential for event-driven integrations.

Related Terms

TypeScript
A typed superset of JavaScript that adds static type checking, interfaces, and advanced IDE support to JavaScript development.
OAuth Scope
A mechanism in OAuth that limits an application's access to a user's account to specific resources or actions.
Web Performance Optimization
Techniques to make websites load faster and respond more quickly, improving user experience and search engine rankings.
JSON Schema
A vocabulary for validating the structure and content of JSON data, ensuring API requests and responses conform to expected formats.
HTTP/3
The latest HTTP version that uses QUIC instead of TCP, providing faster connections and better performance on unreliable networks.
Cross-Origin Resource Sharing (CORS)
An HTTP mechanism that allows web pages to request resources from a different domain than the one serving the page.
View All Web Development Terms →