WhatsApp¶
Connect Echo Agent via WhatsApp Business API.
Overview¶
The WhatsApp channel uses Meta's WhatsApp Business API (Cloud API) and receives messages via Webhook.
Configuration¶
channels:
whatsapp:
enabled: true
phoneNumberId: "your-phone-number-id"
accessToken: "your-access-token"
verifyToken: "your-verify-token"
webhookPath: "/whatsapp"
host: "0.0.0.0"
port: 8085
Capabilities¶
| Capability | Supported |
|---|---|
| Edit messages | ❌ |
| Reactions | ❌ |
| File send | ✅ |
| Realtime | ✅ |
| Group chat | ✅ |
Setup¶
- Create an app at Meta for Developers
- Add WhatsApp product
- Get Phone Number ID and Access Token
- Configure Webhook URL:
https://your-domain/whatsapp - Set Verify Token to match your config
- Subscribe to
messagesevents