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
- Open a space and navigate to Settings
- Find the API Keys section
- Click Generate New Key
- Copy the key immediately — it is only shown once

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:
- Navigate to the API Keys section in space settings
- Click Revoke next to the key
- 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
- Historian — the historical data you can access via the API
- Members & Collaboration — manage who can create and revoke keys