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 scroll to the Settings section
  2. Find the API Keys area
  3. Enter a name for the key and click Create Key
  4. The key is displayed once — copy it immediately using the Copy button

Screenshot: API Keys section with name input, Create Key button, and key list

Important: The full key is only shown once at creation. The message reads: "Copy this key now — it won't be shown again." If you lose it, you'll need to create a new one.

Key Details

Each API key shows:

  • Name — the label you gave the key
  • Prefix — the first few characters of the key (for identifying it in the list)
  • Created date — when the key was generated
  • Last used — the most recent time the key was used (helps identify unused keys)

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. Find the key in the API Keys list under Settings
  2. Click Revoke next to the key
  3. The key is immediately invalidated and shown as revoked

Revoked keys cannot be restored. Create 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 create 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