Examplary
  • Start for free
    Developer docs/Embed sessions

    Theme options

    All embed session flows accept an optional theme object in the POST /embed-sessions request body to customize the appearance of the embedded UI.

    KeyTypeDescription
    primaryColorstringA CSS hex color code for primary UI elements (buttons, highlights). Accepts #RRGGBB or #RGB format.
    backgroundColorstringA CSS hex color code for the background of the embed. Accepts #RRGGBB or #RGB format.
    localestringA two-letter locale code for the UI language. Currently supported: en, nl. Defaults to English.

    Example:

    {
      "primaryColor": "#4f46e5",
      "backgroundColor": "#f9fafb",
      "locale": "en"
    }