Embed Widgets
Update Widget
Update an embed widget’s name, status, linked key, appearance, behavior, security, or intent config.
PATCH
Update Widget
Authentication
Requires a Bearer token (API key) or a dashboard session.Path Parameters
The widget config UUID.
Request
All fields are optional — include only what you want to change.Display name for the widget.
"active" or "disabled".Re-link the widget to a different API key.
Visual customization (
primaryColor, position, borderRadius, fontFamily, …).Behavioral settings (
welcomeMessage, placeholder, maxPromptLength, enableFileUpload, enableVoice, strictAbuse).Security settings: the bot-protection toggle and the domain allowlist (
allowedOrigins/allowedDomains).Human-escalation intent config (custom keyword triggers and actions).
Response
The updated widget config.
Example
curl
Update Widget
