Send a message
deprecated
This endpoint has been deprecated and may be removed in future versions of the API.
To initiate a chat, do not provide a sessionId nor a message.
Continue the conversation by providing the sessionId and the message that should answer the previous question.
Set the isPreview option to true to chat with the non-published version of the typebot.
| Request Body — REQUIRED | ||||||
|---|---|---|---|---|---|---|
message stringThe answer to the previous chat input. Do not provide it if you are starting a new chat. | ||||||
sessionId stringSession ID that you get from the initial chat request to a bot. If not provided, it will create a new session. | ||||||
startParams object
| ||||||
clientLogs object[]Logs while executing client side actions
|
| Responses | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200Successful response
| ||||||||||||||||||||||||||
defaultError response
|