Skip to main content
POST
Create a new bot

Authorizations

X-CB-KEY
string
header
required

CloseBot API Key Authorization

Body

name
string | null

The name of the new bot

templateId
string | null

The template ID to use to create the new bot

importKdl
string | null

The KDL template to import into the new bot

folderId
string | null

The folder ID to place the new bot in

category
string | null

The category of the new bot

conversationReason
string | null

Optional conversation reason (why the conversation is happening) to pre-fill into the bot's business variables.

businessInformation
string | null

Optional business information to pre-fill into the bot's business variables. When a template already contains business information, this value is appended.

Response

Success

id
string | null
name
string | null
modifiedAt
string | null
modifiedBy
string | null
versions
object[] | null
sources
object[] | null
personaIds
string[] | null
favorited
boolean
locked
boolean
reschedulingEnabled
boolean
category
string | null
folderId
string | null
followUpActive
boolean
followUpSequences
object[] | null
smartFollowUp
boolean
followUpRepeat
boolean
followUpVarianceMinutes
integer<int32>
followUpExtraPrompt
string | null
tools
object[] | null
followUpStates
object[] | null