Widget
Widget HTML host page
Serves a self-contained HTML page for iframe embedding. Renders the AtlasChat component with configurable theme, API URL, position, branding, and initial query.
Query Parameters
theme?string
Color theme.
Default
"system"Value in
"light" | "dark" | "system"apiUrl?string
Atlas API base URL (http/https only).
position?string
Widget position.
Default
"inline"Value in
"bottomRight" | "bottomLeft" | "inline"logo?string
HTTPS URL to a custom logo image.
accent?string
Hex color without # (e.g. '4f46e5').
welcome?string
Welcome message (max 500 chars).
initialQuery?string
Auto-send query on first open (max 500 chars).
Response Body
text/html
text/html
curl -X GET "http://localhost:3001/widget""string""string"