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
The Talkover API uses Bearer token authentication with environment tokens. All API requests must include a valid environment token in the Authorization header.Overview
Authentication is handled through Environment Tokens that you can generate in your Talkover dashboard. These tokens provide secure access to your account’s resources and are used to authenticate all 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: Find 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.
Environment tokens are sensitive credentials. Keep them secure and never share them publicly or commit them to version control.
Using Your Environment Token
Authorization Header
Include your environment token in theAuthorization header of all API requests:
Example Request
Security Best Practices
1. Keep Tokens Secure
- Never expose tokens in client-side code or public repositories
- Use environment variables to store tokens securely
- Rotate tokens regularly for enhanced security
- Monitor token usage for suspicious activity
2. Token Management
- Use different tokens for different environments (development, staging, production)
- Limit token permissions to only what’s necessary
- Revoke compromised tokens immediately
- Use token expiration when available
3. Request Security
- Always use HTTPS for API requests
- Validate responses to ensure they come from Talkover
- Handle errors gracefully without exposing sensitive information
- Log requests securely without including tokens
Environment Variables
Store your environment token securely using environment variables:Bash/Shell
JavaScript/Node.js
Python
PHP
Code Examples
cURL
JavaScript
Python
PHP
Error Responses
Invalid Token
Expired Token
Missing Token
Token Scopes and Permissions
Environment tokens have access to:- Voice Agents - Create, read, update, and delete voice agents
- Calls - Initiate and manage calls
- Campaigns - Create and manage call campaigns
- Call History - Access call logs and analytics
- Account Settings - Read account information
Troubleshooting
Common Issues
-
“Invalid token” error
- Verify the token is correct and complete
- Check that the token starts with
talq_ - Ensure no extra spaces or characters
-
“Token expired” error
- Generate a new environment token
- Update your application with the new token
- Check token expiration settings
-
“Missing token” error
- Ensure the Authorization header is included
- Verify the header format:
Bearer <token> - Check that the token is not empty
Getting Help
If you’re experiencing authentication issues:- Check your token in the dashboard
- Verify the request format matches the examples
- Test with a simple request like the health endpoint
- Contact support if the issue persists
Next Steps
- Make your first call in our First Call Guide
- Learn about API endpoints in our API Reference
- Explore integration examples in our Integration Examples