Skip to main content

Import a typebot

Import a typebot

Request Body REQUIRED
workspaceId string REQUIRED
typebot REQUIRED
Responses
200

Successful response

Schema
typebot object
version string

Possible values: [6]

id string
name string
events undefined[]
groups object[]
id string
title string
graphCoordinates object
x number
y number
blocks undefined[]
edges object[]
id string
from
to object
groupId string
blockId string
variables object[]
id string
name string
value
theme object
general object
font string
background object
type string

Possible values: [Color, Image, None]

content string
chat object
hostAvatar object
isEnabled boolean
url string
guestAvatar object
isEnabled boolean
url string
hostBubbles object
backgroundColor string
color string
guestBubbles object
backgroundColor string
color string
buttons object
backgroundColor string
color string
inputs object
backgroundColor string
color string
placeholderColor string
roundness string

Possible values: [none, medium, large]

customCss string
selectedThemeTemplateId string
settings object
general object
isBrandingEnabled boolean
isTypingEmulationEnabled boolean
isInputPrefillEnabled boolean
isHideQueryParamsEnabled boolean
isNewResultOnRefreshEnabled boolean
rememberUser object
isEnabled boolean
storage string

Possible values: [session, local]

typingEmulation object
enabled boolean
speed number
maxDelay number
metadata object
title string
description string
imageUrl string
favIconUrl string
customHeadCode string
googleTagManagerId string
whatsApp object
isEnabled boolean
startCondition object
logicalOperator string

Possible values: [OR, AND]

comparisons object[]
id string
comparisonOperator string

Possible values: [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]

value string
sessionExpiryTimeout number

Possible values: 0.01 ≤ value ≤ 48

Expiration delay in hours after latest interaction

createdAt date-time
updatedAt date-time
icon string
folderId string
publicId string
customDomain string
workspaceId string
resultsTablePreferences object
columnsOrder string[]
columnsVisibility object
columnsWidth object
isArchived boolean
isClosed boolean
whatsAppCredentialsId string
default

Error response

Schema
message string
code string
issues object[]
message string