sendText
The client sent a message to the chat with the agent.
Request
POST {apiUrl}/sendText
Request body:
{
"userId":"<userId>",
"text":"text"
}
Request parameters:
Parameter | Type | Mandatory | Description |
---|---|---|---|
userId | string | Yes | Client ID assigned on JAICP. |
text | string | Yes | Text message sent by the client. |
Response
Response format:
200 (OK) // request successfully completed