Headers
Your API key for authentication.
Path Parameters
UUID of the widget to update.
Body
New pathway UUID to associate with the widget. Must be defined if
agent_prompt
is null.New pathway UUID to associate with the widget. Must be defined if
pathway_id
is null.New array of allowed domains where the widget can be embedded.
New rate limit for messages (minimum: 0).
New widget configuration object (flexible JSON).
New agent UUID to associate with the widget.
Response
HTTP status code (200 for success).
The updated widget object containing:
id
(string): Widget UUIDpathway_id
(string): Associated pathway UUIDagent_id
(string | null): Associated agent UUID or nullallowed_domains
(string[]): Array of allowed domainsmessages_per_minute
(number): Rate limit for messagesconfig
(object): Widget configuration objectcreated_at
(string): ISO timestampupdated_at
(string): Updated ISO timestamp
Always null on successful response.