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

Latest commit

 

History

History
56 lines (44 loc) · 1.79 KB

File metadata and controls

56 lines (44 loc) · 1.79 KB

Get Conversations by Status

View the metrics of omnichannel conversations in your workspace during a selected time range based on their status: Open, Queued, On Hold, or Closed

HTTP MethodURLRequires Auth
GET/api/v1/livechat/analytics/dashboards/conversations-by-statusyes

{% 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": 25,
    "data": [
        {
            "label": "Closed",
            "value": 24
        },
        {
            "label": "Open",
            "value": 1
        },
        {
            "label": "Queued",
            "value": 0
        },
        {
            "label": "On_Hold",
            "value": 0
        }
    ],
    "success": true
}

Change Log

Version Description
6.4.0 Added