FOXAFFOXAFHelp Centre
Help Centre › Channels › Channels

Connect WhatsApp with a Meta access token

Updated 2 Dec 2026 · 3 min read

Connect a WhatsApp Business API number you already run in your own Meta developer app, by pasting a permanent access token.

Use this when your WhatsApp number already runs on the WhatsApp Business API in your own Meta developer app. You paste a token, pick the number, point Meta's webhook at FOXAF and send a test.

The Connect WhatsApp Cloud wizard on step 1, Paste your Meta access token

Before you begin

  • You need the Owner or Admin role in FOXAF.
  • You need a Meta developer app with the WhatsApp product added, and a WhatsApp Business Account (WABA) with a number on it.
  • Create a permanent access token for a System User in Meta Business Settings. Give it the whatsapp_business_management and whatsapp_business_messaging permissions and access to your WhatsApp account.
  • Have your App ID and App Secret ready (Meta App → Settings → Basic). They are optional but strongly recommended.

Where to find it

Open Channels (bottom of the sidebar). On the WhatsApp Cloud card, click Manual setup.

Step 1: Paste your token

  1. Paste the token into Permanent access token.
  2. Enter your App ID and App Secret.
  3. Click Discover my WhatsApp setup.

If FOXAF cannot list your WhatsApp accounts, a box Or enter your WhatsApp Business Account ID directly appears. Copy the ID from WhatsApp Manager → Account tools, paste it and click Continue.

Step 2: Pick the business and number

  1. Under WhatsApp Business Account, click your account.
  2. Under Phone number, click the number to connect.
  3. Optional: change Channel name (internal). Only your team sees it.
  4. Click Save channel & continue.

Step 3: Point Meta's webhook at FOXAF

Meta sends incoming messages to a webhook. Without it, customer replies do not reach the Inbox.

  1. Copy the Callback URL and the Verify token with their Copy buttons.
  2. In the Meta developer dashboard, open WhatsApp → Configuration → Webhook → Edit.
  3. Paste both values and save.
  4. Subscribe to the messages and message_status fields.
  5. Back in FOXAF, click I configured it → Test send.

Step 4: Send a test

  1. Pick an approved template under Template.
  2. Type your own number in Recipient (E.164 format), for example +92 300 0100000.
  3. Click Send test and check your phone.

If you see No approved templates yet, send a WhatsApp message to the connected number from your phone instead. It appears in your Inbox within seconds.

When you see All set!, click Go to Inbox or Channel settings.

What happens next

  • The channel appears under Channels → Connected as Active.
  • Meta bills your own Meta account for template messages, at Meta's rates. FOXAF adds nothing. See WhatsApp's 24-hour window and message pricing.
  • Open the channel to see its Configuration, Message Templates, Messaging Limits and Phone Numbers tabs.

Common questions

Meta says the token is rejected. Why? The token is wrong, expired, or lacks a permission. Create a new System User token with both WhatsApp permissions and paste it again.

Why does the hello_world template fail with error 131058? The sample hello_world template only works from Meta's test numbers. Create your own template and wait for Meta to approve it. See Templates.

Messages I send arrive, but replies never reach the Inbox. The webhook is missing or not subscribed. Repeat step 3. You can also find the Callback URL and Verify token on the channel's Configuration tab.

The channel says "Finish setup — register … on the Cloud API". The number is verified but not registered for sending. Enter a 6-digit PIN and click Connect number. Use your existing two-step verification PIN if the number has one.

How do I change the token later? Open the channel. On Configuration, paste the new token in New access token (leave blank to keep) and click Save & re-verify.