Get the details of a specific visitor.
HTTP Method | URL | Requires Auth |
---|---|---|
GET | /api/v1/livechat/visitor/:token | no |
Key | Example Value | Description |
---|---|---|
token * | iNKE8a6k6cjbqWhWd | The visitor token. |
{% code overflow="wrap" %}
curl http://localhost:3000/api/v1/livechat/visitor/iNKE8a6k6cjbqWhWd
{% endcode %}
{
"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
}