List of unit monitors
Gives a list of unit monitors
URL | Requires Auth | HTTP Method |
---|---|---|
api/v1/livechat/unitMonitors.list | YES | GET |
Argument | Example | Required | Description |
---|---|---|---|
X-User-Id | myuser-name | Required | Your username hash (returned after you log in through the API) |
X-Auth-Token | myauth-token | Required | Your token (returned after you log in through the API) |
curl --location --request GET 'http://localhost:3000/api/v1/livechat/unitMonitors.list\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name'
{
"monitors": [
{
"_id": "a8RSA5hSzuiKg34PG",
"monitorId": "gxcJTYapi5mPxuAme",
"unitId": "sriw2wmP2Zz2pPrre",
"_updatedAt": "2021-06-28T22:10:01.324Z",
"username": "Bruno.Solis"
},
{
"_id": "fTayxRuJiRCFfREWc",
"monitorId": "Nn4ocDJqoJshcoFJi",
"unitId": "sriw2wmP2Zz2pPrre",
"_updatedAt": "2021-06-28T22:10:01.329Z",
"username": "mauricio.pretto"
},
{
"_id": "X2keMaN4WX2zmA99u",
"monitorId": "cLNSTRsipLCSq7qno",
"unitId": "sriw2wmP2Zz2pPrre",
"_updatedAt": "2021-06-28T22:10:01.342Z",
"username": "milton.rucks"
}
],
"success": true
}
Last modified 2mo ago