Skip to content

API Tokens

API tokens provide long-lived credentials for server-to-server integrations, scripts, and automation. Each token is scoped to a specific team.

  1. Navigate to Team Settings

    Open the Catalyzed app and go to Settings (gear icon in the sidebar).

  2. Select API Tokens

    This option is available to team Admins only.

  3. Click Create Token

    Enter a descriptive name (e.g., “CI/CD Pipeline”, “Data Sync Script”).

  4. Copy Your Token

    The token is displayed only once. Copy it immediately and store it securely.

PropertyDescription
NameHuman-readable identifier for the token
TeamThe team this token can access
RolePermission level (currently mirrors your team role)
CreatedWhen the token was created
Last UsedWhen the token was last used for an API request

Include the token in the Authorization header of every request:

Using an API token

Terminal window
export API_TOKEN="cat_tok_..."
curl https://api.catalyzed.ai/datasets \
-H "Authorization: Bearer $API_TOKEN"

View all tokens you’ve created in Settings > API Tokens. You can see:

  • Token name
  • Creation date
  • Last used date
  • Status (active/revoked)

To revoke a token:

  1. Go to Settings > API Tokens
  2. Find the token you want to revoke
  3. Click the Revoke button

Revoked tokens immediately stop working. This action cannot be undone.

You can also revoke tokens programmatically:

Revoke an API token

Terminal window
curl -X DELETE https://api.catalyzed.ai/api-tokens/_wfH8UWN56YW8mFgexoSx \
-H "Authorization: Bearer $API_TOKEN"

Name tokens based on their purpose:

  • production-etl-pipeline
  • staging-data-sync
  • github-actions-deploy

Create separate tokens for each integration. This allows you to:

  • Track usage per service
  • Revoke access for a single service without affecting others
  • Identify which service made specific API calls

Never commit tokens to version control. Use:

  • Environment variables
  • Secrets managers (AWS Secrets Manager, HashiCorp Vault, etc.)
  • CI/CD secrets (GitHub Secrets, GitLab CI Variables, etc.)

For production systems, rotate tokens on a regular schedule:

  1. Create a new token
  2. Update your application to use the new token
  3. Verify the new token works
  4. Revoke the old token
  1. Check the token is correct - Ensure no extra whitespace or truncation
  2. Verify the team - Tokens only work for resources in their team
  3. Check token status - Ensure it hasn’t been revoked
  4. Review permissions - Some operations require Admin role

API tokens share rate limits with the team. If you’re hitting rate limits:

  • Review your request patterns
  • Add caching where appropriate
  • Contact support for limit increases

See the API Tokens endpoints for the complete API documentation.