Why it matters
Without webhooks, software has to keep asking "anything new?" every few seconds. With a webhook, the other side calls you as soon as there is news. Meta describes WhatsApp webhooks as "HTTP requests containing JSON payloads that Meta's servers send to a server of your designation". In plain words: a short, structured note posted to an address you choose.
On the official WhatsApp API, webhooks are how every incoming message reaches you. Meta's overview lists what they report, including:
- Incoming messages from customers.
- The status of messages you sent: sent, delivered, read or failed. A marketing message held back by WhatsApp's per-user limit, for example, arrives as a failed status with error 131049.
- Template changes, such as a template's status, quality or category changing.
- Account alerts, covering messaging limits, the business profile and Official Business Account status, plus phone number quality and security settings.
Some rules from Meta's page that matter when choosing a provider:
- The receiving server must answer with HTTP 200. Anything else counts as a failure.
- If delivery fails, Meta "retries delivery with decreasing frequency until the request succeeds, for up to 7 days". Notifications can arrive more than once, so the receiving system must ignore duplicates.
- A webhook can carry up to 3 MB.
For a small business owner, this is mostly your provider's job, but it explains things you will notice. Messages show up in a team inbox within seconds because of webhooks. If the provider's server goes down, messages are not lost straight away, because Meta keeps retrying. And "delivered" or "read" ticks in your dashboard come from status webhooks.
Webhooks also appear outside WhatsApp. Form tools, payment gateways and booking systems use them to tell other software that a form was submitted or a payment went through, which is how many simple automations are built.
Example
A customer sends "Is the blue sofa in stock?" at 9:02 pm. Meta immediately posts a webhook to the shop's inbox provider with the message and the sender. The provider shows it in the team inbox and alerts the staff member on duty. When she replies, further webhooks report the reply as sent, delivered and then read.