- Community
- POSTStart chat
- POSTStart preview chat
- POSTContinue chat
- POSTSave logs
- POSTGenerate upload URL
- POSTUpdate typebot in session
- GETList typebots
- GETGet a typebot
- POSTCreate a typebot
- POSTImport a typebot
- PATCHUpdate a typebot
- DELDelete a typebot
- GETGet published bot
- POSTPublish typebot
- POSTUnpublish typebot
- GETGet stats
Chat
Typebot
Analytics
Start preview chat
Use this endpoint to test your bot. The answers will not be saved. And some blocks like “Send email” will be skipped.
Can only be provided if current input block is a text input block that allows attachments
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.
If set, it will override the typebot that is used to start the chat.
Expiration delay in hours after latest interaction
Deprecated, use container.border.roundeness
instead
If provided, will be used as the session ID and will overwrite any existing session with the same ID.
Path Parameters
Body
text
Can only be provided if current input block is a text input block that allows attachments
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.
If set, it will override the typebot that is used to start the chat.
3
, 4
, 5
start
session
, local
OR
, AND
Equal to
, Not equal
, Contains
, Does not contain
, Greater than
, Less than
, Is set
, Is empty
, Starts with
, Ends with
, Matches regex
, Does not match regex
Expiration delay in hours after latest interaction
Color
, Image
, None
Top
, Bottom
fixed
, absolute
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
Deprecated, use container.border.roundeness
instead
none
, medium
, large
group
If provided, will be used as the session ID and will overwrite any existing session with the same ID.
richText
, markdown
Response
To save and use for /continueChat requests.
Color
, Image
, None
Top
, Bottom
fixed
, absolute
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
none
, sm
, md
, lg
, xl
, 2xl
none
, medium
, large
, custom
Deprecated, use container.border.roundeness
instead
none
, medium
, large
session
, local
OR
, AND
Equal to
, Not equal
, Contains
, Does not contain
, Greater than
, Less than
, Is set
, Is empty
, Starts with
, Ends with
, Matches regex
, Does not match regex
Expiration delay in hours after latest interaction
The sent message is validated and formatted on the backend. For example, if for a date input you replied something like tomorrow
, the backend will convert it to a date string. This field returns the formatted message.
text
richText
text input
Auto
, Public
, Private
Actions to execute on the client side
scriptToExecute
Logs that were saved during the last execution
If the typebot contains dynamic avatars, dynamicTheme returns the new avatar URLs whenever their variables are updated.
If progress bar is enabled, this field will return a number between 0 and 100 indicating the current progress based on the longest remaining path of the flow.