✏️Chatbot Appearance and message
Update appearance of the chatbot with this endpoint :
https://www.owlbot.ai/api/bot/[id]/update/
Where [id] is the chatbot uuid of the chatbot you want to update.
in terms of design, there is a lot of parameters you can play with :
For Chatbot Window
Property | Type | Description |
---|---|---|
bot_primary_color | string | Optional. |
bot_secondary_color | string | Optional. |
bot_user_icon | string | Optional. |
bot_assistant_icon | string | Optional. |
bot_title | string | Optional. |
welcome_message | string | Optional. |
bot_input_placeholder | string | Optional. |
bot_footer_text | string | Optional. |
For Chatbot Bubble
The chatbot bubble is the always visible bubble (often placed at the bottom left of the screen).
If your using it, it can be useful to customise it to match the colours and design of your site.
Here is the parameters you can play with :
Property | Type | Description |
---|---|---|
PLACEHOLDER_IFRAME_POSITION_BOTTOM | string | Optional. |
PLACEHOLDER_IFRAME_POSITION_RIGHT | string | Optional. |
PLACEHOLDER_TOOLTIP_WELCOMME_MESSAGE | string | Optional. |
PLACEHOLDER_TOOLTIP_MAIN_COLOR | string | Optional. |
PLACEHOLDER_TOOGLE_BUTTON_IMG_OPEN | string | Optional. |
PLACEHOLDER_TOOGLE_BUTTON_IMG_CLOSE | string | Optional. |
Some Example :
If you want to update the primary Color to Red Color. (#FF0000
) and the bot Title to "test".
In Javascript / Fetch
dont forget to change [id] by your chatbot UUID
.
Response
response is a HTTP 200 with the newly updated chatbot property as JSON.
Last updated