PAI Chat·Endpoint
PATCH
/chatbot/{chatbotId}/configUpdate a chatbot config value
Update a chatbot config value
POST/chatbot/{chatbotId}/asset-uploadarrow_forwardtune
Parameters
typerequiredquery
stringstyle_sheet · featuresThe type of the config to update
chatbotIdrequiredpath
string (uuid)The ID of the chatbot
upload
Request body
theme
string · system | dark | lightTheme mode for the chatbot widget
primaryColor
stringHex color code for primary elements like buttons, links, message bubbles
launcherPosition
string · left | rightHorizontal position of the launcher
sideSpacing
numberSpacing from the side edge in pixels
bottomSpacing
numberSpacing from the bottom edge in pixels
logoUrl
stringnullURL for the default chatbot logo
logoDarkUrl
stringnullURL for the chatbot logo in dark mode
logoVerticalUrl
stringnullURL for the vertical chatbot logo
logoVerticalDarkUrl
stringnullURL for the vertical chatbot logo in dark mode
iconUrl
stringnullURL for the chatbot icon
iconDarkUrl
stringnullURL for the chatbot icon in dark mode
faviconUrl
stringnullURL for the chatbot favicon
lightPrimaryColor
stringPrimary color for light theme
lightSecondaryColor
stringSecondary color for light theme
darkPrimaryColor
stringPrimary color for dark theme
darkSecondaryColor
stringSecondary color for dark theme
title
stringnullTitle displayed in the chatbot header
questions
arraySuggested questions shown to users
welcomeMessage
stringWelcome message displayed when chat opens
dataUsageUrl
stringnullURL to the data usage policy
termsAndConditionsUrl
stringnullURL to the terms and conditions
privacyPolicyUrl
stringnullURL to the privacy policy
rag
booleanAnswer from knowledge base using retrieval-augmented generation
fileGeneration
booleanLet the bot create documents (PDF, CSV, etc.) as part of its replies
fileDownload
booleanAllow users to download files shared by the bot during a conversation
webSearch
booleanLet the bot search the web for up-to-date information
emailNotifications
booleanLet the bot send email notifications on your behalf
imageGeneration
booleanGenerate images from text prompts
double_arrow
Returns 200
idrequired
string (uuid)chatbotIdrequired
string (uuid)typerequired
enumvaluerequired
objectcreatedAtrequired
string (date-time)updatedAtrequired
string (date-time)report
Errors