Send a message
To initiate a chat, don't provide a sessionId
and enter any 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.
Path Parameters |
---|
typebotId string โ REQUIRED |
Request Body โ REQUIRED |
---|
message string โ REQUIREDThe answer to the previous question |
sessionId stringSession ID that you get from the initial chat request to a bot |
isPreview boolean |
Responses | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
200 Successful response
| |||||||||||||||||||||||||||
default Error response
|