Back to Help Center
API

Creating API Keys

Generate and manage API access tokens

Creating API Keys

Authenticate with the Statly API.

Generate a Key

  1. Go to Settings > API Keys
  2. Click Generate New Key
  3. Give it a descriptive name
  4. Copy the key immediately (shown only once)

Key Permissions

All API keys have full access to your organization's data.

Using the Key

Include in the Authorization header:

Authorization: Bearer your-api-key

Key Management

  • Revoke: Immediately invalidates the key
  • Regenerate: Creates a new key, invalidates old
  • Track last used timestamp

Security Best Practices

  • Use environment variables, not source code
  • Rotate keys periodically
  • Use separate keys for different environments
  • Revoke unused keys

Related Topics

Was this helpful?

Help us improve our documentation