Generating my API token
Pennylane’s Company API uses bearer tokens to authenticate requests. You can view and manage your token in the Pennylane enterprise dashboard.
About Company tokens
A token can only be linked to one company. But a company can be associated to several tokens and each token can grant access to different API scopes.
As a consequence, you’ll need to create several tokens if:
- You want to grant different levels of access to different users for the same company. You’ll then need to create a new token every time you want to grand access to a new combination of scopes.
- You’re using the Company API with several businesses of yours. You’ll then need to create one token per enterprise, at least.
Generate your Company API token
To generate your Company API token:
- Log into your Pennylane account.
- Navigate to Company settings > Connectivity > Developers.
- Click Generate an API Token.
- Give the token a name and select the scopes you want the token to give access to as well as its expiration date.
- Click Generate token.
- Copy your token and save it somewhere safe. For security purposes, tokens aren’t stored on your Pennylane workspace, so this is your only chance to copy yours.
- Check the box confirming that you have saved your Company API token elsewhere and click Continue.
From there, you can either:
- Generate another token for the same company.
- See existing tokens: name, scopes, creation date and creator.
- Delete existing tokens.
Generate your Company API key
NB : If you do not see the "Developers" tab :
- You are either not allowed to have access -> check with your company admin.
- You are not on the right subscription plan -> you need to upgrade to an Essential plan.
Updated 6 days ago