Links

Get Open Conversation of a Visitor

Retrieve open conversations associated with a particular visitor.
HTTP Method
URL
Requires Auth
GET
/api/v1/livechat/visitor/:token/room
yes

Path Variables

Key
Example Value
Description
token*
8s7e9ony6ctl27e1qf8kue
The visitor's token.

Example Call

curl --location 'http://localhost:3000/api/v1/livechat/visitor/54fc5544030bcecda0533/room' \
--header 'X-Auth-Token: Y97tM4GkYjgaH_fIO5dwBitQQvm3yp-AptYzGQZMX6e' \
--header 'X-User-Id: CkCPNcvsvCDfmWLqC'

Example Response

{
"rooms": [
{
"_id": "D2hej3mmvkwyB4HR6",
"t": "l",
"cl": false,
"servedBy": {
"_id": "XycfA5CetCPuEjqxw",
"username": "kim.jane",
"ts": "2021-07-18T11:50:38.822Z"
}
}
],
"success": true
}
Last modified 25d ago
Deprecation for cloud services and apps is now extended to November 20, 2023. Rocket.Chat versions receive support for six months after release.