Channels
WhatsApp Cloud API
Connect a WhatsApp Business number through the Meta WhatsApp Cloud API.
Connect a WhatsApp Business phone number through Meta's official WhatsApp Cloud API. (STINGIM also offers a QR-code login for regular WhatsApp accounts under Settings → Channels → WhatsApp; this guide covers the Cloud API.)
Before you start
- A Meta app with the WhatsApp product, a WhatsApp Business Account (WABA) and a registered phone number.
- Admin access to Meta Business Settings.
1. Create a permanent token
In Meta Business Settings, create a System User, assign it the WhatsApp account and the app, and generate a permanent token with these permissions:
whatsapp_business_messagingwhatsapp_business_management
Also copy the app's App secret (Meta app → Settings → Basic). STINGIM uses it to verify webhook signatures.
2. Add the number in STINGIM
Open Settings → Channels → WhatsApp Business (Cloud API) and fill in:
| Field | Notes |
|---|---|
| Display name | Optional; defaults to the verified name from Meta |
| WhatsApp Business Account ID | 5–32 digits |
| Phone number ID | 5–32 digits (not the phone number itself) |
| System User access token | The permanent token from step 1 |
| App secret | From Meta app → Settings → Basic |
Click Connect number. STINGIM checks the IDs and token against the Graph API before saving. A number can be connected to only one project.
3. Configure the webhook in Meta
- In STINGIM, open the number's Manage page and copy its Callback URL (
https://api.stingim.com/v1/channel/wacloud-webhook/<channel id>) and Verify token. - In your Meta app go to WhatsApp → Configuration, paste both values and click Verify and save.
- Subscribe to the webhook fields
messagesandmessage_template_status_update.
Several numbers under the same Meta app can share one callback URL. STINGIM verifies every request with the X-Hub-Signature-256 header and your App secret.
Messaging rules
- 24-hour customer service window: you can send free-form replies within 24 hours of the customer's last message. Outside it, only approved templates can be sent (otherwise Meta error 131047).
- Templates sync from Meta every 30 minutes (or click Sync from Meta). You can also create a template in STINGIM with New template and submit it for review.
- Inbound: text, images, stickers, audio, video, documents, location, contacts, interactive replies and buttons. Reactions are ignored. Media up to 60 MB.
- Outbound: text, images (JPEG/PNG), video (MP4/3GPP), audio (AAC/MP4/MPEG/AMR/OGG/Opus) and documents; other file types are sent as documents. Reply and link buttons are supported.
- Outbound throughput is limited to 50 messages per second per number.
Found a mistake? Email [email protected]
