API Key Authentication
All Telepath API requests require authentication using an API key.Getting Your API Key
- Log into Telepath Dashboard
- Navigate to Settings → API Keys
- Click Create New Key
- Give your key a descriptive name (e.g., “Production”, “Testing”)
- Copy the key immediately (you won’t be able to see it again)
- Store it securely (see security best practices below)
Using Your API Key
Include your API key in every request using theAuthorization header:
Example Request
Python Example
JavaScript Example
Security Best Practices
Never Hardcode Keys
❌ Bad:Use Environment Variables
Store your API key in environment variables:Rotate Keys Regularly
- Create a new API key
- Update your applications to use the new key
- Verify all systems working
- Revoke the old key
Limit Key Scope
Create separate keys for different purposes:- Development: Limited permissions, lower rate limits
- Testing: Read-only access
- Production: Full permissions, high rate limits
- Monitoring: Read-only for dashboards
Monitor Key Usage
In the dashboard, each API key shows:- Last used timestamp
- Request count
- Error count
- Usage patterns
Revoke Compromised Keys
If a key is compromised:- Immediately revoke it in the dashboard
- Rotate all API keys
- Audit recent API calls
- Update any applications using the key
- Consider rotating AI provider credentials
Error Handling
Authentication Errors
- Key is invalid or revoked
- Key format is wrong
- Key is missing from header
Missing Authentication
Authorization header in your request.
Rate Limiting
API requests are rate limited to prevent abuse.Rate Limit Headers
Every response includes rate limit information:X-RateLimit-Limit: Max requests per minuteX-RateLimit-Remaining: Requests remaining in current windowX-RateLimit-Reset: Unix timestamp when limit resets
Rate Limit Exceeded
X-RateLimit-Reset before retrying.
Handling Rate Limits
Best Practices
Always Use HTTPS
Only use HTTPS (secure) connections. Never use HTTP.Implement Retry Logic
Network requests can fail. Implement exponential backoff:Log API Activity
Log important API calls for debugging:Set Timeouts
Always set request timeouts:Webhook Authentication
Webhooks also include authentication to verify they’re from Telepath. See Webhooks documentation for signature verification.API Endpoint Base URLs
- Production:
https://api.telepathvoice.com/v1 - Rate Limits: 6000 requests per minute
Support
For authentication issues:- Email: support@telepathvoice.com
- Dashboard: Create support ticket
- Check API Status for service issues

