WhatsApp Business
WhatsApp Business messages and templates (Meta Cloud API)
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- System user access tokenSecretRequired
- Phone number IDRequiredIdentifier
- Graph API versionOptionalIdentifier
Where to find them
- At business.facebook.com → “Business settings” → “System users” → “Add” (admin role).
- On that user, “Assign assets”: the Meta app (full control) and the WhatsApp Business account.
- Generate a token: choose the app, the expiration (“Never” avoids renewing it) and the permissions whatsapp_business_messaging, whatsapp_business_management and business_management.
- Copy the token and the phone number ID (app dashboard → WhatsApp → “API Setup”).
Tools (2)
WhatsApp Business API request
WHATSAPP_SEND_REQUESTAuthenticated call to the WhatsApp Business API (https://graph.facebook.com/{version}/{phone_number_id}). Any endpoint of the API is allowed. The base already includes the number ID. Examples: POST /messages {"messaging_product": "whatsapp", "to": "34600111222", "type": "text", "text": {"body": "…"}} (free text only within 24 h after the customer's last message; outside that window, "type": "template" with {"name": "…", "language": {"code": "es"}, "components": […]}), GET /whatsapp_business_profile?fields=about,description,email,websites. For the WhatsApp Business account use the full URL: GET https://graph.facebook.com/v26.0/{waba_id}/message_templates?fields=name,status,language, GET https://graph.facebook.com/v26.0/{waba_id}/phone_numbers.
Required scopes
No scopes required
Input
WhatsApp Business API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Send a message
WHATSAPP_SEND_MESSAGESend a text (only within 24 h after the customer's last message) or an approved template (required to start the conversation; marketing and utility templates have a cost).
Required scopes
No scopes required
Input
Send a message input Name Type Description torequiredstringRecipient number with country code, e.g. 34600111222 textstringFree text (instead of a template) templatestringName of the approved template languagestringTemplate language code, e.g. en_US, es or pt_BRDefault: "en_US"parametersstring[] | objectTemplate body variables: ordered list ({{1}}, {{2}}…) or an object if they are named

