Chatbot Analytics
Retrieves analytics for a specific chatbot within a date range.
Authorizations
Path parameters
chatbot_idstringRequired
The ID of the chatbot to get analytics for
Query parameters
start_datestring · dateRequired
The start date for the analytics range (inclusive)
end_datestring · dateRequired
The end date for the analytics range (inclusive)
Responses
200
Successful response
application/json
401
Access token is missing or invalid
application/json
404
Chatbot not found
application/json
500
Internal server error
application/json
get
GET /v1/integrations/chatbots/{chatbot_id}/analytics HTTP/1.1
Host: api.igenchat.com
x-api-key: YOUR_API_KEY
Accept: */*
{
"totalMessages": 1,
"totalChatbots": 1,
"totalChatLogs": 1,
"totalVisitors": 1,
"totalDevices": 1,
"totalMobileDevices": 1,
"totalDesktopDevices": 1,
"topCountries": [
{
"country": "text",
"count": 1,
"percentage": 1
}
],
"chatsByCountries": [
{
"country": "text",
"count": 1,
"percentage": 1
}
],
"chatbotSessions": {
"ANY_ADDITIONAL_PROPERTY": {
"ANY_ADDITIONAL_PROPERTY": 1
}
},
"trendingKeywords": [
{
"count": 1,
"keywords": "text"
}
]
}
Last updated