Embed Widgets
Create Iframe Widget
Create a new embeddable chat widget configuration linked to an API key.
POST
Create Iframe Widget
Request
The API key ID to link this widget to. The widget uses this key’s credits, Brand Soul, and allowed origins.
Display name for the widget. Default:
"My Widget".Visual customization:
primaryColor, position (bottom-right | bottom-left), borderRadius, fontFamily, custom CSS overrides.Behavioral settings:
welcomeMessage, placeholder, maxPromptLength, enableFileUpload, enableVoice, strictAbuse (enables rate-limiting heuristics).Security settings:
requireTurnstile (bot protection), allowedOrigins (domain allowlist override).Response
The widget config UUID. Use this as the
configId in the embed script.Widget display name.
"active" or "disabled".Ready-to-use HTML
<script> tag for embedding on your site.Authentication
Requires a dashboard session.Example
curl
Create Iframe Widget
