This site is no longer updated.Go to new Conversational Cloud docs

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:

Parameter Type Mandatory Description
userId string Yes Client ID assigned on JAICP.
text string Yes Text message sent when the chat was closed.

Answer

Response format:

200 (OK)    // request successfully completed