Tech

Webhook

Definition

An automated HTTP callback that sends real-time data from one application to another when a specific event occurs, enabling instant system-to-system communication.

Try the free calculator

Use our JSON Formatter to run the numbers yourself.

A webhook is a user-defined HTTP callback triggered by a specific event in a source system. Instead of your application repeatedly polling an API to check for updates, the source system pushes data to your specified URL the moment something happens, such as a payment being completed, a form submission, or a repository commit.

Webhooks follow a simple pattern: you register a callback URL with the source service, the service sends an HTTP POST request to that URL when the triggering event occurs, and your server processes the payload and returns a response. Common webhook providers include Stripe for payment events, GitHub for repository events, and Slack for messaging events.

Implementing webhooks requires handling several concerns: verifying request authenticity through signature validation to prevent spoofing, processing payloads idempotently since webhooks may be retried, responding quickly with a 200 status to avoid timeout retries, and queuing heavy processing for asynchronous execution. Well-implemented webhooks are the backbone of modern event-driven architectures.

Get weekly tips for Webhook & more

No spam. Unsubscribe anytime.

Related Calculators

Related Terms

Related Articles

Stay Updated

Get notified about new tools, features, and exclusive deals. No spam, ever.