Get Conversation by Agents

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

HTTP MethodURLRequires Auth

GET

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

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": 51,
    "data": [
        {
            "label": "9iN96PXnDK7XAYESA",
            "value": 4
        },
        {
            "label": "Dialog Bot",
            "value": 1
        },
        {
            "label": "Jane Kim",
            "value": 15
        },
        {
            "label": "Baek Kim",
            "value": 1
        },
        {
            "label": "agent5",
            "value": 5
        },
        {
            "label": "Rod",
            "value": 5
        },
        {
            "label": "User One",
            "value": 6
        },
        {
            "label": "oDCQTTquRFJWZtFxY",
            "value": 1
        },
        {
            "label": "sDNa65jXv4JaiGKQP",
            "value": 1
        },
        {
            "label": "testC",
            "value": 12
        }
    ],
    "unspecified": 9,
    "success": true
}

Change Log

VersionDescription

6.4.0

Added

Last updated

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