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

autoOpenChatWindowDelayInDesktop
integer

Delay after which the chat window will shown in desktop when autoOpenChatWindowInDesktop is set to AUTO_OPEN_WITH_DELAY

autoOpenChatWindowDelayInMobile
integer

Delay after which the chat window will shown in mobile when autoOpenChatWindowInMobile is set to AUTO_OPEN_WITH_DELAY

autoOpenChatWindowInDesktop
enum<string>

Option to handle behaviour auto open chat window in desktop

Available options:
ALWAYS_OPEN_WITH_DELAY,
DONT_OPEN
autoOpenChatWindowInMobile
enum<string>

Option to handle behaviour auto open chat window in mobile

Available options:
ALWAYS_OPEN_WITH_DELAY,
DONT_OPEN
brandColor
string

Primary color of the chatbot

brandTextColor
string

Primary text color of the chatbot

Call to Action link

ctaText
string

Call to Action text

distanceFromBottom
integer

Distance from bottom (in px) where the chatbot icon should be shown

fontSize
integer

Font size of the text shown in chatbot (in px)

height
number

Height of the chatbot

hideFeedbackButtons
boolean

Indicates whether to hide feedback buttons (for each reply) or not in the chatbot

hideSources
boolean

Indicates whether to display sources or not in the chatbot

hideTooltip
boolean

Indicates whether to hide tooltip or not in the chatbot

hideWatermark
boolean

Indicates whether the watermark is shown in the chatbot or not

horizontalDistance
integer

Horizantal distance (in px) where the chatbot icon should be shown

iconPosition
enum<string>

Possible options for icon position of the chatbot

Available options:
LEFT,
RIGHT
iconSize
enum<string>

Possible options foe icon size of the chatbot

Available options:
SMALL,
MEDIUM,
LARGE,
XL,
2XL,
3XL,
4XL,
5XL
learnMore
string

Learn More localization setting of the chatbot

placeholderText
string

Placeholder text that users see before they type their question in the chat

rtl
boolean

Indicates whether to display the text in the chatbot right to left or opposite

title
string

Title of the chatbot

Url of the watermark to be shown in the chatbot

watermarkText
string

Text to be shown as the watermark in the chatbot

welcomeMessage
string

The first message that the users will see in the chatbot

Response

200 - application/json

Success Response

data
object | null

Data returned from the server

message
string

Overall message regarding the operation performed

success
boolean

Indicates whether this is success response or error response