Chatilo
USDPrices shown in US dollars Sign in Start free trial

Connect a real WhatsApp number

Get four values from Meta, enter them in Chatilo, paste the webhook address back into Meta, and test that messages flow both ways.

Last updated

On this page
  1. The quick way: Continue with Facebook
  2. Before you start
  3. Part 1: Collect four values from Meta
  4. Part 2: Enter the values in Chatilo
  5. Part 3: Add the webhook in Meta
  6. Part 4: Test it
  7. What happens next
  8. Common problems

To send and receive real WhatsApp messages, you connect your WhatsApp Business number to Chatilo through Meta's official Cloud API. There are three parts: collect four values from Meta, enter them in Chatilo, then give Meta a web address so replies can reach your inbox.

Allow 20 to 30 minutes the first time. Meta's own screens change often, so this page describes what to find there in general terms and is exact only about Chatilo's screens.

The quick way: Continue with Facebook

If the WhatsApp numbers page shows a blue Continue with Facebook button, you can skip everything below.

  1. In the sidebar, under Set up, click WhatsApp numbers.
  2. Click Continue with Facebook.
  3. In Meta's window, sign in, choose or create your business and WhatsApp Business Account, and add or pick your phone number. Meta verifies a new number by SMS or a call.
  4. Finish in Meta's window. You come back to Chatilo and see "Number connected."

    If you shared more than one number, Chatilo asks which to connect.

There are no values to copy and no webhook to set up; replies arrive straight away. The number's card says "Connected with Facebook".

The button only appears when whoever runs your Chatilo has switched it on. It is not offered when you sign in at a provider's own address. Without it, or if you prefer to use your own Meta app, follow the steps below. Both ways work side by side, and Enter details by hand opens the form described in Part 2.

Before you start

  • You must be an owner or admin in Chatilo.
  • Your plan must have room for another WhatsApp number. Check Set up → Plan and billing under What you’ve used.
  • You need a Meta Business account, and a Meta developer app with the WhatsApp product added to it, at developers.facebook.com.
  • Your phone number must be added to that app's WhatsApp Business Account and verified by Meta. A number that is still in use in the WhatsApp or WhatsApp Business phone app generally has to be moved to the Cloud API first; Meta's setup screens guide you through that.

Part 1: Collect four values from Meta

Keep a note open and copy these as you go. New to Meta's screens? Find your Phone number ID and the other Meta values walks through creating the app, adding your number and making a permanent token, one step at a time.

The first two are in your Meta app under WhatsApp → API Setup.

ValueWhere to find it at MetaWhat it looks like
Phone number IDWhatsApp → API Setup, next to the number you send fromDigits only. It is not the phone number itself.
WhatsApp Business Account IDWhatsApp → API Setup, near the phone number IDDigits only
Access tokenA permanent token from a System User in your Meta Business settingsA long string of letters and numbers
App secretApp settings → Basic in your Meta appA shorter string. Meta asks for your password before showing it.

About the access token:

  • The API Setup page offers a temporary token. It stops working after a short time, and the connection in Chatilo breaks with it. Use it only for a quick trial.
  • For a connection that lasts, create a System User in your Meta Business settings, give it access to your app and your WhatsApp Business Account, and generate a token that does not expire. At the time of writing, the token needs the whatsapp_business_messaging and whatsapp_business_management permissions.

Treat the access token and app secret like passwords. Chatilo stores both encrypted and never shows them again.

Part 2: Enter the values in Chatilo

  1. In the sidebar, under Set up, click WhatsApp numbers.
  2. Click Connect a number.
  3. Leave My WhatsApp Business number selected at the top of the form.
  4. Type a Label, for example Sales line.

    The label is only for your team, to tell numbers apart.

  5. Paste the Phone number ID.
  6. Paste the WhatsApp Business Account ID.
  7. Paste the Access token.
  8. Paste the App secret.
  9. Click Connect number.

