WhatsApp Endpoint: Deploy Native Endpoint


  • Meta/Facebook Business account 
  • A WhatsApp Endpoint on Cognigy.AI

Create an App for WhatsApp Cloud API on Meta

On Facebook (https://developers.facebook.com/apps/) click Create App. 

Choose Business as an app type and click Next. 


Add a Display name for your app. Next add an App Contact Email, and a Business Account on Meta/Facebook if you have one. 


Click “Create App” 

After your app is created, you will need to add products to your app. Find a WhatsApp option in the List provided and click Setup. 


You will be asked to add a Meta/Facebook existing Business Account. Select your desired account and click Continue. 


You will be taken to a “Getting Started” Dashboard. 


You will be provided with a test phone number that your WhatsApp Cloud API will send messages from. This number will appear as the sender number.

Add a To number for testing and click Send message. You should receive your first message on WhatsApp from the test number provided by Meta above. 



The connection to WhatsApp Cloud API is established. 


Connect to WhatsApp Cloud API with Your WhatsApp Endpoint

 On the Cognigy AI platform, go to Deploy > Endpoints, select the WhatsApp Endpoint that you created, and use the Endpoint URL from the Webhook section. 

Expand and fill in the fields within the WhatsApp Setup section. 


App ID and App Secret are optional fields. App ID and Secret can be found by navigating to Settings > Basic in the Sidebar of your App Dashboard. 


Access Token is the temporary access token provided in the “Getting started” dashboard. This is a required field. 


Phone Number ID can be found in the “From” section of the “Getting Started” dashboard. This is a required field. 


Verify Token is a random value you create for later use, to connect this Endpoint to WhatsApp Cloud API.


Validate Your Webhook

To connect to the WhatsApp Endpoint on Cognigy.AI, you will need to validate a Webhook connection. 
Go to Configuration > Webhook in the sidebar menu of your Meta/Facebook Developer Dashboard. In the Webhook section, click Edit. 



Add the Endpoint URL into Callback URL field, and the Verify Token you created in the WhatsApp Endpoint Setup section to the Verify Token field. 


Click Verify and save.

Next, our Webhook needs to be subscribed to the message event. To do this, follow these steps:

  1. In the left-side menu, select WhatsApp > Configuration.
  2. On the Configuration page, go to Webhook > Webhook fields.
  3. Click Manage.
  4. In the Messages row, select Subscribe.





Article is closed for comments.

Was this article helpful?
1 out of 1 found this helpful