Skip to content
Article Issue #5245

Webhook

What to know

A webhook is an event-driven HTTP POST that a provider sends to a consumer-supplied URL whenever a designated event occurs, such as a payment completing or a repository receiving a push; The consumer registers an HTTPS endpoint with the provider; Webhooks are essential for real-time integrations: billing events, CI/CD triggers, and CRM sync all rely on them

Webhook, WikiWalls Glossary illustration

« Back to Glossary Index

A webhook is an event-driven HTTP POST that a provider sends to a consumer-supplied URL whenever a designated event occurs, such as a payment completing or a repository receiving a push. Unlike polling, webhooks eliminate the need for consumers to repeatedly query for state changes.

How it works

The consumer registers an HTTPS endpoint with the provider. When the triggering event fires, the provider serializes event data as JSON and POSTs it to that endpoint. The consumer must respond with a 2xx status quickly to acknowledge receipt, deferring heavy processing to a background queue.

Key facts

  • Push-based: Providers initiate the call rather than consumers polling on an interval
  • Idempotency required: Providers may retry on non-2xx responses, so consumers must handle duplicate deliveries
  • Signature verification: Most providers sign payloads with HMAC so consumers can reject spoofed requests

For builders

Webhooks are essential for real-time integrations: billing events, CI/CD triggers, and CRM sync all rely on them. Building robust webhook consumers means handling retries, verifying signatures, and processing events asynchronously.

Sources

« Back to Definition Index
Administrator · 41 published guides · Joined 2016

Welcome to wikiwalls

The WikiWalls Journal · Free, weekly

One careful fix in your inbox each Wednesday.

No affiliate links inside the diagnosis. No sponsored "top 10". One careful fix per week — unsubscribe in one click.

No tracking pixels · No spam · Edited by a human.