The API & CLI Tokens page lets you manage authentication tokens for both REST API calls and command-line operations. Tokens grant scoped access to your Experro workspace, enabling integrations, scripts, and automation tools to interact with your data securely.

What You Can Do on This Page

  1. Switch Between Token Types – Use the API Tokens and CLI Tokens tabs to view and manage each token category separately.
  2. Review Existing Tokens – See all active tokens you’ve generated, along with metadata like name, description, permission scope, and expiration date.
  3. Create New Tokens – Click Create Token on the appropriate tab to generate a fresh token for your integrations.
  4. Copy and Store Tokens Securely – Copy the token value immediately after creation—you won’t be able to view it again. Store it in your secret manager.
  5. Revoke Tokens – Delete any token that’s no longer needed or that may be compromised to immediately cut off access.

API Tokens Settings

FieldDescription
NameA descriptive label for your token (e.g., “CI/CD Pipeline Token”). Helps you identify its purpose later.
DescriptionA brief note about where or how this token will be used (e.g., “Used by our internal jobs to deploy dashboards”).
PermissionsChoose Read Only (view and list operations) or Full Access (create, update, delete). Grant the least privilege needed for your use case.
ExpirationSelect a calendar date when the token will automatically expire. Shorter lifespans reduce risk so consider rotating tokens every 30–90 days.
After clicking Save, the token string is shown only once. Copy it immediately and store it in a secure vault.

Creating an API Token

  1. Navigate to the API Tokens tab and click Create Token.
  2. Fill in Name, Description, Permissions, and Expiration.
  3. Click Save.
  4. Copy the generated token value and store it securely; you cannot retrieve it again later.

CLI Tokens Tab

The CLI Tokens tab follows the same workflow and fields as API Tokens, but generates tokens specifically scoped for use with the Experro CLI tool. Use CLI tokens to develop a theme locally or publish theme using the Experro CLI.. Keep your tokens tightly scoped, rotate them regularly, and revoke any that are no longer in active use to maintain the security of your workspace.