Skip to content

ButterIX v1 is out: versions, multiple languages, Ask AI, and a per-site MCP server, all built in. →

Get embed settings

GEThttps://api.butterix.com/v1/sites/:site/embed

Authentication

AuthorizationBearer

An organization API key, created in the console under Organization settings → API Keys, starting with biti_. It acts as editor and can't do anything that requires admin.

biti_sessionstring

The HttpOnly session cookie set on login. Requests that change data must be same-origin (the Origin header is checked) to prevent CSRF.

Path parameters

sitestringRequired

Site slug or id

Response

Websites that may embed the assistant, the skin, and the docs site's own two accent colors
skinenumOptionalDefaults to classic

Skin: classic, or aurora (frosted glass with flowing light along the edges). A data-skin attribute on the page takes priority

Allowed values:
triggerenumOptionalDefaults to button

Entry style: button (a floating button) or bar (an input bar at the bottom). A data-trigger attribute on the page takes priority

Allowed values:
themeenumOptionalDefaults to dark

Color mode; auto follows the visitor's system setting. A data-theme attribute on the page takes priority

Allowed values:
colorstring or nullOptional

Accent color for light mode; null uses the docs site's own. A data-color attribute on the page takes priority

colorDarkstring or nullOptional

Accent color for dark mode; when null, it's derived from color or the docs site's own is used. A data-color-dark attribute on the page takes priority

originslist of stringsOptional<=20 items

Allowed origins; *. covers any subdomain, and http is for localhost only

accentobject or nullOptional

文档站亮色与暗色模式的强调色,嵌入时不指定颜色就用它们;还没发布过时为 null

lightstringOptional
darkstringOptional