API Keys
The Turen API uses API keys for authentication. Include your key in theX-API-Key header with every request:
sk_live_ and are scoped to a single organization. All data returned is filtered to your organization.
Creating an API Key
- Log in to the Turen dashboard
- Go to Settings > API Keys
- Click Create API Key
- Copy the key immediately — it’s only shown once
Key Types
Turen uses three credential types. Only API keys are used for the dashboard API:| Type | Prefix | Usage |
|---|---|---|
| API Key | sk_live_ | Dashboard API access (this documentation) |
| Registration Key | rk_live_ | Agent registration (not used for API) |
| Agent Secret | as_live_ | Agent-to-platform communication (not used for API) |
Security Best Practices
- Store keys in environment variables or a secrets manager, never in source code
- Use one key per integration so you can revoke individually
- Rotate keys regularly — create a new key, update your integration, then revoke the old one
- Monitor key usage in Settings > API Keys (last-used timestamps)
- Revoke unused keys promptly