All embed session flows accept an optional theme object in the POST /embed-sessions request body to customize the appearance of the embedded UI.
| Key | Type | Description |
|---|---|---|
primaryColor | string | A CSS hex color code for primary UI elements (buttons, highlights). Accepts #RRGGBB or #RGB format. |
backgroundColor | string | A CSS hex color code for the background of the embed. Accepts #RRGGBB or #RGB format. |
locale | string | A two-letter locale code for the UI language. Currently supported: en, nl. Defaults to English. |
Example:
{
"primaryColor": "#4f46e5",
"backgroundColor": "#f9fafb",
"locale": "en"
}