Documentation Index
Fetch the complete documentation index at: https://docs.talkover.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
All requests to the Talkover API require authentication using environment tokens. This guide explains how to get your token and use it in API requests.Getting Your Environment Token
Step 1: Access Your Dashboard
- Log in to your Talkover account at app.talkover.ai
- Navigate to Account in the left sidebar
- Click on “Environments”
Step 2: Copy Your Token
Your environment tokens will be displayed in the Environments section. Each environment has its own token that starts withtalq_ followed by a long string of characters.
Example token format:
talq_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Using Your Token in API Requests
HTTP Headers
Include your token in theAuthorization header of all API requests:
Example cURL Request
Example JavaScript Request
Example Python Request
Environment Variables
For security, store your token in environment variables:Bash/Linux/macOS
Windows (Command Prompt)
Windows (PowerShell)
Using Environment Variables in Code
Token Security Best Practices
✅ Do’s
- Store tokens in environment variables
- Use secure secret management services
- Rotate tokens regularly
- Use different tokens for different environments (dev, staging, prod)
❌ Don’ts
- Never commit tokens to version control
- Don’t share tokens in public repositories
- Avoid hardcoding tokens in your application
- Don’t include tokens in client-side code
Token Management
Regenerating Your Token
If your token is compromised or you need to rotate it:- Go to Account → Environments in your dashboard
- Click “Regenerate Token”
- Copy the new token
- Update your applications with the new token
- Delete the old token from your code
Token Expiration
Environment tokens don’t expire automatically, but you can regenerate them at any time for security purposes.Troubleshooting
Common Authentication Errors
| Error Code | Description | Solution |
|---|---|---|
401 Unauthorized | Invalid or missing token | Check your token is correct and included in the Authorization header |
403 Forbidden | Token doesn’t have required permissions | Contact support if you believe this is an error |
429 Too Many Requests | Rate limit exceeded | Wait before making more requests |
Testing Your Token
You can test if your token is working by making a simple request:Next Steps
- Learn about voice agents in our Voice Agent Setup Guide
- Make your first call in our First Call Tutorial
- Explore our API reference for detailed endpoint documentation