Post https://chat.retailroom.ru/api/v1/typebots/{publicId}/startChat

Path Parameters

publicId string required

Body

isOnlyRegistering boolean default: false

If set to true, it will only register the session and not start the bot. This is used for 3rd party chat platforms as it can require a session to be registered before sending the first message.

isStreamEnabled boolean default: false

If enabled, you will be required to stream OpenAI completions on a client and send the generated response back to the API.

message string

Only provide it if your flow starts with an input block and you'd like to directly provide an answer to it.

prefilledVariables object

resultId string

Provide it if you'd like to overwrite an existing result.