...
https://<public_ctlivedomain>/ctlivesocial/<tenantname>/whatsapp/<appid>
Phone number: a valid phone number you want to connect to your WhatsApp Business account
Creating a new Facebook app
...
Then follow the following steps in the wizard:
Link your Business account to the app.
Select the type of app. App types determine which products can be added to an app in the app dashboard and what permissions and features can be requested for approval through the app review process. For this app, choose “Business” type.
...
Enter details about the app such as app name, email address, and purpose. Do not forget to link your Business account to the app. Then press the "Create App" button to finish the creation process.
...
Installation steps
...
Under the section WhatsApp, select the “Getting started” “API Setup” option and go to step 5 Add a phone number to start sending messages to any WhatsApp number.
...
Fill the inputs, insert the phone number that you want to use as business number and verify it.
...
You can later complete the profile information of your phone number by clicking “see the Overview page.” on step 5:
...
Set up the webhook for your app
Under the section WhatsApp, select the “Configuration” option
In the "Callback URL" field, enter the public URL for your webhook.
In the "Verify token" field, enter the verification token for your webhook.
Click "Verify & Save" to confirm the callback URL. The WhatsApp platform will send a GET request to your webhook with the verification token you provided. If your webhook is valid and configured correctly to respond to the verification request, the settings of your webhook will be saved.
...
...
Add app to your Business Manager
...
System users represent servers or software that make API calls to assets owned or managed by a Business Manager
to add a system user to your Business Manager, follow this guide Add System Users to Your Business Manager
Go to Business Settings
Below Users, click System Users.
Click Add New System User
Give a name to the system user, give him Admin access and click Create System User
Assign your app as Assets to the user created and give the user full control
...
Generate Permanent token
Go to Business Settings of your Business Manager
Below Users, click System Users.
Select the user created in the previous step
click Generate New Token
select your app
Make sure you have checked the “Available permissions”: whatsapp_business_messaging, whatsapp_business_management
click Generate Token
save and store the generated token in the connector configuration on MongoDB
...
Set up the webhook for your app
Under the section WhatsApp, select the “Configuration” option
In the "Callback URL" field, enter the public URL for your webhook.
In the "Verify token" field, enter the verification token for your webhook.
Click "Verify & Save" to confirm the callback URL. The WhatsApp platform will send a GET request to your webhook with the verification token you provided. If your webhook is valid and configured correctly to respond to the verification request, the settings of your webhook will be saved.
manage the webhook fields and be sure you are subscribed to the following: account_review_update, account_update, message_template_status_update, messages, phone_number_name_update, phone_number_quality_update
...