Skip to content
This repository has been archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
81 lines (69 loc) · 2.25 KB

File metadata and controls

81 lines (69 loc) · 2.25 KB

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-agentyes

{% hint style="info" %} Permission required: view-livechat-reports {% endhint %}

Query Parameters

KeyExample ValueDescription
start*2023-11-28T00:11:22.345ZThe start time.
end*2023-11-29T00:11:22.345ZThe 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

Version Description
6.4.0 Added