How It Works
- A customer sends a message to your Sender’s phone number
- Zavu receives the message from the carrier (SMS) or Meta (WhatsApp)
- We forward the message to your registered webhook URL
- Your application processes the message and responds if needed
Quick Start
1. Set Up Your Endpoint
Create an endpoint that accepts POST requests. Here’s a minimal example:2. Register Your Webhook
Configure your webhook URL in the Dashboard under your Sender settings, or via the API.3. Start Receiving Messages
Once configured, Zavu will sendmessage.inbound events to your endpoint whenever a customer messages you.
Webhook Events
| Event | Description | Use Case |
|---|---|---|
conversation.new | New conversation started (first message from a contact) | New leads/contacts |
message.inbound | Customer sent you a message | Receiving messages |
message.queued | Your message was queued for delivery | Outbound tracking |
message.sent | Your message was sent to the carrier | Outbound tracking |
message.delivered | Your message was delivered | Outbound tracking |
message.failed | Message delivery failed | Outbound tracking |
For receiving messages, subscribe to
message.inbound. Add conversation.new if you want to be notified when a new contact messages you for the first time. The other events are for tracking outbound message delivery.Next Steps
- Configure Webhooks - Set up your webhook endpoints
- Event Types - Detailed event payload documentation
- Security - Verify webhook signatures