Skip to main content

sendText

The client sent a message to the chat with the agent.

Request

POST {apiUrl}/sendText

Request body:

{
"userId":"<userId>",
"text":"text"
}

Request parameters:

ParameterTypeMandatoryDescription
userIdstringYesClient ID assigned on JAICP.
textstringYesText message sent by the client.

Response

Response format:

200 (OK)    // request successfully completed