Create Widget
Create a new LiveChat widget.
Request
- Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
- URL: https://api.dialogbrain.com/api/livechat/widgets
- Auth: none declared
Request body
Custom field rendering config. Keys are field names, values are {label, type, options?, required?}. type: 'text'|'email'|'tel'|'select'|'date'. options: list of strings for select type.
Calendly/scheduling URL for calendar action (e.g., https://calendly.com/company/demo)
Available fields for contact form action
Per-field config overrides: {field_name: {label?, type?, placeholder?, options?}}
Allow LLM to use search action in AUTO_REPLY_RULES
Allow LLM to use form action to collect visitor info
Allow LLM to use calendar action to send scheduling links
Allow visitors to upload file attachments (images, PDFs)
Maximum file size in MB for attachments
Allowed MIME types for attachments
Play sound when new message arrives
Enable direct product search on widget owner's website
Widget owner's website URL for product search (e.g., https://beautique-store.com)
E-commerce platform: shopify, woocommerce, generic, or null for auto-detect
Enable voice call mode in the widget
Allow typing messages during an active voice/avatar call
Enable avatar (talking-head video) call mode in the widget
Show the 'Powered by DialogBrain' badge under the chat. Hiding it needs a paid plan for this widget.
First message the agent speaks when a voice call starts. Empty = agent waits.
STT model: 'flux' (context-aware turn detection) or 'nova-3' (classic)
Maximum voice call duration in seconds
Visual mode of the widget. 'chat' (default): full chat panel + mic. 'voice_only': mic-only bubble that launches a voice call directly. 'headless': no UI; customer drives the widget via window.DialogBrain.* JS API.
Response
Successful Response
Changes
No recorded changes to this operation across all 6 revisions of this API.