...
The System User Access Token is used to authenticate while making requests to WhatsApp’s API (so . This token ensures that WhatsApp knows it's a legitimate request and not a hacker request)recognizes the request as legitimate, distinguishing it from potential malicious attempts.
We've summarized how to create a System User Token below. For more details, check out the official guide for more details.
Note |
---|
You should associate the application before generating the token. If you create the token before associating the app to the user, the token may not be created with the right permissions. |
.
On this page:
|
---|
Step 1: Generate System User Access Token on Meta for Developers
...
In the app, go to Business Settings.
...
...
Below Users, click System Users.
...
...
Click Add New System User.
...
Give a name to the system user, and choose the Admin role. Click Create System User.
...
Click the Add Assets button. Navigate to Apps, select yourApp in assets, and turn on the Manage App switcher. Then click Save Changes.
...
...
Click Generate New Token.
...
...
Select your app and business_management, whatsapp_business_messaging and whatsapp_business_managing permissions, then click Generate Token.
...
Note |
---|
You should associate the application before creating the token. If you create the token before associating the app with the user, the token may not be created with the right permissions. |
...
Copy and don’t forget to saveyour System User Token.
...
Remember, you can only share a token once. Each new system user requires a new generated token.
Hooray! 🎉 You have generated a System User Token.
Step 2: Add System User Access Token to Chat
...
Open your project, and click Project Settings > Chat
...
for JSM > WhatsApp
...
Business.
...
Copy the System User Token into the required field.
...
...
Next
...
steps
Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||