Skip to main content
Step 3 of Chat with an agent. Send one customer message. The response has the full chat, with the agent’s reply at the end.

Path

number
required
Agent ID.
number
required
session_id from Start chat.

Body

string
required
What the customer says.
number
revision from the last response. If it is out of date, Scalysis uses the latest one for you.

Response

array
The whole chat. The last assistant message is the agent’s reply.
number
Send this with your next message.
boolean
true when the agent has ended the chat. Start a new one to test again.

Errors