Update chatbot settings
Changed onUpdates various chatbot configuration settings
Request
- Base URLhttps://www.chatbase.co/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"chatbotId": "ckl123abc456",
"name": "My Chatbot",
"instructions": "You are a helpful customer service assistant",
"initialMessages": [
"Hello! How can I help you?"
],
"suggestedMessages": [
"What are your hours?",
"How can I contact support?"
],
"visibility": "public",
"domains": [
"example.com",
"subdomain.example.com"
],
"ipLimit": 10,
"ipLimitTimeframe": 3600,
"ipLimitMessage": "Too many requests. Please try again later.",
"model": "gpt-6-luna",
"temp": 0.7,
"styles": {
"theme": "light",
"buttonColor": "#007bff",
"displayName": "Support Bot",
"alignChatButton": "right",
"userMessageColor": "#007bff",
"autoOpenChatWindowAfter": 5
},
"collectCustomerInformation": {
"title": "Contact Information",
"name": {
"active": true,
"label": "Full Name"
},
"email": {
"active": true,
"label": "Email Address"
},
"phone": {
"label": "Phone Number"
}
}
}Response
Settings updated successfully
Example response
{
"message": "Your changes are saved."
}Changes
- breaking
removed the enum value
gpt-4o-miniof the request property - info
added the new
gpt-6.1-terraenum value to the request property
- breaking
- breaking
removed the enum value
DeepSeek-V3of the request property - breaking
removed the enum value
Llama-4-Maverick-17B-128E-Instruct-FP8of the request property - breaking
removed the enum value
Llama-4-Scout-17B-16E-Instructof the request property - breaking
removed the enum value
claude-haiku-4-5of the request property - breaking
removed the enum value
claude-opus-4-5of the request property - breaking
removed the enum value
claude-opus-4-6of the request property - breaking
removed the enum value
claude-opus-4-7of the request property - breaking
removed the enum value
claude-opus-4-8of the request property - breaking
removed the enum value
claude-sonnet-4-5of the request property - breaking
removed the enum value
claude-sonnet-4-6of the request property - breaking
removed the enum value
gemini-3.5-flashof the request property - breaking
removed the enum value
gpt-5-miniof the request property - breaking
removed the enum value
gpt-5-nanoof the request property - breaking
removed the enum value
gpt-5.6-lunaof the request property - breaking
removed the enum value
grok-3of the request property - breaking
removed the enum value
grok-3-miniof the request property - breaking
removed the enum value
grok-4of the request property - breaking
removed the enum value
kimi-k2of the request property - info
added the new
DeepSeek-V3.1enum value to the request property - info
added the new
DeepSeek-V4.1-Flashenum value to the request property - info
added the new
claude-haiku-5-5enum value to the request property - info
added the new
claude-opus-5-5enum value to the request property - info
added the new
claude-sonnet-5-5enum value to the request property - info
added the new
gemini-3.8-flashenum value to the request property - info
added the new
glm-5.3-flashenum value to the request property - info
added the new
gpt-6-lunaenum value to the request property - info
added the new
gpt-6.1-solenum value to the request property - info
added the new
grok-4.7enum value to the request property - info
added the new
kimi-k2.6enum value to the request property
- breaking