Skip to main content
Version: v3

Get Chat Widget by ID

GET 

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

Returns the full chat widget configuration for the given location and widget ID

Request

Version stringrequired

API Version

Available optionsv3
id stringrequired

The chat widget ID

locationId stringrequired

The location ID

application/json
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)