HTTP Method | URL | Requires Auth |
---|---|---|
POST | /api/v1/livechat/room.close | no |
Key | Example Value | Description |
---|---|---|
rid * | XFzMqgn33DcsQkpJp | The room _id . |
token * | iNKE8a6k6cjbqWhWd | The visitor token . |
curl -X POST \
-H "Content-type:application/json" \
http://localhost:3000/api/v1/livechat/room.close \
-d '{"rid": "XFzMqgn33DcsQkpJp",
"token": "iNKE8a6k6cjbqWhWd"}'
{
"rid": "XFzMqgn33DcsQkpJp",
"comment": "Closed by visitor",
"success": true
}