A webhook is an automatic HTTP request one system sends to another when a specific event happens, such as a payment succeeding or a form being submitted, so the receiver learns about it right away.

Definition
A webhook is a way for one application to notify another that something happened. Instead of the receiving system repeatedly asking whether there is anything new, the sending system calls a URL that the receiver has registered, usually with an HTTP POST containing a JSON description of the event. People sometimes describe this as a reverse API or a push notification between servers.
Webhooks are everywhere in modern software. Payment providers use them to report successful charges and refunds, code hosting platforms use them to trigger builds when code is pushed, CRMs and form tools use them to pass new leads along, and messaging platforms use them to deliver incoming messages to bots. They are a simple, widely supported way to connect systems in near real time.

How it works
First, the receiving application exposes an HTTPS endpoint, a URL on its server that accepts POST requests. It registers that URL with the sending service, either in a settings screen or through an API, and chooses which events it wants, such as invoice.paid or order.created. The sender stores the subscription and usually issues a signing secret.
When a subscribed event occurs, the sender builds a payload describing it, signs the payload with the shared secret, and sends it to the registered URL. The receiver verifies the signature to confirm the request is genuine, checks that it has not already processed this event ID, records it and responds quickly with a success status code. Heavier work, such as updating several systems or sending emails, is best handed off to a background queue so the response is not delayed.
If the receiver is down or returns an error, most senders retry with increasing delays for a period of time, and many provide a dashboard to inspect and replay deliveries. Because retries and network issues can deliver the same event more than once or out of order, well-built receivers treat webhook handling as idempotent and fetch the latest state from the sender’s API when order matters.
Keep learning
Put it into practice
Well-designed APIs and dependable third-party integrations that connect your products, partners and internal systems.
Explore serviceIntelligent process automation and AI agents that read documents, make routine decisions and move work between systems with human oversight.
Explore servicePurpose-built software engineered around how your business actually operates, with clean architecture and full code ownership.
Explore serviceFAQ
With an ordinary API call, your system asks another system for data when it wants it. With a webhook, the other system sends data to you when an event happens. They work together: many integrations use a webhook to learn that something changed, then call the API to fetch full or current details.
They can be when implemented properly. Use HTTPS endpoints, verify each request’s signature with the shared secret, reject old timestamps to prevent replay, and treat the payload as untrusted input. Avoid putting secrets in the URL itself, and rotate signing secrets if they may have leaked.
Many providers offer a command line tool or dashboard that sends test events to a local machine through a tunnel. You can also use a request inspection service to see raw payloads, then write automated tests that post saved sample payloads to your handler and check the outcome.
Talk to a solution architect about where it fits in your roadmap.
