Comment on page
UPDATE
Update an existing chat theme by theme ID
post
https://api.eyelevel.ai/v1/partner
/theme/:apiKey/:themeId
UPDATE
{
"theme": {
"name": "STRING",
"iconUrl": "STRING",
"logoUrl": "STRING",
"header": "STRING",
"responseBackground": "STRING",
"chatBackground": "STRING",
"responseText": "STRING",
"mainText": "STRING",
"headerText": "STRING",
"button": "STRING",
"buttonBackground": "STRING",
"bubbleBackground": "STRING",
"bubble": "STRING",
"bubbleIconUrl": "STRING",
"advancedCSS": "STRING",
"timing": FLOAT,
}
}
REQUIRED - StringValidation: 20 character limit
The human readable name for the theme.
OPTIONAL - StringValidation: A valid URL including protocol http(s)
The URL for the hosted image. This image will automatically be cropped to a circular shape.
OPTIONAL - StringValidation: A valid URL including protocol http(s)
The URL for the hosted image. If logoUrl is set, headerText is not applicable.
OPTIONAL - StringValidation: A valid hex color code
The header bar background color.
OPTIONAL - StringValidation: A valid hex color code
The background of the user chat text bubble.
OPTIONAL - StringValidation: A valid hex color code
The background color of the main chat window.
OPTIONAL - StringValidation: A valid hex color code
The secondary text color, including user chat text.
OPTIONAL - StringValidation: A valid hex color code
The primary text color, including server chat text.
OPTIONAL - StringValidation: 20 character limit
A human readable string that is displayed in the header bar of the chat experience. If logoUrl is set, headerText is not applicable.
OPTIONAL - StringValidation: A valid hex color code
Button text and border color.
OPTIONAL - StringValidation: A valid hex color code
Button background color.
OPTIONAL - StringValidation: A valid hex color code
Chat bubble background color. A chat bubble will only appear for website integrations.
OPTIONAL - StringValidation: A valid hex color code
Chat bubble icon color. A chat bubble will only appear for website integrations.
OPTIONAL - StringValidation: A valid URL including protocol http(s)
The URL for the hosted image. If bubbleIconUrl is set, bubble color is not applicable.
OPTIONAL - StringValidation: CSS
A string containing CSS information that will be applied without validation to chat experience and bubble.
OPTIONAL - FloatValidation: A value between 0 and 15
The number of seconds before an alert appears beside the chat bubble. This attribute only applies to website chats.
{
"message": "OK"
}
Last modified 2yr ago