Terminates an active chat.
HTTP POST /livechat/:domain/endContactByChatID
Request Body:
Type: JSON
Name | Mandatory | Type | Description |
---|---|---|---|
domain | YES | STRING | Unique domain identifier |
chatID | YES | STRING | Unique Chat identifier |
Response:
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/default/endContactByChatID
Request body
{ "chatID" : "CHAT_1b434365-0229-4b64-a56c-2942cae63a90" }
Response
{ "result": true, "error": null }