Skip to main content
POST
Create web widget

Body

application/json
assistant_id
string<uuid>
required
name
string
required
allowed_origins
string[]

Optional site origins that may embed the widget (e.g. https://example.com). Empty or omitted blocks third-party hosts.

voice_enabled
boolean
chat_enabled
boolean
is_active
boolean
theme
object

Widget appearance. launcher_label_i18n is derived from launcher_label and is read-only — never persist client-supplied maps.

Response

201 - application/json

Created widget.

data
object
required