Skip to main content
POST
/
create-chatbot
Create a new chatbot
curl --request POST \
  --url https://www.chatbase.co/api/v1/create-chatbot \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "chatbotName": "Customer Support Bot",
  "sourceText": "Welcome to our company..."
}'
{
  "chatbotId": "ckl123abc456"
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Body

application/json
chatbotName
string
required

Name of the chatbot (minimum 3 characters)

Minimum length: 3
Example:

"Customer Support Bot"

sourceText
string

Raw text content to train the chatbot

Example:

"Welcome to our company..."

Response

Chatbot created successfully

chatbotId
string

Unique identifier for the created chatbot

Example:

"ckl123abc456"

I