All articles on Cognigy.AI's native WhatsApp Endpoint
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.
Then in the Sidebar navigate to Users > System Users
Add a “System Username” and choose a role.
Click “Add Assets”
Go to “Apps”, select the app and enable the “Manage App” option and save changes.
Click “Generate Token” and choose the App you want to generate a token for.
From available permissions choose “whatsapp_business_messaging” and “whatsapp_business_management” and click “Generate token”.
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.