API Documentation
Learn how to integrate with callmind.online and access our platform programmatically.
Getting Started
To start using the API, you need to:
- Log in to your account
- Navigate to Dashboard → Settings
- Generate a new API Key
- Include the key in your API requests
Authentication
API Key Format
API keys start with sk_ followed by a random string.
Authorization Header
Include your API key in the Authorization header with the Bearer scheme:
API Resources
Conversations
Manage and analyze call recordings and transcriptions.
GET /api/conversationsGET /api/conversations/[id]DELETE /api/conversations/[id]Clients
Create and manage client accounts for your organization.
GET /api/clientsGET /api/clients/[id]DELETE /api/clients/[id]Products
Define products and their associated quality standards.
GET /api/productsGET /api/products/[id]DELETE /api/products/[id]Analysis
Get AI-powered conversation analysis results.
GET /api/analyzeGET /api/conversations/[id]/sentimentGET /api/conversations/[id]/entitiesCode Examples
JavaScript / Node.js
const apiKey = 'sk_your_api_key_here';
// Fetch conversations
fetch('https://callmind.online/api/conversations', {
method: 'GET',
headers: {
'Authorization': `Bearer ${apiKey}`,
'Content-Type': 'application/json'
}
})
.then(res => res.json())
.then(data => console.log(data))
.catch(err => console.error(err));Python
import requests
api_key = 'sk_your_api_key_here'
headers = {
'Authorization': f'Bearer {api_key}',
'Content-Type': 'application/json'
}
# Fetch conversations
response = requests.get(
'https://callmind.online/api/conversations',
headers=headers
)
print(response.json())cURL
curl -X GET "https://callmind.online/api/conversations" \ -H "Authorization: Bearer sk_your_api_key_here" \ -H "Content-Type: application/json"
Security Best Practices
Never share your API key
Treat API keys like passwords. Never commit them to version control.
Use environment variables
Store API keys in environment variables or secure configuration files.
Use HTTPS only
Always access the API over HTTPS to protect data in transit.
Rotate keys regularly
Create new API keys and revoke old ones periodically.
Ready to Get Started?
Generate your first API key in the Settings dashboard and start building.
Go to Settings