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 the application, you need to provide these endpoints in your application so we can notify you about everything that happens on your application.Our webhooks
Delivery
Notifies when your message was delivered to the application. This does not guarantee the contact received the message.
Receive
Triggered every time someone interacts with your number on the application.
Status
Informs message status changes (received, read, replied, deleted).
Disconnected
Triggered when there is unavailability in communication between phone-application or phone-Z-API.