Get Visitor Information

Get the details of a specific visitor.

HTTP MethodURLRequires Auth

GET

/api/v1/livechat/visitor/:token

no

Path Variables

KeyExample ValueDescription

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": "visitor@rocket.chat"
      }
    ],
    "name": "Livechat Visitor",
    "livechatData": {
      "address": "Rocket.Chat street"
    }
  },
  "success": true
}

Last updated

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