WhatsApp Cloud API Integration
Introduction
The WhatsApp Cloud API, an extension of the WhatsApp Business API in the cloud, enables businesses and developers to customize interactions and swiftly respond to customer inquiries on WhatsApp. This efficiency is further enhanced as businesses can secure direct approval for the WhatsApp Cloud API from Facebook.
If you have any queries, reach out to us at support@growlytics.in
Integration Pre-reqisites
Here are the basic requirements to set up your WhatsApp number of WhatsApp Cloud API
Create a new app on Meta
Set a system user
Procure and share the following details with our customer support team
Token (refer to Step 21)
Phone Number_ID (refer to Step 9)
WhatsApp Business Account_ID (refer to Step 9)
Steps to Follow
Follow these simple steps to set up your WhatsApp number on WhatsApp Cloud API
Log in to https://developers.facebook.com
Click on 'My Apps'
Select 'Other' and Click on 'Next'
Select an App Type - Business and click on 'Next'
Add an App Name | App Contact Email | Business Account
Redirect to App Dashboard page
Scroll down, Click 'Set Up' on the WhatsApp Block
Click on 'API Set UP'
Enter the phone number under Step 5 on your screen and copy the phone number ID and WA business account ID
Verify the number using the verification code sent on the concerned number
Send a test message to check if the messaging service is available and active
Configure Webhook
Callback URL - https://its.growlytics.in/cht/<API KEY>/whatsapp-cloud-api
Verify token - <API KEY>
Add Webhook fields - select fields
Log in to https://business.facebook.com/settings
Click on 'System Users' in the left hand side panel
Add a System User, Assign a System User Name and Role
Click on 'Add Asset'
Click on 'App' under 'Select Asset Type'
Choose the app and assign full access to the System User you have just created
Click on 'Save Changes'
Click on 'Generate New Token', select the 'Never Expires' option, and share the token along with the phone number ID and WA Business Account ID
Next, you will have to set the callback URL, the procedure for which is as follows
Callback URL - https://its.growlytics.in/cht/<API KEY>/whatsapp-cloud-apiVerify token - <API KEY>
Select the following Webhook Fields
account_review_update
business_capability_update
campaign_status_update
message_template_quality_update
message_template_status_update
messages
phone_number_name_update
phone_number_quality_update
template_category_update
Last updated