Glossary · Technical
What is a webhook?
A webhook is an HTTP request that one system sends to a URL you control when a specific event happens — pushing data to you as it occurs, rather than making you repeatedly ask whether anything has changed.
You register a URL and some events
Each delivery is signed
Failures are retried
Retries mean duplicates
Webhook against the terms it gets mixed up with
An API
With an API, your code makes the request. With a webhook, theirs does. Most products have both, and they serve opposite directions of the same conversation.
Polling
Polling is asking repeatedly on a schedule, which is simple and wastes most of its requests. A webhook arrives when there is something to say. The trade is that polling fails visibly and webhooks fail silently.
WebSockets
A WebSocket is a connection held open in both directions for as long as both ends are up. A webhook is a single one-way HTTP request per event, with no connection to maintain — which is why it is the more common choice between two servers.