Retrieves the average time for Livechat conversations.
HTTP Method | URL | Requires Auth |
---|---|---|
GET | /api/v1/livechat/analytics/dashboards/productivity-totalizers | yes |
{% hint style="info" %}
Permission required: view-livechat-manager
{% endhint %}
Key | Example Value | Description |
---|---|---|
start * | 2021-07-20T19:00:00.000Z | The start time. |
end * | 2021-07-21T18:59:59.000Z | The end time. |
departmentId | CAJioQNAvLnYWTy8i | The department ID. This parameter is optional. |
{% code overflow="wrap" %}
curl --location --request GET 'http://localhost:3000/api/v1/livechat/analytics/dashboards/productivity-totalizers?departmentId=CAJioQNAvLnYWTy8i&start=2021-07-20T19:00:00.000Z&end=2021-07-21T18:59:59.000Z\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name'
{% endcode %}
{
"totalizers": [
{
"title": "Avg_response_time",
"value": "00:00:00"
},
{
"title": "Avg_first_response_time",
"value": "00:00:00"
},
{
"title": "Avg_reaction_time",
"value": "00:00:00"
},
{
"title": "Avg_of_waiting_time",
"value": "00:00:00"
}
],
"success": true
}