Post
/api/v1/livechat/visitor/department.transfer
This endpoint can be used by visitors to transfer an ongoing chat to another department.
Body parameters
Example 1
{
"token": "2c9035b72dec31be7e9ccbb3cbd9952394ea41c1517b76c528d403c00a3fccf9",
"rid": "dCBiZX3XPWyPsa6pt",
"department": "68304887113ac52640bc1ca6"
}object
token
string Required
Enter the visitor token.
Example2c9035b72dec31be7e9ccbb3cbd9952394ea41c1517b76c528d403c00a3fccf9
rid
string Required
Enter the room ID.
ExampledCBiZX3XPWyPsa6pt
department
string Required
Enter the department ID to which you want to transfer the chat.
Example68304887113ac52640bc1ca6
Responses
200
OK
Success
{
"success": true
}object
success
boolean
400
Bad Request
Example 1
{
"success": false,
"errorType": "invalid-params",
"error": "must have required property 'token'"
}object
success
boolean
errorType
string
error
string