window.ObiSDK function with a command name and a payload:
Commands
update
Merge configuration into the widget. Use it to identify the customer, change visibility, move the widget, or open the menu.
| Field | Type | Description |
|---|---|---|
isActive | boolean | Show or hide the widget. |
position | string | bottom-left, bottom, or bottom-right. |
showMenu | boolean | Open Obi’s menu. |
user | object | Information about the customer. See Identifying users. |
startSession
Start a new session for a specific plan.
| Field | Type | Description |
|---|---|---|
planUuid | string | UUID of the plan to start. Required. |
stopSession
Stop the current session. Takes no payload.
Configuration object
Setwindow.obiWidgetConfig before the loader runs to configure the widget at load time. See Widget configuration for all options.

