Skip to main content
POST
Send a message to a simulation chat

Authorizations

X-Api-Key
string
header
required

Headers

X-Api-Key
string
required

Api key to pass as a X-Api-Key request header.

Body

simulationChatId
string
required

Identifier returned by SimulationChat/start

Minimum string length: 1
text
string
required

Message sent by the (simulated) contact to the agent

Required string length: 1 - 10000

Response

Success

Result of SimulationChat/send-message

simulationChatId
string | null

Identifier of the simulation chat

reply
object

A message exchanged in a simulation chat