Links

Get Visitor Information

Get the details of a specific visitor.
HTTP Method
URL
Requires Auth
GET
/api/v1/livechat/visitor/:token
no

Path Variables

Key
Example Value
Description
token*
iNKE8a6k6cjbqWhWd
The visitor token.

Example Call

curl http://localhost:3000/api/v1/livechat/visitor/iNKE8a6k6cjbqWhWd

Example Response

{
"visitor": {
"_id": "sGtcfEYz852uguxaS",
"username": "guest-7",
"_updatedAt": "2018-09-21T14:10:56.529Z",
"token": "iNKE8a6k6cjbqWhWd",
"phone": [
{
"phoneNumber": "55 51 5555-5555"
}
],
"visitorEmails": [
{
"address": "[email protected]"
}
],
"name": "Livechat Visitor",
"livechatData": {
"address": "Rocket.Chat street"
}
},
"success": true
}
Last modified 12d ago
Deprecation for cloud services and apps is now extended to November 20, 2023. Rocket.Chat versions receive support for six months after release.