Skip to main content
PATCH
Update web widget

Path Parameters

id
string<uuid>
required

Body

application/json
assistant_id
string<uuid>

Assistant that answers voice and chat from this widget.

name
string
allowed_origins
string[]

Replaces the allowlist. Empty array blocks third-party hosts.

voice_enabled
boolean
chat_enabled
boolean
is_active
boolean
theme
object

Widget appearance. launcher_label_i18n is derived from launcher_label and is read-only — never persist client-supplied maps.

phone_verification_enabled
boolean
default:false

Require the selected email or SMS verification before chat or voice. Available in root workspaces, including a reseller’s own workspace; unavailable to reseller customer workspaces.

phone_verification_accepted_credits
number | null

Explicitly accept the current per-SMS price from the widget list response. Currently 80 credits per accepted send, including resends; code checks and valid remembered visits are free.

verification_method
enum<string>
default:sms

Verify visitors by SMS or email. Email uses the platform sender without additional credits.

Available options:
sms,
email

Response

Updated widget.

data
object
required