List of unit monitors

Gives a list of unit monitors

Headers

Example Call

curl --location --request GET 'http://localhost:3000/api/v1/livechat/unitMonitors.list\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name'

Result

{
    "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 updated

Rocket.Chat versions receive support for six months after release.