Get Visitor Information

Get
/api/v1/livechat/visitor/{token}

Get the details of a specific visitor.

Path parameters
token
stringRequired

The visitor token.

Responses
200
Success Example
{
  "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
}
Expand All
object
visitor
object
_id
string
username
string
_updatedAt
string
token
string
phone
Array of object
object
phoneNumber
string
visitorEmails
Array of object
object
address
string
name
string
livechatData
object
address
string
success
boolean