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"
}'
{
"success": true,
"message": "Updated the chatbot appearance successfully",
"data": {}
}
Update appearance of the chatbot
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"
}'
{
"success": true,
"message": "Updated the chatbot appearance successfully",
"data": {}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Id of the chatbot
Request body to update appearance of the chatbot
Request Body
OK
Success Response
Was this page helpful?