How to Generate Permanent Access token in WhatsApp Cloud API 2024 | Access token debugger | New 2024

Published: 14 May 2024
on channel: Programming Make Sense
3,123
43

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:

Go to Business Settings.

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 permission.
Click Generate New Token.
Copy and save your token.

#MetaforDevelopers
#APIToken
#SystemUser
#BusinessSettings
#Authorization
#BearerToken
#WhatsAppBusiness
#AccessManagement
#APIIntegration
#DeveloperTips


Watch video How to Generate Permanent Access token in WhatsApp Cloud API 2024 | Access token debugger | New 2024 online without registration, duration hours minute second in high quality. This video was added by user Programming Make Sense 14 May 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,12 once and liked it 4 people.