Update a widget
Authentication
Path parameters
Widget id. A value that is not a UUID returns 400 Invalid widget ID.
Request
Agent that answers visitors from now on. Not looked up; use an agent of your workspace.
Internal name. Trimmed; an empty or blank string is treated as not sent.
Replaces the whole list. Full origins (scheme, host, optional port); * never matches.
Widget look and copy. On write, primary_color is required whenever branding is sent, and the object
REPLACES the stored branding (it is not merged). Widgets created without branding store {}, which is
what POST /widget/init then returns.
Whether POST /widget/voice-session may be used for this widget.
First message the widget shows. Trimmed. null or an empty string clears it.
Requests per minute allowed per widget credential on the public /widget/* endpoints.
Response
A web-chat widget configuration. Returned by every /api/widgets endpoint. Field names are snake_case.

