API Tokens allow to safely and securely retrieve all of your Calibre performance monitoring information. They can be used as a method of authentication when using the CLI, Node.js API or the GraphQL API to export data or build automations.
There are two types of API Tokens in Calibre: Admin and Personal Access Tokens (PAT), which are available depending on the level of access to the organisation you are a member of:
Admin Tokens | Personal Access Tokens (PAT) | |
---|---|---|
Token permissions | All available permissions | Permissions scoped to the level of access of your account |
Who can create this token? | Administrators only | Anyone with a Calibre account |
Who can edit this token? | Administrators only | Administrators and token creators |
Who can revoke this token? | Administrators only | Administrators and token creators |
Which Teams can be accessed with this token? | All Teams in the Organisation | All Teams you are a member of |
Anyone with a Calibre account can create a Personal Access Token (PAT). Administrators and Users can select all permission options. Viewers can only select the Read Site option, as their account is read-only. Learn more about account types and levels of access to Calibre.
To create a Personal Access Token, click your avatar in the main navigation and then click the Personal Access Tokens link.
To create an Admin Token, click Manage in the main navigation, and then navigate to the API tab. You will be able to add a new token by clicking Create a new API Access Token or Create a new Personal Access Token buttons.
To add a token:
Each token has access to a single Team and its Sites. The token permissions you can select depend on the type of your Calibre account. To save the token, click the Create token button.
Once you create the token, we will only display it once. Make sure to save it in a safe place, such as your password manager.
You can edit API Tokens at any time.
When you revoke a token, it’s access to Teams and Sites will be blocked immediately. If you have automations relying on specific tokens, make sure to replace them with valid API tokens before revoking the old ones.
As an administrator, you can quickly find an API Token using the search field in the upper right corner of the API tab. You can query by:
On both the API tab and the Personal Access Token page, you can sort the API Tokens table by clicking on the headings. For example, click on Expires at to see expired tokens.
On this page