Overview
A client-mode connector for a curated messaging slice of the WhatsApp Cloud API on Meta Graph v21.0:
Default
BASE_ADDRESS is https://graph.facebook.com/v21.0. Topics use messaging/whatsapp-business-platform/<object>/<verb>.
All events send
Authorization: Bearer {access_token} (system user / permanent token). Prefer Hub secrets (WHATSAPP_ACCESS_TOKEN / WHATSAPP_TOKEN). Use the WhatsApp Business phone number ID in the path — not the customer MSISDN. Graph returns OAuthException 190 on bad tokens. Status remains blocked until an authenticated live smoke succeeds.Basic Syntax
Auth and secrets
- Create a Meta app with WhatsApp product / Cloud API access and a system user (or permanent) token with
whatsapp_business_messaging(and related) permissions. - Store the token as Hub secret
WHATSAPP_ACCESS_TOKEN(aliasWHATSAPP_TOKEN). - Note your WhatsApp Business phone_number_id and WABA id from Meta Business Suite / WhatsApp Manager.
- Publish MQTT JSON that includes
access_token(or inject via Hub) plus path ids.
Example payloads
Phone smokeInstall
- The template ships with the broker. List it with
-listTemplatesor fetch it from the Hub catalog. - Deploy
WhatsAppBusinessPlatformRestApi.lotonly (nothub-metadata.lot). - Smoke with
GET /{phone_number_id}→ 200 before sending production templates.
References
- Cloud API overview
- Messages reference
- Text messages
- Meta Postman: WhatsApp Business Platform collection
- Coreflux: REST API Connectors

