WhatsApp Channel (Meta Cloud API)
msend connects directly to Meta’s WhatsApp Cloud API using your own WhatsApp Business Account (WABA). There is no msend-owned Meta app and no third-party BSP required.
Group chats and Meta Embedded Signup are not supported in v1.
Prerequisites from Meta
In developers.facebook.com , you need a Meta App with the WhatsApp product, a WhatsApp Business Account with a phone number, and a permanent System User Access Token with whatsapp_business_messaging and whatsapp_business_management.
| Field | Where to find it |
|---|---|
| Access token | Business Settings → System Users → Generate token (avoid 24-hour temporary API Setup tokens). |
| App secret | Meta App → App settings → Basic (used to verify X-Hub-Signature-256). |
| Phone number ID | Meta App → WhatsApp → API Setup (the numeric ID under the phone number). |
| WhatsApp Business Account ID | Shown next to the Phone number ID in API Setup (required for template syncing). |
Setup
Connect the Channel in msend
On your agent’s page, add a WhatsApp channel with the four values above. msend validates the token and IDs against the Meta Graph API and displays your phone number.
Configure the Meta Webhook
Open the channel page in msend to get your Callback URL and Verify Token. In your Meta App under WhatsApp → Configuration, paste both, verify and save, and subscribe to the messages field (and optionally message_template_status_update).
Send a Test Message
Send a message to your WhatsApp number from a phone. It arrives as a direct conversation with the sender’s E.164 phone number as the identity and their WhatsApp profile name as the display name.
Inbound & Outbound Capabilities
- Inbound: Text, images, audio, video, documents, stickers, locations, contacts, reply context (
in_reply_to), button/list taps (text= title,metadata.button_id= id), template quick replies, and reactions. Media is downloaded immediately by a background job before Meta’s temporary download URLs expire (MAX_ATTACHMENT_BYTESapplies). - Outbound: Text (link previews off), images, audio, video, documents, locations, reply buttons (1–3), list messages (4–10 buttons), reactions, and approved templates.
- Statuses & Opt-Outs: Meta delivery statuses map to
sent,delivered,read, orfailed(with Meta’s error code).STOP-style keywords are automatically recorded as opt-outs. - Rate Limits & Graph Version: Default pacing is 10 messages/second per number (
rate_limit_per_second). SetWHATSAPP_GRAPH_VERSION(defaultv23.0) to keep up with Meta Graph API deprecations.