Change the chat widget settings
update_widget_settingsModify chat widget settings by passing an object of setting names to values. Optionally include website_id. Changes apply live; every value must be valid.
Instructions
Change 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.
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. |