Get Total Chats
Retrieve the total number of chat sessions based on specified criteria
GET
/
backend
/
reports
/
{orgId}
/
chats
/
total
This endpoint returns the total count of chat sessions that match the given query parameters. It can be used to analyze chat volume over time, filtered by various attributes such as channel and status.
Authentication
Authorization
string
requiredBearer token for authentication
Path Parameters
orgId
string
requiredThe ID of the organization
Query Parameters
startDate
string
The start date for the date range filter (ISO 8601 format)
endDate
string
The end date for the date range filter (ISO 8601 format)
channel
string
Filter by the chat channel (e.g., “web”, “mobile”)
status
number
Filter by the chat session status
Response
total_chats
number
The total number of chat sessions matching the specified criteria
Was this page helpful?