customize_widget_styling
Customize widget appearance: colors, avatar/logo, teaser bubble message, conversation-starter chips, custom CSS, and white-label branding.
Per-section colors (independent of primary_color/widget_style - these are the dashboard Customizer's advanced color pickers):
- auto_generate_color_scheme: pass a seed hex (e.g. "#c67139") to derive a full, harmonious 6-section scheme (header, botBubble, userBubble, inputBar, sendBtn, launcher) - same algorithm as the dashboard's own Auto-generate button.
- color_scheme: set/override individual sections directly, e.g. {"header": {"bg": "#111827", "text": "#ffffff"}} - only the sections/fields given are touched, everything else (existing or just auto-generated) is left as-is. Combine both in one call: auto-generate a base scheme, then override just the header.
- clear_color_scheme=true removes it entirely so primary_color/widget_style fully take over again.
If a primary_color/widget_style change doesn't seem to take effect, check the returned color_scheme field - it takes priority over them wherever it's set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bot_id | Yes | ||
| avatar_url | No | ||
| custom_css | No | ||
| avatar_icon | No | ||
| color_scheme | No | ||
| widget_style | No | ||
| hide_branding | No | ||
| primary_color | No | ||
| teaser_message | No | ||
| header_logo_url | No | ||
| clear_color_scheme | No | ||
| conversation_starters | No | ||
| auto_generate_color_scheme | No |