Skip to main content
PATCH
Update widget settings

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). Retrying with the same key within 24 hours replays the first response instead of repeating the change.

Path Parameters

Body

application/json
displayName
string

Name shown in the widget header.

Maximum string length: 100
theme
enum<string>
Available options:
Light,
Dark
headerColor
string
Example:

"#FFFFFF"

userMessageColor
string
Example:

"#000000"

userMessageFontColor
string
Example:

"#FFFFFF"

assistantMessageColor
string
Example:

"#F3F4F6"

assistantMessageFontColor
string
Example:

"#111827"

chatBubbleButtonColor
string
Example:

"#000000"

chatIconButtonColor
string
Example:

"#FFFFFF"

chatBubbleAlignment
enum<string>
Available options:
left,
right
chatBubbleDelay
number

Seconds before the bubble appears.

Required range: 0 <= x <= 600
initialMessages
string[]

Welcome messages, one per entry.

Maximum array length: 10
Example:
initialMessagesDelay
number

Seconds before welcome messages pop up.

Required range: 0 <= x <= 600
suggestedMessages
string[]

Suggested questions shown as buttons.

Maximum array length: 10
Example:
suggestedMessagesLabel
string
Maximum string length: 100
messagePlaceholder
string
Maximum string length: 200
feedbackEnabled
boolean
copyEnabled
boolean
attachmentsEnabled
boolean
voiceInputEnabled
boolean
showStatusIndicator
boolean
statusLabel
string
Maximum string length: 50

Response

displayName
string | null
required
theme
enum<string>
required
Available options:
Light,
Dark
headerColor
string
required
userMessageColor
string
required
userMessageFontColor
string
required
assistantMessageColor
string
required
assistantMessageFontColor
string
required
chatBubbleButtonColor
string
required
chatIconButtonColor
string | null
required
chatBubbleAlignment
enum<string>
required
Available options:
left,
right
chatBubbleDelay
number
required
initialMessages
string[]
required
initialMessagesDelay
number
required
suggestedMessages
string[]
required
suggestedMessagesLabel
string | null
required
messagePlaceholder
string
required
feedbackEnabled
boolean
required
copyEnabled
boolean
required
attachmentsEnabled
boolean
required
voiceInputEnabled
boolean
required
showStatusIndicator
boolean
required
statusLabel
string
required