WhatsApp Endpoint: Get a Permanent Access Token

To get a permanent access token, that does not expire after 23 hours, you will need to go through a few  steps.  

Go to the Business settings of the Business your app is registered with on the Meta/Facebook Developer Dashboard. To do that, just click on the Business name that appears as a link in blue.

 

blobid0.png

 

Then in the Sidebar navigate to Users > System Users 

 

Click “Add” 

blobid1.png

 

Add a “System Username” and choose a role. 

blobid2.png

 

Click “Add Assets” 

blobid3.png

Go to “Apps”, select the app and enable the “Manage App” option and save changes. 

blobid4.png

 

Click “Generate Token” and choose the App you want to generate a token for. 

blobid5.png

 

From available permissions choose “whatsapp_business_messaging” and “whatsapp_business_management” and click “Generate token”. 

blobid6.png

Use the generated “Access token” instead of the “Temporary token” that was provided before, and use it in the “WhatsApp Settings” on the Cognigy.AI platform as an Access Token. 

 

 


Comments

0 comments

Article is closed for comments.

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