PUT
/
api
/
v1
/
widget
/
{widget_id}
{
  "message": "<string>",
  "meta": {},
  "data": {
    "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "widget_type": "chat",
    "assistant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "name": "<string>",
    "description": "<string>",
    "attributes": {},
    "display_name": "<string>",
    "intro_message": "<string>",
    "user_opening_messages": [
      "<string>"
    ],
    "header_color": "<string>",
    "user_message_color": "<string>",
    "bot_message_color": "<string>",
    "bot_icon_color": "<string>",
    "remove_branding": true,
    "ice_break_color": "<string>",
    "bubble_color": "<string>",
    "bubble_text": "<string>",
    "bot_text_message_color": "<string>",
    "user_text_message_color": "<string>",
    "header_text_color": "<string>",
    "textbox_default_text": "<string>",
    "action_buttons": [
      "<any>"
    ],
    "action_buttons_color": "<string>",
    "style_params": {},
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "conversation_bot_icon": "<string>",
    "bubble_bot_icon": "<string>",
    "provider_user_friendly_label": "<string>",
    "widget_provider": "<string>"
  }
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Path Parameters

widget_id
string<uuid>
required

Body

application/json
widget_type
enum<string> | null
required
Available options:
chat,
html,
whatsapp,
phone,
html_call,
leadconnector,
leadconnector_call,
sms,
fb_messenger,
instagram,
web_call,
plivo_call,
telnyx_call,
telegram,
render_form
org_id
string<uuid> | null
assistant_id
string<uuid> | null
name
string | null
description
string | null
attributes
object
display_name
string | null
intro_message
string | null
user_opening_messages
string[]
header_color
string | null
user_message_color
string | null
bot_message_color
string | null
bot_icon_color
string | null
remove_branding
boolean | null
default:false
ice_break_color
string | null
bubble_color
string | null
bubble_text
string | null
bot_text_message_color
string | null
user_text_message_color
string | null
header_text_color
string | null
textbox_default_text
string | null
action_buttons
any[]
action_buttons_color
string | null
style_params
object | null

Response

Successful Response

message
string | null
default:Data updated successfully
meta
data
object | null