PATCH
/
v0
/
chatbots
/
{chatbotId}
/
appearance
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": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

chatbotId
string
required

Id of the chatbot

Body

application/json

Request body to update appearance of the chatbot

Request Body

Response

200
application/json

OK

Success Response