Connect your WhatsApp Business number
This guide takes you from zero to receiving WhatsApp messages in WapiManager: creating your Meta business and developer app, adding your phone number, creating a permanent access token, and setting up the webhook.
Meta occasionally renames menus. If a label looks slightly different, look for the closest match; the steps stay the same.
Overview
WapiManager uses Meta's official WhatsApp Cloud API. You own the Meta account and the phone number; WapiManager connects to it with credentials you create. You'll collect four values and set up one webhook:
| Value | Where it comes from | Used for |
|---|---|---|
| Phone Number ID | App → WhatsApp → API Setup | Sending messages |
| WhatsApp Business Account ID | App → WhatsApp → API Setup | Templates |
| Permanent access token | Business Settings → System users | Authenticating with Meta |
| App Secret | App settings → Basic | Verifying incoming webhooks |
Costs: WapiManager charges only your plan. Meta bills you directly for WhatsApp conversations (business-initiated messages; many customer-initiated conversations are free). See Meta's WhatsApp pricing.
Video guide
Prefer watching? The same steps in five short videos (about 11 minutes in total). Each video is also shown next to its steps below.
Before you start
- A personal Facebook account (used to log in to Meta's business tools).
- A phone number for your business that can receive an SMS or voice call. It must not be active on the WhatsApp or WhatsApp Business app. If it is, open that app → Settings → Account → Delete my account first (back up your chats if you need them).
- A business website and a privacy policy URL (needed to switch your Meta app to Live).
- A credit/debit card for Meta's conversation charges.
- A WapiManager account (start your free 30-day trial).
Step 1 · Create a Meta Business portfolio
- Go to business.facebook.com and log in with Facebook.
- Click Create an account (or Create a business portfolio).
- Enter your business name, your name and your business email, then confirm the email Meta sends you.
Already have a Business portfolio (e.g. for Facebook Ads)? Use that one and skip to step 2.
Later, Meta may ask you to verify your business (Business Settings → Security Center). You can start without it, but verification raises your daily messaging limits and is required for some features. It usually takes a few days and needs official business documents.
Step 2 · Create a Meta developer app
- Go to developers.facebook.com/apps. The first time, click Get started to register as a developer (verify your phone/email).
- Click Create app.
- Choose the use case “Connect with customers through WhatsApp” (on older screens: app type Business).
- Name the app (e.g.
WapiManager – Your Business), enter your contact email, and select the Business portfolio from step 1. - Click Create app. If asked, add the WhatsApp product and click Set up.
- When prompted, pick or create the WhatsApp Business Account linked to your business portfolio.
Step 3 · Add your phone number
- In your app, open WhatsApp → API Setup (sometimes Quickstart → API Setup).
- Scroll to Step 5: Add a phone number (or click Add phone number).
- Fill in your WhatsApp Business profile: display name (must match your business, e.g.
Adam's Bakery), category and description. - Enter the phone number and verify it with the code Meta sends by SMS or voice call.
- If Meta asks for a two-step verification PIN, choose a 6-digit PIN and keep it safe.
Meta reviews your display name; you can send messages while it's pending, but the name shows once approved. You can check the status in WhatsApp Manager → Phone numbers.
Step 4 · Copy your Phone Number ID and Business Account ID
- Still in WhatsApp → API Setup, select your number in the From dropdown.
- Below it, copy the Phone number ID (a long number like
109876543210987, not the phone number itself). - Copy the WhatsApp Business Account ID shown next to it.
The temporary access token on this page expires after 24 hours. Don't use it in WapiManager; create a permanent one in the next step.
Step 5 · Create a permanent access token
A System User token doesn't expire, so your inbox keeps working.
- Open Business Settings → Users → System users.
- Click Add, name it (e.g.
wapimanager) and choose the role Admin. - Select the new system user and click Assign assets (or Add assets):
- Apps → your app from step 2 → turn on Full control (Manage app).
- WhatsApp accounts → your WhatsApp Business Account → turn on Full control.
- Click Generate new token, choose your app, and set Token expiration: Never.
- Tick these permissions:
whatsapp_business_messaging(send and receive messages)whatsapp_business_management(templates, phone numbers, webhooks)business_management(optional)
- Click Generate token and copy it now; Meta shows it only once. It starts with
EAA.
Step 6 · Copy your App Secret
- In developers.facebook.com/apps, open your app → App settings → Basic.
- Next to App secret, click Show (enter your Facebook password) and copy the 32-character value.
WapiManager uses it to check that every incoming webhook really comes from Meta; messages that fail this check are ignored.
Step 7 · Connect your number to WapiManager
- Log in to WapiManager and open Settings → WhatsApp Number.
- Paste the Access token (step 5), Phone Number ID and WhatsApp Business Account ID (step 4), and the App Secret (step 6).
- Click Connect number. WapiManager checks the details with Meta and shows Connected with your phone number.
WapiManager also subscribes your app to your WhatsApp Business Account automatically, so Meta knows where to deliver messages.
Step 8 · Set up the webhook (to receive messages)
The webhook is how Meta tells WapiManager about incoming messages and delivery receipts.
- In WapiManager → Settings → WhatsApp Number, find Step 2 · Configure the webhook. It shows your Callback URL and Verify token with copy buttons.
- In your Meta app, open WhatsApp → Configuration.
- Under Webhook, click Edit and enter:
Callback URL https://wapimanager.com/webhook/whatsappVerify token the token from your WapiManager settings page - Click Verify and save. If it fails, see Troubleshooting.
- Under Webhook fields, click Manage and Subscribe to:
messages(incoming messages and delivery/read receipts)message_template_status_update(template approvals)
Step 9 · Switch your app to Live
Apps start in Development mode, where Meta doesn't deliver webhooks for real customer messages.
- In your app, open App settings → Basic and fill in Privacy policy URL (your website's privacy page), App icon and Category. Save.
- At the top of the app dashboard, switch App mode from Development to Live (on newer dashboards: Publish).
Step 10 · Add a payment method in Meta
- Open WhatsApp Manager → Account tools → Payment settings (or Billing).
- Add your card. Without it, you can only reply within 24-hour customer service windows and some sends will fail.
Step 11 · Test it
- Receive: from your personal WhatsApp, send “Hi” to your business number. Within seconds it appears in WapiManager → Conversations (and as a push notification in the Android app).
- Reply: answer it from the conversation. Free-text replies work for 24 hours after the customer's last message.
- Check delivery: your reply shows ✓ (sent), ✓✓ (delivered) and blue ✓✓ (read).
Using Meta's test number? Add your personal number as a recipient first: API Setup → To → Manage phone number list.
Step 12 · Create your first message template
To message someone who hasn't written to you in the last 24 hours (e.g. order updates, reminders, bulk campaigns), WhatsApp requires an approved template.
- In WapiManager, go to Templates → New template.
- Pick a category (Utility for order updates/alerts, Marketing for promotions), a language, and write the body. Use
{{1}},{{2}}for variables, e.g. “Hi {{1}}, your order {{2}} has shipped!”, and give sample values. - Click Submit for review. Approval usually takes minutes, sometimes up to 24 hours. The status updates automatically.
- Once approved, send it from Send Message or Bulk Messages.
Templates you already created in WhatsApp Manager can be imported with Templates → Sync from Meta.
Next steps
- Import contacts: Contacts → Import CSV (columns
name, phone, email, tags), and organise them into groups for bulk sends. - Invite your team: Settings → Team. Agents handle the inbox; admins can also manage the number, team and API keys.
- Get the Android app: push notifications for new messages, replies on the go, and your subscription after the free trial. Google Play.
- Connect your systems or AI assistant: create a key in Settings → API Keys to use the REST API, or connect AI assistants: GPT, Claude or Gemini models via Claude, Cursor, VS Code with GitHub Copilot, Windsurf or Gemini CLI (instructions are on that page).
Troubleshooting
| Problem | What to do |
|---|---|
| “Invalid access token or Phone Number ID” when connecting | Use the Phone number ID from API Setup, not the phone number. Make sure the token is the permanent System User token (step 5) with both WhatsApp permissions, and that the system user has the WhatsApp account assigned. |
| Everything stopped working after a day | You used the temporary token from API Setup. Create a permanent token (step 5) and click Update token in Settings → WhatsApp. |
| Webhook “Verify and save” fails | Copy the Callback URL and Verify token again from WapiManager (no extra spaces). Your number must be connected in WapiManager first (step 7). |
| Messages to my number don't appear in WapiManager | Check: webhook field messages is subscribed (step 8); the app is Live (step 9); the App Secret in WapiManager matches App settings → Basic (wrong secrets make WapiManager ignore messages); the number shows Connected. |
| Error 131047 / “Re-engagement message” | More than 24 hours passed since the customer last wrote. Send an approved template instead. |
| Error 131030 / “Recipient not in allowed list” | You're using Meta's test number. Add the recipient under API Setup → Manage phone number list, or add your real number (step 3). |
| Error 133010 / “Account not registered” | Finish registering the number in WhatsApp Manager → Phone numbers (it may ask for the 6-digit PIN from step 3). |
| Error 131042 / payment issue | Add or fix the payment method in WhatsApp Manager (step 10). |
| Error 190 / token invalid | The token was revoked or the system user lost access. Generate a new token (step 5) and update it in WapiManager. |
| “Phone number is already registered on WhatsApp” | Delete the WhatsApp account on that number in the WhatsApp / WhatsApp Business app first, wait a few minutes, then add it again. |
| Template rejected | Common reasons: promotional content in a Utility template, missing sample values, variables at the very start or end, or misleading wording. Edit and resubmit as a new template. |
| Sending stops after many messages | New numbers have daily limits on business-initiated conversations (starting around 250/day). Limits rise automatically with good quality and business verification. |
Still stuck? Log in and check Message Log: failed messages show Meta's exact error.