Terminates an active chat.
HTTP POST /livechat/endContactByChatID
Request Body:
Type: JSON
Name | Mandatory | Type | Description |
---|---|---|---|
chatID | YES | STRING | Unique Chat identifier |
Repsonse:
Type: JSON
Name | Type | Description |
---|---|---|
result | BOOLEAN | If true, the service response was performed correctly |
error | NULL / STRING | Contains the error description if an error has occurred in the request |
Example:
Request
http://<hostname>:<port>/livechat/endContactByChatID
Request body
{ "chatID" : "CHAT_1b434365-0229-4b64-a56c-2942cae63a90" }
Response
{ "result": true, "error": null }