Authorization header. Keys are scoped to your organization and inherit the permissions of the user who created them.
Base URL
Authentication Header
Authorization header returns 401 Unauthorized.
API Key Types
| Prefix | Environment | Use Case |
|---|---|---|
sk_live_ | Production | Live scan traffic, production integrations |
sk_test_ | Sandbox | Development and testing — no real scan data affected |
Ops Tip: Generate and manage API keys in the Dashboard under Developers → API Keys. No API call required.
Generating a Key
Copy Immediately
The full key is shown once. Copy it to your secrets manager. It cannot be retrieved again.
Key Scopes
| Scope | Description |
|---|---|
nodes:read | List and retrieve nodes |
nodes:write | Create, update, and delete nodes |
batches:read | List and retrieve batches |
batches:write | Create batches and trigger generation |
analytics:read | Query scan analytics |
webhooks:manage | Create, update, and delete webhooks |
templates:manage | Create, update, and delete templates |
Response Format
All responses follow a consistent envelope:HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success |
201 | Created |
400 | Bad request — invalid input |
401 | Unauthorized — missing or invalid API key |
403 | Forbidden — key lacks required scope |
404 | Resource not found |
422 | Validation error |
429 | Rate limited — see Rate Limits |
500 | Internal server error |
Key Rotation
Rotate keys without downtime:- Create a new key with the same scopes
- Update your integration to use the new key
- Verify traffic flows on the new key (check Developers → API Keys → Last Used)
- Revoke the old key
Security Best Practices
Never expose keys client-side
Never expose keys client-side
API keys belong in server-side code, environment variables, or secrets managers. Never embed them in frontend JavaScript, mobile apps, or version control.
Use scoped keys
Use scoped keys
A key that only needs to read analytics should not have
nodes:write access. Scope keys to the minimum permissions required.Rotate regularly
Rotate regularly
Rotate production keys every 90 days. The Dashboard shows Last Used timestamps to identify stale keys.
Monitor usage
Monitor usage
The Developers → API Keys page shows request counts and last-used timestamps per key. Unusual spikes may indicate a compromised key.