Chatilo checks the details with Meta straight away. If Meta accepts them, you see "Number connected. Finish by adding the webhook in your Meta app." and the number appears on the page with its phone number, a Connected badge and, when Meta reports one, a Quality badge.

At this point you can send, but replies cannot reach you yet. The number's card shows a warning that starts One step left.

Part 3: Add the webhook in Meta

The webhook is how Meta delivers incoming messages and delivery receipts to Chatilo. Each number has its own address and token.

  1. On the WhatsApp numbers page, find your number's card.
  2. Next to Callback URL, click Copy.
  3. In your Meta app, open WhatsApp → Configuration and find the webhook section.
  4. Paste the address into Meta's callback URL field.
  5. Back in Chatilo, click Copy next to Verify token, and paste it into Meta's verify token field.
  6. In Meta, confirm with the verify-and-save button.

    Meta calls Chatilo once to check the token. If it matches, Meta saves the webhook.

  7. Still in Meta's webhook section, find the list of webhook fields and subscribe to messages.

    This one field covers incoming messages and the sent, delivered and read updates for messages you send.

Reload the WhatsApp numbers page in Chatilo. The One step left. warning is gone and Last webhook shows a date and time instead of "Never received".

Part 4: Test it

  1. On the number's card, click Test connection.

    You should see "Connection works. Quality rating: …".

  2. From your own phone, send a WhatsApp message to your business number.

    It appears in Work → Inbox within a few seconds.

  3. Reply from the inbox.

    The reply arrives on your phone, and its ticks in the inbox change as it is delivered and read.

Once a customer has written to you, you can reply freely for the next 24 hours. To write first, or after that time, you need an approved template. See The 24-hour window and What templates are.

What happens next

Common problems

"WhatsApp rejected these details: …"

Meta refused the values. The rest of the message is Meta's own explanation. The usual causes:

  • The access token has expired (a temporary token) or was copied with a character missing.
  • The token's System User has no access to this WhatsApp Business Account, or lacks the permissions listed above.
  • The phone number ID belongs to a different WhatsApp Business Account than the token.
  • You pasted the phone number instead of the phone number ID.

The form opens again with your label and IDs still filled in. Paste the access token and app secret again, because they are never shown back to you.

"Phone number ID" or "WhatsApp Business Account ID" is not accepted

Both must be digits only, between 6 and 25 of them, with no spaces. The access token must be at least 20 characters and the app secret at least 16.

"That phone number ID is already connected."

The number is already connected, in your workspace or in another one. A number can be connected in one place only. Disconnect it there first.

"Your … plan includes … WhatsApp numbers. Upgrade your plan to add more."

You have reached your plan's number limit. A sandbox number counts too. Disconnect one you no longer need, or see Choose or change a plan.

Meta will not verify the callback URL

  • Copy the Callback URL and Verify token again with the Copy buttons. Each number has its own pair; do not reuse another number's.
  • Check that there is no space before or after either value in Meta.

The webhook is verified, but replies still do not arrive

  • Check that you subscribed to the messages field in Meta.
  • Check the app secret. Chatilo uses it to confirm that each incoming message really comes from Meta, and silently refuses messages when it does not match. If you entered the wrong secret, or reset it at Meta later, incoming messages stop while sending still works.
  • For more checks, see Webhook not arriving.

You need to change the access token or app secret

There is no edit form for a connected number. Disconnect the number and connect it again with the new values, then add the new Callback URL and Verify token in Meta, because they change too. Disconnecting removes the number's templates from Chatilo (they stay at Meta, so you can sync them back) and keeps your conversations. See Test or disconnect a WhatsApp number.

The badge says Needs attention

The last Test connection failed. Click Test connection again to see Meta's message. Most often the access token has expired.

Cookies on this site

We use the cookies needed to run the site and keep you signed in. With your OK we also remember choices you make here, such as the currency for prices. We don’t use advertising or tracking cookies. Cookie policy