Skip to main content
Chat WidgetVersion: v3

Delete a Chat Widget

DEL/chat-widget/{locationId}/{id}

Deletes a chat widget by ID

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:chat-widget.write
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3
Example:v3

Path Parameters

idstringrequired

The chat widget ID

Example:ve9EPM428h8vShlRWsss
locationIdstringrequired

The location ID

Example:ve9EPM428h8vShlRWsss

Response

Success

_idstringrequired

Chat widget ID

Example:ve9EPM428h8vShlRWsss
versionnumberrequired

Schema version of the widget

Example:2
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
Example:emailChat
namestringrequired

Widget name

Example:Chat Widget 1
locationIdstringrequired

The location ID that owns this widget

Example:ve9EPM428h8vShlRWsss
deletedbooleanrequired

Whether the widget is soft-deleted

Example:false
defaultbooleanrequired

Whether this is the default widget for the location

Example:false
settingsobject

Widget settings

creationSourcestring

How the widget was created

Available optionschat-widgeta2pCompliancepublic-apisnapshot
Example:chat-widget
updatedBystring

ID of the user who last updated the widget

Example:oHJiAh0wDG3BzmzACVD6
originIdstring

ID of the widget this one was cloned or imported from

Example:ve9EPM428h8vShlRWsss
createdAtstringrequired

Creation timestamp (ISO 8601)

Example:2026-08-17T09:24:11.123Z
updatedAtstringrequired

Last update timestamp (ISO 8601)

Example:2026-08-17T09:24:11.123Z