Skip to main content
Chat WidgetVersion: v3

Clone a Chat Widget

POST/chat-widget/clone

Clones an existing chat widget into a new widget

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

Body

locationIdstringrequired

locationId

Example:oHJiAh0wDG3BzmzACVD6
chatWidgetIdstringrequired

ID of the widget to clone. Cloning is rejected with a 422 when the source widget’s stored chatType is outside liveChat and emailChat — the restriction is evaluated against the persisted widget, not against this request body.

Example:oHJiAh0wDG3BzmzACVD6
namestring

Name for the cloned widget

Example:Chat Widget 1 (copy)

Response

Created

_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