Personal access tokens allow you to securely integrate other applications into Xentral and give them access to the Xentral API. These applications can be small scripts that you developed or a customization by a Xentral partner. With personal access tokens you can use the API with multiple applications at the same time.
Make sure that you have administrator privileges before you try to create a personal access token.
To create a new personal access token:
Click on your username on the bottom left to open the administration menu and then click Account settings.
Go to Developer Settings > Personal Access Tokens. You will see a list of all tokens in active use.
Click on + Create Token. If there are no tokens active, you will find the button in the middle of the screen. Otherwise you will find it on the top right of your list.
Enter a unique Name for your token. The name should not exceed 50 characters.
Click Create Token. The new token will appear on screen.
Copy the token by clicking on . The message The token has been copied to clipboard will appear.
After you close the window you won't be able to see the token again. Make sure that you save the token before you continue.
Close the window.
The name of the token will now appear in the list of Personal Access tokens.
You can paste the token into the application you want to give access to the Xentral API.
All the personal access tokens you use will be listed under Administration menu > Account settings > Developer settings > Personal Access Tokens. You can edit all the tokens you are using in a limited way. When you click Edit you have two options:
You can change the name of the token to better differentiate it from other tokens. Enter the new Name and click Update Token.
You can remove the access of the software to the API by clicking Delete token. The software you connected with this token will no longer work in the Xentral environment. You can't restore a deleted token.