WhatsApp Webhook
Receives delivery status callbacks from the Meta WhatsApp Cloud API.Verification (GET)
Meta requires webhook verification during setup. When you configure the webhook URL in the Meta Developer Dashboard, Meta sends a verification request.| Parameter | Description |
|---|---|
hub.mode | Must be subscribe |
hub.verify_token | Must match your WHATSAPP_WEBHOOK_VERIFY_TOKEN env var |
hub.challenge | Challenge string to echo back |
hub.challenge value as plain text (200) if token matches, or 403 if verification fails.
Status Callbacks (POST)
Meta sends delivery status updates as POST requests when message statuses change.| Meta Status | KaireonAI Status |
|---|---|
sent | delivered |
delivered | delivered |
read | opened |
failed | failed |
Environment Variables
| Variable | Required | Description |
|---|---|---|
WHATSAPP_WEBHOOK_VERIFY_TOKEN | Yes | Token for Meta webhook verification |
Delivery Webhook
Generic webhook delivery for thewebhook channel type.