What is a Webhook?

A webhook is an HTTPS callback that is triggered by a user-defined event at the originating site (WhatsApp Self-Serve Access API in this case).

In its simplest form, a webhook is a web service that receives HTTPS POST requests from a source.

Webhooks manage incoming messages from WhatsApp users, including text, location, and media such as photos and documents, as well as the status of messages you've sent. Webhooks provide both timely notifications and out-of-band issues, thus establishing one in the application settings is strongly recommended.

Customers' messages sent to your WhatsApp Business Phone Number are routed to your Webhook. When a client sends a text message or a media attachment to your WhatsApp Business API, the platform logs the message and sends a notice (HTTP POST request) to the Webhook defined in your app's settings.

What’s Next

In the next chapter of this guide, you'll get to know some key points about Webhook.