v2

latestOpenAPI 3.1.02026-07-26231357386.7 KB
Widget

Create Widget

Create a new assistant

post/api/v1/widget

Request body

org_idstring uuid nullable
widget_type'chat' | 'html' | 'whatsapp' | 'phone' | 'html_call' | 'leadconnector' | 'leadconnector_call' | 'sms' | 'fb_messenger' | 'instagram' | 'web_call' | 'plivo_call' | 'telnyx_call' | 'telegram' | 'render_form' | 'sip' required
assistant_idstring uuid nullable
namestring nullable
descriptionstring nullable
attributesobject
display_namestring nullable
intro_messagestring nullable
user_opening_messagesstring[] nullable required
header_colorstring nullable
user_message_colorstring nullable
bot_message_colorstring nullable
bot_icon_colorstring nullable
remove_brandingboolean nullable
ice_break_colorstring nullable
bubble_colorstring nullable
bubble_textstring nullable
bot_text_message_colorstring nullable
user_text_message_colorstring nullable
header_text_colorstring nullable
textbox_default_textstring nullable
action_buttons_colorstring nullable
style_paramsobject nullable

Response

Successful Response

messagestring nullable