Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Terminates an active chat.

HTTP POST /livechat/:domain/endContactByChatID

Path Variables:

Name

Mandatory

Type

Description

domain

NO

STRING

Unique domain identifier

Authorization: see Authentication mechanisms

Request Body:

Type: JSON

Name

Mandatory

Type

Description

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
}
  • No labels