Webhooks explained: how apps send data to each other automatically
Webhooks are automated messages that one app sends to another when an event happens, using a unique URL. Zapier's guide sets out how they differ from polling and from APIs.

Key takeaways
- A webhook is an automated HTTP request sent to a unique URL when an event occurs, carrying data known as a payload.
- Zapier's guide says webhooks are usually faster than polling, where an app must keep asking for new data.
- With an API one app requests data, while a webhook pushes data out automatically after an event.
- The guide suggests webhook.site and Postman for testing, and notes some services add authentication or signatures.
In this article
What webhooks are
Webhooks are automated messages that one piece of software sends to another when something happens, according to a guide published by the Zapier Blog. Each message carries a payload, meaning the data about the event, and it is delivered to a unique URL that acts much like the receiving app's address.
The name comes from software hooks, which are functions that run when a particular event occurs, combined with the fact that they travel over the web. In technical terms, a webhook is an HTTP request, the standard way browsers and apps exchange information online. Zapier's guide says webhooks are typically used to link separate apps and systems so they can share data as events unfold.
Polling compared with webhooks
The guide describes two broad ways for apps to exchange information. The first is polling, where one app keeps asking another whether anything new has arrived. The second is webhooks, where the app holding the data sends it out as soon as something changes.
Zapier uses a household comparison to separate the two. Polling is like knocking on a neighbour's door each time you need to borrow sugar, while a webhook is closer to having the sugar delivered to your home whenever your neighbour buys some. The guide says webhooks are almost always faster than polling and involve less work for the receiving side.
A related comparison is the text message a bank sends after a purchase. The bank already holds the phone number, so it knows where to send the alert once the event occurs.
How a webhook is set up

Zapier walks through a shop example. A customer places an order, and the store needs to pass the details to an invoicing app. The user copies the invoicing app's webhook URL and pastes it into the store's webhook settings, which tells the store where to send the data.
When the order is confirmed, the store converts the order details into a data format and sends them to that address. The simplest format the guide mentions is form-encoded. The receiving app then replies with an HTTP status code, typically 200 to confirm the data arrived, or a 4xx or 5xx code if something went wrong.
Webhooks and APIs
Webhooks are close relatives of APIs, which are sets of rules that let apps add, edit and retrieve data. The distinction the guide draws is one of direction and timing. With an API, one app asks another for information or for an action to be carried out. With a webhook, the app holding the data sends it automatically once a specific event takes place.
The guide gives the example of a webhook dedicated to new contacts, where each addition pushes the record to the other app without a request. It describes this as a simple, one-to-one connection that runs on its own.
Security and testing
Some webhook services rely on URLs that are hard to guess, according to the guide, while others add authentication or cryptographic signatures so the receiver can check that a request is genuine. Readers setting up a webhook should consult the official documentation of the apps involved for the specific verification method supported.
For learning, the guide points to webhook.site and Postman as places to experiment. webhook.site issues a unique URL as soon as it is opened, with no account required, so incoming data can be inspected as it arrives. Zapier also notes that people can use webhooks by pasting a URL into an app without knowing how to build one.
Sources
- What are webhooks?Zapier Blog
Spotted a mistake? See our corrections policy. Read how News by OnDevice works in our editorial policy.



