curl --location --request GET 'http://localhost:3000/api/v1/livechat/priorities\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-id'
{
"priorities": [
{
"_id": "e6pjPYF4pFWr7g59F",
"name": "high",
"dueTimeInMinutes": 1,
"_updatedAt": "2022-10-04T13:48:21.016Z",
"description": "high"
},
{
"_id": "5PMgshbQWsoHsYy2c",
"name": "medium",
"dueTimeInMinutes": 6,
"_updatedAt": "2022-09-01T13:51:20.710Z"
},
{
"_id": "idQkJgzTND3gBRNWJ",
"name": "low",
"description": "test",
"dueTimeInMinutes": 2,
"_updatedAt": "2022-10-04T13:48:07.371Z"
},
{
"_id": "WXbWQSPevAyY2CjRq",
"name": "low",
"dueTimeInMinutes": 4,
"_updatedAt": "2022-09-01T13:51:04.837Z"
}
],
"count": 4,
"offset": 0,
"total": 4,
"success": true
}