# Webhook

> A web address for news. Another app calls it when an event takes place.

**Field:** Software Development  
**Category:** APIs  
**Also known as:** Webhooks, HTTP Callback, Reverse API

## Think of it like

Think of it like a doorbell. Instead of checking the door all day, you wait for it to ring.

## Definition

A webhook is a web address another service calls when something happens. That service sends a POST request to your address with the details. A payment service can tell your shop the moment a payment goes through. You no longer have to keep asking if anything has changed. Your server must answer fast and check that the message is real.

## Example

Emma gives a payment service her webhook address. A customer pays, and seconds later her shop gets a POST that says paid.

## Why it matters

Apps can act at once. They do not waste thousands of requests asking if anything is new.

## Common mistake

Trusting every message that comes in. Check its signature, or anyone can fake a payment.

## Three principles

- **They call you.** When the event happens.
- **A POST to your address.** With details of the event.
- **Check it is real.** Verify the signature.

## Related terms

- [Application Programming Interface (API)](https://learn.benibix.com/term/development/api)
- [Polling](https://learn.benibix.com/term/development/polling)
- [POST Request](https://learn.benibix.com/term/infrastructure/post-request)
- [Callback Function](https://learn.benibix.com/term/development/callback)
- [App Integration](https://learn.benibix.com/term/development/app-integration)
- [Automation Trigger](https://learn.benibix.com/term/development/automation-trigger)
- [Webhook Signature](https://learn.benibix.com/term/development/webhook-signature)

## Told apart from

- [Webhook vs Polling](https://learn.benibix.com/compare/webhook-vs-polling): With a webhook, the other service calls you as soon as something happens. With polling, you keep asking it if anything has changed. Webhooks are faster and use less, but your server must be open to the web.

---

Source: https://learn.benibix.com/term/development/webhook
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
