Skip to main content
Version: v3

Patch Chat Widget

PATCH 

/chat-widget/data/:locationId/:id

Applies a partial update to an existing chat widget

Request

Version stringrequired

API Version

Available optionsv3
id stringrequired

The chat widget ID

locationId stringrequired

The location ID

application/json

Bodyrequired

    versionnumber

    Version

    chatTypestring

    Chat Type. The public API supports only liveChat and emailChat; any other value is rejected with a 422.

    Available optionsliveChatemailChat
    namestring

    Name

    defaultboolean

    Default

    settingsobject

    Settings

application/json

Success

Schema
    _idstringrequired

    Chat widget ID

    versionnumberrequired

    Schema version of the widget

    chatTypestringrequired

    Chat Type. Reads are not restricted to the public-API write allow-list, so any stored chat type can be returned here.

    Available optionsliveChatwaChatemailChatallInOneChatvoiceAiChatfacebookChatinstagramChat
    namestringrequired

    Widget name

    locationIdstringrequired

    The location ID that owns this widget

    deletedbooleanrequired

    Whether the widget is soft-deleted

    defaultbooleanrequired

    Whether this is the default widget for the location

    settingsobject

    Widget settings

    creationSourcestring

    How the widget was created

    Available optionschat-widgeta2pCompliancepublic-apisnapshot
    updatedBystring

    ID of the user who last updated the widget

    originIdstring

    ID of the widget this one was cloned or imported from

    createdAtstringrequired

    Creation timestamp (ISO 8601)

    updatedAtstringrequired

    Last update timestamp (ISO 8601)