Webhooks Introduction
Configure webhooks to receive real-time updates and status events from Waplix.
Webhooks allow Waplix to send real-time HTTP POST event payloads to your server when changes occur on your connected WhatsApp instances.
Common Event Types
message.received- Triggered when a new incoming message is receivedmessage.sent- Triggered when an outgoing message is successfully sentmessage.delivered- Triggered when a message is delivered to the recipientmessage.read- Triggered when a message is read by the recipient (blue ticks)instance.connected- Triggered when a session connects successfullypresence_update- Triggered when online status changes
Security & Integration Best Practices
- Always use a secure HTTPS endpoint for your webhook receiver URL.
- Verify webhook secrets (if configured) to ensure payloads originate from Waplix.
- Acknowledge webhook delivery quickly by returning an HTTP 200 OK status immediately.
- Offload heavy operations (e.g., database writes, AI processing) to a background queue to prevent connection timeouts.
Was this page helpful?