Skip to content

WhatsApp (Meta Cloud API)

Connect your own Meta app and WhatsApp Business number. Each connected number is answered by one published text agent. Messages go straight between Meta’s Cloud API and NuacemOne; Meta bills you for conversations under your own account.

  • A WhatsApp Business Account in Meta Business Manager, with a phone number registered for the Cloud API (WhatsApp Manager shows it as Connected).
  • A Meta app with the WhatsApp product added.
  • A system user in Business Manager with access to that WhatsApp Business Account, and a permanent access token for it with the whatsapp_business_messaging permission.
  • A text agent with WhatsApp turned on in its Channels, and published.
  • You are an organisation admin in NuacemOne.
  1. In Meta for Developers, open your app.
  2. Go to WhatsApp → API Setup and copy the Phone number ID of your business number. (This is not the phone number itself.)
  3. Go to App settings → Basic and copy the App secret.
  4. In Meta Business Manager, go to Business settings → System users. Create a system user (or use an existing one), give it access to your WhatsApp Business Account, and generate a permanent token with whatsapp_business_messaging. Copy the token.

Keep this tab open. You come back to Meta after connecting in NuacemOne to set the webhook.

  1. Go to Settings → Channels → WhatsApp and choose Connect number.
  2. Enter:
    • Name: a label, for example “Support line”.
    • Business number: the number in international format, for example +91XXXXXXXXXX.
    • Phone number ID: from WhatsApp → API Setup.
    • Agent: the text agent that answers. Only its live version answers.
    • Access token: the permanent system-user token. Stored encrypted; you won’t see it again.
    • App secret: used to check that webhook calls really come from Meta. Stored encrypted.
  3. Choose Connect. NuacemOne checks the token and phone number ID with Meta.
  4. On the new connection, open Webhook and verify token. Copy the Webhook URL and the Verify token shown in the console.
  1. In your Meta app, go to WhatsApp → Configuration → Webhook.
  2. Paste the Webhook URL and Verify token you copied from the console. Choose Verify and save.
  3. Under Webhook fields, subscribe to messages.
  4. Subscribe your WhatsApp Business Account to the app: in WhatsApp Manager, open the account → Apps and add your app. (Or call POST /<WABA_ID>/subscribed_apps on the Graph API.) Without this, Meta sends nothing even when the webhook is set.
  • Text: answered by the agent. The message is marked as read and a typing indicator shows while the agent works.
  • Documents (PDF, Word, Excel, CSV, text): checked, scanned and read like a web chat upload.
  • Voice notes: turned into text and answered, in text or with a voice note. See Templates and formatting.
  • Shared locations and contacts: passed to the agent as text.
  • Reactions: recorded, not answered.
  • Images, stickers and video: the agent replies that it can read text and documents only.
  • STOP: see Opt-out.

Each WhatsApp user gets their own chat with the agent. Chats show in the console under Chats, linked to the contact by phone number.

  • Answered by: change the agent on the connection card. The new agent must be published, have WhatsApp on, and you must be allowed to publish both agents.
  • Turn off / Turn on: from the connection’s menu. While off, messages to the number are not answered.
  • Disconnect: messages to this number will no longer be answered. Remove the webhook in Meta as well if you no longer use the app.
  1. From a personal WhatsApp account, send “Hi” to the business number.
  2. The message gets blue ticks and the agent replies within a few seconds.
  3. Check the chat in the console under Chats.

If you use Meta’s test number, add your own phone as a recipient in WhatsApp → API Setup first.

  • The number shows Connected in WhatsApp Manager and has a display name approved by Meta.
  • The access token is a permanent system-user token, not a temporary one from API Setup.
  • The webhook is verified, messages is subscribed, and the WhatsApp Business Account is subscribed to the app.
  • The agent under Answered by is published.
  • You have sent a test message and seen the reply.
  • Your team knows how STOP and START work.

Meta charges for WhatsApp conversations and sets messaging and throughput limits per number. See WhatsApp Business Platform pricing and messaging limits. NuacemOne also limits how fast one person can send messages, and chats count towards your organisation’s usage.

Symptom Fix
“Meta refused the access token. Use a permanent system-user token with whatsapp_business_messaging.” Generate a permanent token for a system user with that permission. Temporary tokens from API Setup expire within a day.
“The token can’t use this phone number. Give the system user access to the WhatsApp account that owns it.” In Business settings, give the system user access to the WhatsApp Business Account, then generate the token again.
“Meta doesn’t know this phone number id for this token.” Copy the phone number ID from WhatsApp → API Setup or WhatsApp Manager.
“That phone number id belongs to a different number (ending NNNN).” The Business number does not match the phone number ID. Fix one of them.
“Meta could not be reached to check the number.” Try again shortly.
“Turn on WhatsApp in this agent’s channels first.” / “Create a text agent first.” Turn on WhatsApp in the agent’s Channels.
“Publish this agent before it answers a WhatsApp number.” Publish the agent.
“This number is answered by an agent you cannot publish.” Ask the agent’s owner or an organisation admin to move it.
Meta says the webhook cannot be verified Paste the URL and verify token exactly as the console shows them, with no spaces. Check the connection is on.
The webhook is verified but no replies come Subscribe to the messages field, and subscribe the WhatsApp Business Account to the app (step 4 above). Check the connection is on.
Replies stopped for one person They sent STOP. They can send START to chat again.
Messages for one number on a shared app go unanswered Connect that number in NuacemOne too. Messages for numbers you have not connected are dropped.