Get Conversations by Departments

View the metrics of omnichannel conversations in your workspace during a selected time range based on their departments.

HTTP MethodURLRequires Auth

GET

/api/v1/livechat/analytics/dashboards/conversations-by-department

Permission required: view-livechat-reports

Query Parameters

KeyExample ValueDescription

start*

2023-11-28T00:11:22.345Z

The start time.

end*

2023-11-29T00:11:22.345Z

The end time.

Example Call

curl --location --request GET 'http://localhost:3000/api/v1/livechat/priorities\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-id'

Example Response

{
    "total": 18,
    "data": [
        {
            "label": "TestQueue",
            "value": 1
        },
        {
            "label": "TestBH",
            "value": 1
        },
        {
            "label": "Missing",
            "value": 16
        }
    ],
    "unspecified": 43,
    "success": true
}

Change Log

VersionDescription

6.4.0

Added

Last updated

Rocket.Chat versions receive support for six months after release.