Get Visitor Information
    • Dark
      Light
    • PDF

    Get Visitor Information

    • Dark
      Light
    • PDF

    Article summary

    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

    Was this article helpful?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.