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 2-character locale code (e.g. en, nl). Unsupported codes fall back to English. |
Example:
{
"primaryColor": "#4f46e5",
"backgroundColor": "#f9fafb",
"locale": "en"
}