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 Tovie Platform. |
text | string | Yes | Text message sent when the chat was closed. |
Response
Response format:
200 (OK) // request successfully completed