Skip to main content
POST
/
update-chatbot-data
Update a chatbot
curl --request POST \
  --url https://www.chatbase.co/api/v1/update-chatbot-data \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "chatbotId": "ckl123abc456",
  "chatbotName": "Updated Bot Name",
  "sourceText": "Updated training content..."
}'
{
  "chatbotId": "ckl123abc456"
}

Authorizations

Authorization
string
header
required

API key in Bearer token format

Body

application/json
chatbotId
string
required

ID of the chatbot to update

Example:

"ckl123abc456"

chatbotName
string
required

Updated name for the chatbot

Minimum length: 3
Example:

"Updated Bot Name"

sourceText
string

New training text content

Example:

"Updated training content..."

Response

Chatbot updated successfully

chatbotId
string
Example:

"ckl123abc456"

I