Overview
In this topic we will talk about the webhook returns that we use. Z-API instances make POST requests for events they perform to the previously configured URL. For each request there is a specific JSON body that will be described next.What is it and what is it for?
According to Google, a Webhook is a resource used on the internet for one application to communicate with another, providing real-time data whenever an event occurs. So if you are integrating with Z-API and need to receive information through WhatsApp, you need to provide these endpoints in your application so we can notify you about everything that happens on your WhatsApp.Our webhooks
Delivery
Notifies when your message was delivered to WhatsApp. This does not guarantee the contact received the message.
Receive
Triggered every time someone interacts with your number on WhatsApp.
Status
Informs message status changes (received, read, replied, deleted).
Disconnected
Triggered when there is unavailability in communication between phone-WhatsApp or phone-Z-API.