GET /tenants/
Retrieve tenant information. Required scope:settings:read
Request
Response
PUT /tenants/
Modify tenant settings. Send only the fields you want to update. Required scope:settings:write
Request
Response
Returns the full updated tenant object.Modifiable fields
Personality
| Field | Type | Description |
|---|---|---|
name | string | Tenant display name |
botName | string | Bot name shown in widget header |
botTitle | string | Subtitle under bot name |
botLore | string | Background story (injected in system prompt) |
botTone | string | FORMAL, NEUTRAL, FRIENDLY, PLAYFUL, TECHNICAL |
useTutoiement | boolean | Use “tu” instead of “vous” (French bots) |
allowEmojis | boolean | Allow emojis in responses |
Appearance
| Field | Type | Description |
|---|---|---|
primaryColor | string | Hex color for widget UI |
secondaryColor | string | Secondary hex color |
showAiBadge | boolean | Show “AI” badge in widget |
botAvatar | string | Avatar image URL |
avatarType | string | DEFAULT, UPLOAD, LIBRARY, GENERATED |
Security
| Field | Type | Description |
|---|---|---|
allowedDomains | string[] | CORS whitelist for widget. Empty = allow all. Supports exact match, bare domain, and wildcard (*.example.com) |
contentPolicy | string | SFW_STRICT, SFW (default), MODERATE, UNFILTERED |
visitorAuthMode | string|null | jwt, otp, all, or null (disabled) |
turnstileEnabled | boolean | Enable Cloudflare Turnstile CAPTCHA |
turnstileSiteKey | string | Turnstile site key |
turnstileSecretKey | string | Turnstile secret key |
Booking CTA
| Field | Type | Description |
|---|---|---|
bookingCtaEnabled | boolean | Enable booking CTA in welcome screen |
bookingCtaConfig | object | CTA configuration (headline, subtitle, CTA text, office hours) |
Status
| Field | Type | Description |
|---|---|---|
isOnboarded | boolean | Mark onboarding as complete |
GET /tenants//stats
Retrieve usage statistics. Required scope:settings:read