Endpoints at a glance
Reference
GET /api/v1/agents/{id}/widget-settings
Get per-agent widget policy
Returns the widget policy for one agent (auth requirements, custom intro copy, agent-specific overrides).
Parameters
Responses
Example
PATCH /api/v1/agents/{id}/widget-settings
Update per-agent widget policy
Parameters
Request body (
application/json)
Schema: data.AgentWidgetSettings. Server-set fields (id, created_at, updated_at, …) are ignored if supplied; only the user-settable fields are shown below.
Responses
Example
GET /api/v1/widget-settings
Get account-level widget branding
Returns the widget appearance config (colors, logo, copy) shared by every embedded widget in this account.
Responses
Example
PATCH /api/v1/widget-settings
Update account-level widget branding
Request body (application/json)
Schema: data.WidgetSettings. Server-set fields (id, created_at, updated_at, …) are ignored if supplied; only the user-settable fields are shown below.
Responses
Example

