PATCH /api/v1/workspaces/{workspace_id}/widget-config
PATCH
/api/v1/workspaces/{workspace_id}/widget-config
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” workspace_id
required
string
The ID of the workspace.
Example
01kxb0t5c4ccf16vp1qt0y0merRequest Body
Section titled “Request Body ”object
allowed_origins
Must be a valid URL. Must not be greater than 255 characters.
Array<string>
[ "b"] pre_chat_fields
Array<object>
object
key
required
Must not be greater than 40 characters.
string
w label
required
Must not be greater than 80 characters.
string
l type
required
string
email required
boolean
true theme
object
color
Must match the regex /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.
string
#eEd primary
Must match the regex /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.
string
#eEd primaryText
Must match the regex /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.
string
#eEd launcher
Must match the regex /^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.
string
#eEd position
string
left greeting_enabled
boolean
greeting_text
Must not be greater than 1000 characters.
string
d greeting_language
Must not be greater than 16 characters.
string
ljnikhwaykcmyuwp is_enabled
boolean
branding_enabled
boolean
accepting_chats
boolean
true proactive_rules
Must not have more than 20 items.
Array<object>
object
url_pattern
required
Must not be greater than 255 characters.
string
v delay_seconds
required
Must be at least 0. Must not be greater than 3600.
integer
3 message
required
Must not be greater than 500 characters.
string
w