cURL
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" }
Creates a new chatbot with training data from text
API key in Bearer token format
Name of the chatbot (minimum 3 characters)
3
"Customer Support Bot"
Raw text content to train the chatbot
"Welcome to our company..."
Chatbot created successfully
Unique identifier for the created chatbot
"ckl123abc456"