Voiceflow bearer token
Update widget
Changes the widget configuration on the environment’s draft version, such as its surface, colors, launcher, disclaimers, or approved domains. The change reaches visitors once the environment is published.
Authorizations
Query Parameters
Body
Chat-surface fields to change, merged one level deep into the stored chat block: what you send replaces its stored counterpart and everything else is kept. A nested object (banner, headerImage, disclaimer, csat, …) replaces the stored one outright, so send it complete. placeholderText and aiDisclaimer need the Webchat Premium entitlement and disclaimer the widget-security one: without it the whole request is refused with 403 and nothing is written, including the other fields sent alongside it.
Shared-chrome fields to change, merged one level deep into the stored common block. A nested object (launcher, footerLink) replaces the stored one outright, so send it complete. primaryColor is the exception and merges too: send color on its own to recolor the widget and the shade palette is regenerated from it, send palette on its own to hand-tune the shades against the stored color, or send both together. poweredBy, fontFamily, footerLink and primaryColor.palette need the Webchat Premium entitlement — primaryColor.color on its own does not — and without it the whole request is refused with 403 and nothing is written, including the other fields sent alongside it.