Build and integrate AI chatbots into your applications
Get your API key from the dashboard and make your first request
50 requests per minute per API key
https://dashboard.omnia-voice.com/api/v1
All API requests require an API key to be passed in the X-API-Key header
X-API-Key: your_api_key_hereRetrieve all chatbots for your account
curl -X GET https://dashboard.omnia-voice.com/api/v1/chatbots \
-H "X-API-Key: your_api_key_here"import requests
api_key = "your_api_key_here"
url = "https://dashboard.omnia-voice.com/api/v1/chatbots"
headers = {
"X-API-Key": api_key
}
response = requests.get(url, headers=headers)
chatbots = response.json()
print(chatbots)const apiKey = 'your_api_key_here';
fetch('https://dashboard.omnia-voice.com/api/v1/chatbots', {
headers: {
'X-API-Key': apiKey
}
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));Send a message to your chatbot and get an AI response
curl -X POST https://dashboard.omnia-voice.com/api/v1/chatbots/{id}/chat \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"message": "What is your return policy?",
"conversationId": "optional-conversation-id"
}'Complete list of chatbot API endpoints
/chatbots/chatbots/chatbots/{id}/chatbots/{id}/chatbots/{id}/chatbots/{id}/chat/chatbots/{id}/sources/chatbots/{id}/sources/chatbots/{id}/analytics/chatbots/{id}/conversations