curl --location --request GET 'http://localhost:3000/api/v1/livechat/priorities.list\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name'
{
"priorities": [
{
"_id": "kihPsGwKWTzf9amQk",
"name": "High",
"description": "High",
"dueTimeInMinutes": 1,
"_updatedAt": "2020-12-04T19:10:36.875Z"
},
{
"_id": "4WcmeBE4spXx6AxrC",
"name": "Low",
"description": "Low",
"dueTimeInMinutes": 3,
"_updatedAt": "2020-10-06T22:33:58.571Z"
},
{
"_id": "7Hu352k892rNh45j9",
"name": "Medium",
"description": "Medium",
"dueTimeInMinutes": 2,
"_updatedAt": "2020-10-06T22:33:40.768Z"
}
],
"count": 3,
"offset": 0,
"total": 3,
"success": true
}