Creating a Permanent Access Token

Knowing that you need to use a bearer token in the Authorization header of an HTTP request is helpful, but it’s not enough. The only access token you’ve seen so far is temporary. Chances are that you want your app to access the API for more than 24 hours, so you need to generate a longer-lasting access token.

Fortunately, the Meta for Developers platform makes this easy. All you need to do is add a System User to your business account to obtain an access token you can use to continue accessing the API.

To create a system user, do the following:

  • Select the business account your app is associated with.

  • Below Users, click System Users.

  • Click Add.

  • Name the system user, choose Admin as the user role, and click Create System User.

  • Select the whatsapp_business_messaging, whatsapp_business_management, catalog_management permission.

  • Click Generate New Token.

  • Copy and save your token.

Then paste to Kuasa platform. Click here https://blast.kuasa.io/whatsapp-integration.php

Last updated