Change the chat widget settings
update_widget_settingsChange one or more chat widget settings. Pass an object of setting name to new value; read them with get_widget_settings first. Changes are live for every visitor at once. Settings the plan does not include are refused with the plan they need, and nothing is written unless every value is valid. For a message the chatbot sends by itself on a click, a page, after some seconds or on an event, use save_proactive_message, not the greeting or auto-trigger.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| settings | Yes | Setting name to new value, for example widget_color set to #6366f1. | |
| website_id | No | Numeric id of the website, from list_websites. Omit to use the account's primary website. |