Get Open Conversation of a Visitor

Prev Next
Get
/api/v1/livechat/visitor/{token}/room

Retrieve open conversations associated with a particular visitor.

Header parameters
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Path parameters
token
stringRequired

The visitor token.

Responses
200
Success Example
{
  "rooms": [
    {
      "_id": "D2hej3mmvkwyB4HR6",
      "t": "l",
      "cl": false,
      "servedBy": {
        "_id": "XycfA5CetCPuEjqxw",
        "username": "kim.jane",
        "ts": "2021-07-18T11:50:38.822Z"
      }
    }
  ],
  "success": true
}
Expand All
object
rooms
Array of object
object
_id
string
t
string
cl
boolean
servedBy
object
_id
string
username
string
ts
string
success
boolean
401

Unauthorized

Authorization Error
{
  "status": "error",
  "message": "You must be logged in to do this."
}
object
status
string
message
string