Skip to main content

closeChat

The client closed the chat with the agent.

Request

POST {apiUrl}/closeChat

Request body:

{
"userId": "<userId>",
"text": "The user closed the chat"
}

Request parameters:

ParameterTypeMandatoryDescription
userIdstringYesClient ID assigned on JAICP.
textstringYesText message sent when the chat was closed.

Response

Response format:

200 (OK)    // request successfully completed