API Key Format
Doclo API keys follow this format:
Example:
dc_live_org123_abcdefghijklmnopqrstuvwxyz123456
Getting API Keys
- Log in to app.doclo.ai
- Navigate to Settings → API Keys
- Click Create API Key
- Name your key (e.g., “Production Server”, “Development”)
- Copy and securely store the key
Using API Keys
With the SDK
With REST API
Include the key in theAuthorization header:
Test vs Production Keys
Test Keys (dc_test_)
- Safe for development and testing
- Can connect to
localhostand private IPs - No billing charges
- Rate limits may be lower
Production Keys (dc_live_)
- For production workloads
- Cannot connect to localhost (SSRF protection)
- Billing enabled
- Full rate limits
Key Security
Do
- Store keys in environment variables
- Use secret management services (AWS Secrets Manager, Vault, etc.)
- Rotate keys periodically
- Use separate keys for different environments
- Revoke unused keys
Don’t
- Commit keys to version control
- Log API keys
- Share keys between applications
- Use production keys in development
Environment Variables
Key Rotation
Rotate keys periodically to limit exposure:- Create a new API key
- Update your application to use the new key
- Deploy the update
- Revoke the old key
Rate Limits
API requests are rate limited per organization:
Rate limit headers are included in responses:
Handling Rate Limits
Authentication Errors
IP Allowlisting
For enhanced security, restrict API access to specific IP addresses:- Go to Settings → Security in the dashboard
- Enable IP allowlisting
- Add your server IP addresses
Next Steps
Cloud Quickstart
Get started with Doclo Cloud
REST API Reference
Direct API documentation