Authentication
The Caged API uses API keys for authentication. All authenticated requests must include a Bearer token in theAuthorization header.
Getting an API Key
- Sign up at caged.dev/signup
- Go to Dashboard → Settings → API Keys
- Click Create API Key
- Copy the key — it’s only shown once
caged_sk_ and look like:
Using Your API Key
Include it as a Bearer token:Signup
Account email address.
Account password (min 8 characters).
Display name.
Login
Returns a session token for dashboard access.Key Scopes
| Scope | Access |
|---|---|
full | All API operations |
sandbox | Create, manage, destroy sandboxes only |
read | Read-only access to sandboxes and sessions |
Security Best Practices
- Rotate keys regularly
- Use the narrowest scope possible
- Set key expiration dates
- Monitor key usage in the dashboard