Webhook

Definition

Method for applications to provide real-time information to other applications via HTTP callbacks, enabling seamless data integration and updates.

Use Cases

Frequently Asked Questions

What's the difference between a webhook and an API?
An API is something you call to request data or perform an action (you initiate the request). A webhook is something you receive: another system calls your URL automatically when an event happens. Webhooks reduce the need to repeatedly poll an API for changes.
When should I use a webhook?
Use a webhook when you need near real-time updates from another system (payments, shipping updates, repo events), and you can expose a reliable HTTPS endpoint to receive callbacks. If you can’t accept inbound requests (network restrictions) or you need to query historical data on demand, an API pull approach may be better.
How much does a webhook cost?
Webhooks themselves usually have no direct cost as a concept, but you pay for the infrastructure that receives and processes them (API gateway/load balancer, compute like serverless or containers, logging, and any queues/databases). Costs scale with request volume, payload size, and processing time; some SaaS providers may also impose rate limits or plan-based limits on webhook deliveries.

Category: software

Difficulty: intermediate

See Also