What is a webhook?
A webhook is an automatic message that one system sends to another at a set address as soon as an event occurs, such as a new order or payment.
Explanation
With an ordinary API, one system regularly asks another whether anything is new. A webhook works the other way round: the system itself lets you know the moment something happens. It sends a short message with data about the event, most often in JSON format, to a web address set in advance, and the receiving system reacts immediately.
Webhooks are therefore faster and lighter than repeated queries. They are used by payment gateways, online store platforms, forms, CRMs and tools such as n8n, Make or Zapier, where they often serve as the trigger of an automation.
With webhooks, think about security and reliability. The receiving side should verify that the message really came from the expected sender, for example by a signature or a secret key. And it should allow for a message arriving twice or not at all, so processing is recorded and checked. Without these measures an order could, for example, be created twice.
Example from a company
After a successful payment, the payment gateway sends a webhook to the online store. The store immediately changes the order status to paid, sends the customer a confirmation and the warehouse starts packing.
Related terms
Related AICO service
AI integrations: AI integrations for businesses: we connect AI to Pohoda, Money S3, iKROS, HubSpot, your store and email. AI prepares, you approve. From €990 excl. VAT.
Not sure where to start? Order a free AI Discovery: our person goes through your company with you, and within 24 hours you have an opportunity map.