apiKey | string | Required | Your ChatATP API Key |
agentId | string/number | Required | The ID of the agent to connect to |
userId | string | 'anonymous' | External ID for tracking users |
userDisplayName | string | 'User' | Display name shown in chats |
mode | 'popup' | 'sidebar' | 'fullscreen' | 'popup' | The layout style of the opened chat window |
position | 'left' | 'right' | 'right' | Which side the chat window aligns to |
themePrimary | string | '#0ea5e9' | Primary action/doodle color for avatar, user bubbles, send button, focus states; accepts hex, rgb, or common color names |
themeSecondary | string | '#6366f1' | Secondary surface/background color for panels, containers, assistant bubbles, launcher shell, and soft fills |
avatarSrc | string | '' | Optional URL to a custom avatar image |
baseUrl | string | 'http://localhost:8000' | Override the API base URL |
placeholder | string | '' | Launcher pill text beside the copilot button |
statusText / status-text | string | 'Ask anything about your agents, platforms or tools.' | Header helper text when idle |
inputPlaceholder / input-placeholder | string | 'Ask the copilot...' | Message textarea placeholder |
emptyHeading / empty-heading | string | 'What are we building today?' | Empty-state headline |
emptySubheading / empty-subheading | string | 'Ask me anything, or pick a starting point below.' | Empty-state supporting text |
quickActions / quick-actions-json | array/JSON string | Built-in starter cards | Custom quick action cards with title, subtitle, prompt, optional iconHtml, or React icon |
fullscreenUrl / fullscreen-url | string | '' | Route to navigate to when fullscreen is requested |
sidebarTarget / sidebar-target | CSS selector | 'body' | Element that receives padding when sidebar opens |