API Documentation
Chatbot Appearance
Chatbot Custom Content
Chatbot Follow Up Prompts
Chatbot Icons
Chatbot Messages
Chatbot Personas
Chatbot Prompts
Chatbot Quick Prompts
Chatbot Settings
Chatbot Threads
Chatbot Appearance
Update Chatbot Appearance
Update appearance of the chatbot
PATCH
/
v0
/
chatbots
/
{chatbotId}
/
appearance
Copy
curl --request PATCH \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/appearance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "My Bot",
"welcomeMessage": "Hello! How can I assist you today?",
"placeholderText": "Ask me anything...",
"brandColor": "#2563eb",
"brandTextColor": "#FFFFFF",
"fontSize": 14,
"height": 85,
"learnMore": "Learn more",
"ctaText": "",
"ctaLink": "",
"watermarkText": "Powered by SiteGPT",
"watermarkLink": "https://sitegpt.ai",
"hideWatermark": false,
"hideSources": false,
"hideTooltip": false,
"hideFeedbackButtons": false,
"rtl": false,
"distanceFromBottom": 16,
"horizontalDistance": 16,
"iconSize": "SMALL",
"iconPosition": "RIGHT"
}'
Copy
{
"success": true,
"message": "Updated the chatbot appearance successfully",
"data": {}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Id of the chatbot
Body
application/json
Request body to update appearance of the chatbot
Request Body
Response
200
application/json
OK
Success Response
Was this page helpful?
Copy
curl --request PATCH \
--url https://sitegpt.ai/api/v0/chatbots/{chatbotId}/appearance \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"title": "My Bot",
"welcomeMessage": "Hello! How can I assist you today?",
"placeholderText": "Ask me anything...",
"brandColor": "#2563eb",
"brandTextColor": "#FFFFFF",
"fontSize": 14,
"height": 85,
"learnMore": "Learn more",
"ctaText": "",
"ctaLink": "",
"watermarkText": "Powered by SiteGPT",
"watermarkLink": "https://sitegpt.ai",
"hideWatermark": false,
"hideSources": false,
"hideTooltip": false,
"hideFeedbackButtons": false,
"rtl": false,
"distanceFromBottom": 16,
"horizontalDistance": 16,
"iconSize": "SMALL",
"iconPosition": "RIGHT"
}'
Copy
{
"success": true,
"message": "Updated the chatbot appearance successfully",
"data": {}
}
Assistant
Responses are generated using AI and may contain mistakes.