Survey Livechat Room

Post
/api/v1/livechat/room.survey

Provide feedback on a Livechat room.

Body parameters
Example 1
{
  "rid": "gMMeBpWyLeowCrzBv",
  "token": "d4a8338e5a7d98b6750b4f839431b34a3f4813b2c43f7d89597948f21f607bb4",
  "data": [
    {
      "name": "additionalFeedback",
      "value": "Thankszzzzz"
    }
  ]
}
Expand All
object
rid
string Required

The room ID.

token
string Required

The visitor token.

data
Array of object Required

An array of object with name and value to provide feedback.

object
name
string
value
string
Responses
200

OK

Success Example
{
  "rid": "gMMeBpWyLeowCrzBv",
  "data": {
    "additionalFeedback": "Thankszzzzz"
  },
  "success": true
}
Expand All
object
rid
string
data
object
additionalFeedback
string
success
boolean
400

Bad Request

Example 1
{
  "success": false,
  "error": "must have required property 'token' [invalid-params]",
  "errorType": "invalid-params"
}
object
success
boolean
error
string
errorType
string