Skip to main content
POST
Create Widget

Authorizations

api_key
string
query
required

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

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,
sip
user_opening_messages
string[] | null
required
action_buttons
any[] | null
required
org_id
string<uuid> | null
assistant_id
string<uuid> | null
name
string | null
description
string | null
attributes
Attributes · object
display_name
string | null
intro_message
string | null
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_color
string | null
style_params
Style Params · object | null

Response

Successful Response

message
string | null
default:Data created successfully
meta
Meta · object | null
data
IWidgetRead · object | null