API Keys

API keys allow programmatic access to your AnywhereSCADA space. Use them to integrate with external applications, pull historical data, or build custom dashboards.

Creating an API Key

  1. Open a space and navigate to Settings
  2. Find the API Keys section
  3. Click Generate New Key
  4. Copy the key immediately — it is only shown once

Screenshot: API Keys section with Generate New Key button and key list

Important: Store your API key securely. If you lose it, you'll need to generate a new one.

Key Details

Each API key includes:

  • Prefix — a short identifier visible in the key list (for managing multiple keys)
  • Created date — when the key was generated
  • Last used — the most recent time the key was used (helps identify unused keys)
  • Expiration — optional expiration date

Using an API Key

Include the API key in your requests to the AnywhereSCADA API. API keys authenticate through the auth proxy, giving you access to the same data available in the dashboard.

Authentication

Pass the API key as a bearer token in the Authorization header:

Authorization: Bearer your-api-key-here

Revoking a Key

If a key is compromised or no longer needed:

  1. Navigate to the API Keys section in space settings
  2. Click Revoke next to the key
  3. The key is immediately invalidated

Revoked keys cannot be restored. Generate a new key if access is still needed.

Permissions

  • Only owners and admins can create and revoke API keys
  • API keys inherit the permissions of the space they belong to
  • Each key is scoped to a single space

Best Practices

  • Rotate keys regularly — revoke old keys and generate new ones periodically
  • Use separate keys for different integrations so you can revoke one without affecting others
  • Never commit keys to version control — use environment variables or secret management
  • Monitor "last used" dates and revoke keys that haven't been used recently

Next Steps