+55 (21) 960104492
Log In Free trial
Select region

WhatsApp Cloud API connection

The WhatsApp Cloud API is an integration directly with the WhatsApp API, unlike the Business API, where you connect through a provider. The tool's mission is to make things easier for businesses: you can get access in 5-15 minutes and don't have to spend on buying a server or contacting an internet service provider. Developers can create applications using WhatsApp in a more convenient way and increase the speed of processing messages from customers. 

Russian companies are prohibited from funding Meta*. We recommend using WhatsApp Business API, where the connection is made through the provider.

WhatsApp Cloud API creation

If you already have WhatsApp Cloud API, go straight to the next section of this article and read the instructions on how to connect to ChatApp. If you don't have WhatsApp Cloud API yet, you need to follow the steps below before connecting to ChatApp:

1) Go to the Meta* for developers page;

2) On the top menu click Get Started;

3) Click Continue;

4) Enter Email address;

5) Check the box to accept the newsletter and click Send Email;

If you see the error The Email address you entered is already in use on another Facebook account, you need to enter another email address or unlink the email from your Facebook* page. Here is how to do it:
1. Log in to your Facebook* page;
2. Click on the profile icon;
3. In the drop-down window, select Settings and PrivacySettings;
4. In the menu on the left, click on See more in Account Center;
5. Click on Personal DetailsContact Info;
6. Select the e-mail you want to delete;
7. Click Delete email addressDelete.

6) In the opened window enter the code that was sent to the specified E-mail address. Click Continue;

7) Select Developer;

8) Click Complete registration.

Go to the Meta for Developers page and create an app, for that: 

1) Select My Apps from the top menu.

2) Click on Create App and select Other.

https://files.kaiten.ru/c7b5e57d-5da9-40e0-902a-5f5ca174c06c.png

https://files.kaiten.ru/294f3d37-1d00-4791-96da-3a85d602a74c.png

3) In the next step: enter the App Name, Contact email, and select the Business Manager Account.

crean an app

4) Click on Create app.

create an app

In the app settings, add WhatsApp. To do this:

1) In the menu on the left, click Dashboard.

2) On the WhatsApp tab, tap Set up.

https://files.kaiten.ru/582adb65-be5c-4a2f-af44-9de808d10c26.png

3) The WhatsApp tab will appear in the menu on the left. Open it and go to API Setup.

4) In the opened window, click Add phone number.

https://files.kaiten.ru/9367e737-eebe-4e79-880d-50d4b387d8b3.png

5) In the opened window, enter the Display Name, Timezone, Category, and Company Description.

6) Enter your phone number. You will receive a message with a confirmation code.

If you see the error This number is registered to an existing WhatsApp account..., you need to use another phone number or delete the WhatsApp account from your number. Here's how to do this:
1) From your phone, go to the WhatsApp app that this number is connected to;
2) Tap SettingsAccountDelete account;
3) Enter the phone number and tap Delete account.

7) Enter the code that you received in the message, and click Next.

1) In FBM settings, go to the System Users menu.

System users\

2) Enter the system user name and click Create system user.

3) Next, you need to give the system user access to the app. Go to the App menu and select the previously created app. In the app, select Add People.

To create an access token: 

1) Go to the System Users menu, select the system user and click Generate New Token.

new token

2)  Next, select the app.

3) Next, select the permissions as shown in the screenshot.

4) In the next window of the created token, copy the token.

1) Go to the Meta for Developers page and create an application by selecting My Apps from the top menu.

2) Go to the Webhooks.

https://files.kaiten.ru/8f02ef07-c0d6-48e9-858a-b4fc2930f77c.png

3) Click on the Edit Subscription button.

4) Insert the link https://api.chatapp.online/v1/webhooks/caWhatsApp in the Callback URL field.

5) Enter v8WxwE in the Verify token field.

https://files.kaiten.ru/bb49c1bc-dec2-4391-8312-d845356139b4.png

6) Enable messages option.

https://files.kaiten.ru/66f75e64-064c-4cfc-ae39-4e8645ccf2c3.png

1) Go to API Settings (see Step 3);

2) At the bottom of the page click Add payment method;

3) Click Payment settingsAdd payment method;

4) Select your country, currency, and timezone;

5) Enter your card info. Click Save.

WhatsApp Cloud API connection in a personal account.

1) Buy a line or request a demo.

2) Go to the Selected company section in the left menu and click on the Line.

settings line

3) Select the WhatsApp Cloud API channel, and click connect.

channel WhatsApp Cloud API
Login with Facebook
login

4) Select the company.

business

5) Select the WhatsApp account.

WhatsApp account

6) Click Save.

7) Click Got it.

Got it

8) After authorization, select the company phone number.

select phone number

9) Next, you need to enter the system user token.

System user token

The connection is ready!

You can now go to Dialogs.pro and write to the customer.

  1. Click on button and Add contact.send message
  2. Select the WhatsApp Cloud API messenger.
  3. Select a line.
  4. Enter the client's phone number.
  5. Select a template to send the message.
  6. Click Send.

*Facebook is owned by Meta, recognized as an extremist organization in the Russian Federation

Tutorial video on how to connect WhatsApp CloudAPI

If you still have questions, you can watch the video on how to connect the Cloud API.

Leave a request for integrator services