Settings

Configure Meta WhatsApp Cloud API Sending

Cloud mode sends through the shop's Meta WhatsApp Business setup instead of a locally linked phone. Credentials and approved templates must match the Meta app exactly.

Menu path
Manage -> Messaging -> SMS & WhatsApp Providers -> WhatsApp
Verified from
Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence

frontend/modules/settings_write.html messaging_wa_cloud, frontend/static/script/js/modules/js/messaging.js, api/src/services/messaging.service.js, api/src/services/whatsapp-cloud.service.js

WhatsApp connection modeSelect Meta WhatsApp Cloud API to reveal the cloud credential and template fields.

Required Meta Values

Posnic fieldGet it fromPurpose
Access tokenThe shop's Meta app / WhatsApp Business configurationAuthorizes the send request; Posnic masks it after save.
Phone number idWhatsApp API setup for the sending numberIdentifies the registered sending number; it is not the visible phone number.
API versionThe version supported by the Meta app, for example v20.0Selects the Graph API contract used for sending.
Template nameAn approved Meta message templateRequired for template-controlled marketing messages.
Template languageThe exact approved template language, for example en_USMust match the template variant approved in Meta.

Configure and Prove Cloud Sending

  1. Sign in as a super admin and open Manage -> Messaging.
  2. Under WhatsApp, turn on Enable WhatsApp.
  3. Choose Meta WhatsApp Cloud API.
  4. Paste the access token and enter the phone number ID.
  5. Enter the API version and the exact approved template name and language used by the shop.
  6. Click Save; a stored access token later appears only as a saved-secret placeholder.
  7. Enter a controlled destination with country code and click Send WhatsApp test.
  8. Confirm both phone delivery and the Meta delivery/error record before enabling operational sending.

Safe Credential Changes

  • Leaving the masked access-token field blank keeps the saved token; enter a value only when rotating it.
  • A new token does not repair a wrong phone number ID, API version, template name or language.
  • Do not paste a personal temporary token into a production shop unless its lifetime and permissions are understood.
  • When Meta rejects a template, compare the exact approved name, language and message purpose in the Meta account.
  • The public demo does not send outbound WhatsApp messages; use the shop's own tenant for the final proof.