API Keys
API keys allow you to access Callem Studio data programmatically via the Public REST API. Use them to integrate call data and knowledge base content into your own systems.Accessing API Keys
Navigate to Settings from the sidebar, then select the API Keys tab.Creating an API Key
- Click Create API Key
- Enter a descriptive name (e.g. “Production CRM Integration”)
- Optionally configure:
- Allowed IPs: restrict which IP addresses can use this key
- Expiration: set an automatic expiry date
- Click Create Key
Key Format
API keys follow the format:ck_live_ followed by 60 random characters.
IP Restrictions
You can restrict API key usage to specific IP addresses for additional security:| Format | Example | Description |
|---|---|---|
| Single IP | 192.168.1.1 | Allow only this exact IP |
| CIDR range | 10.0.0.0/24 | Allow an entire subnet |
| Wildcard | * | Allow all IPs (same as no restriction) |
Key Management
The API Keys list shows:| Column | Description |
|---|---|
| Name | The label you assigned |
| Key prefix | First 12 characters for identification (ck_live_a1b2••••••••) |
| IP restriction | Number of IP rules, or “All IPs” |
| Last used | When the key was last used to make an API call |
| Expires | Expiration date, or “Never” |
Revoking a Key
Click the menu icon next to a key and select Revoke Key. This is immediate — any application using this key will lose access instantly.Security Best Practices
Use IP restrictions in production
Use IP restrictions in production
Always restrict API keys to your server’s IP address in production. This prevents unauthorized access even if the key is leaked.
Rotate keys periodically
Rotate keys periodically
Create new keys and revoke old ones on a regular schedule (e.g. every 90 days).
Use separate keys per environment
Use separate keys per environment
Create different keys for development, staging, and production. This makes revocation safer — you can revoke a compromised dev key without affecting production.
Never commit keys to version control
Never commit keys to version control
Store API keys in environment variables or a secrets manager. Never hardcode them in source code.