Patch Chat Widget
Applies a partial update to an existing chat widget
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your access token.
chat-widget. writeOAuthPrivate IntegrationSub-Account TokenRequest
Headers
API Version
v3v3Path Parameters
The chat widget ID
ve9EPM428h8vShlRWsssThe location ID
ve9EPM428h8vShlRWsssBody
Version
2Chat Type. The public API supports only liveChat and emailChat; any other value is rejected with a 422.
liveChatemailChatemailChatName
Chat Widget 1Default
falseSettings
{
"promptType": "avatar",
"locale": "en-us",
"heading": "Welcome to Acme",
"widgetPrimaryColor": "#4285F4",
"theme": {
"name": "blue"
}
}
Acknowledgement Details
{}
Acknowledgement icon. Either a preset name (Check, CheckCircle, MessageDotsCircle, MessageSmileSquare) or an absolute URL to a custom uploaded image.
Check- string
- string<uri>
CheckCheckCircleMessageDotsCircleMessageSmileSquarePlaceholder color
#000Live-chat acknowledgement icon. Either a preset name (Check, CheckCircle, MessageDotsCircle, MessageSmileSquare) or an absolute URL to a custom uploaded image.
Check- string
- string<uri>
CheckCheckCircleMessageDotsCircleMessageSmileSquarePlaceholder color for live chat
#000Name of the agency
Example AgencyWebsite URL of the agency
https://example.comAllow avatar image
trueBoolean indicating whether to automatically detect country code
trueCountry code
USChat Type. The public API supports only liveChat and emailChat; any other value is rejected with a 422.
liveChatemailChatemailChatChat bubble style — "avatar" shows the agent avatar, "normal" shows a plain bubble.
avatarnormalavatarIcon shown on the closed chat bubble. Either a preset name (messageChatCircle, messageChatSquare, messageSquare, messageDotsCircle, messageWhatsApp, phoneCall01, phone, phoneOutgoing02, fbMessenger, instagram) or an absolute URL to a custom uploaded image.
messageChatCircle- string
- string<uri>
messageChatCirclemessageChatSquaremessageSquaremessageDotsCirclemessageWhatsAppphoneCall01phonephoneOutgoing02fbMessengerinstagramBoolean indicating whether to enable a revisit message
trueHeading text
Welcome to Our WebsiteLegal message
By using this website, you agree to our terms and conditions.Message acknowledging a live chat
Thank you for reaching out. How may I assist you today?Message indicating the end of a live chat
Thank you for chatting with us. Have a great day!Message asking for feedback after a live chat
We would appreciate your feedback. Please rate your experience.Note regarding live chat feedback
Your feedback helps us improve our services.Introduction message for a live chat
Hello! Welcome to our live chat support. How can I assist you today?Message for inactive users during a live chat
Are you still there? Please let us know if you need assistance.Time for considering a user inactive during a live chat
5 minutesMessage for inactive visitors during a live chat
Looks like you stepped away. Feel free to return whenever you need help.Time for considering a visitor inactive during a live chat
10 minutesLocale setting. Use "location" to inherit from the location's locale, or "auto" to detect from the visitor's browser. Otherwise pick a BCP 47 tag in hyphen-lowercase form.
locationautoen-usen-gbdefr-frnlhupt-ptpt-bresfr-caen-usAvatar for prompts
avatar.jpgPrompt Avatar Alt Text
company logoAvatar Image Optimization
falsePrompt message
Need assistance? Feel free to ask us anything!Message for revisiting prompts
Welcome back! How can we help you today?Text for send action
SendBoolean indicating whether to show agency branding
trueBoolean indicating whether to show a consent checkbox
trueBoolean indicating whether to show a welcome message for live chat
trueBoolean indicating whether to show prompts
trueSubheading text
We are here to help you!Success message
Your message has been sent successfully.Thank you message
Thank you for visiting our website!Theme
{}
Theme preset name. Use "custom" together with a colors/typography object to override.
bluetealtanlavendergoldeninstagramfacebookcustomblueResolved theme value / preset identifier persisted alongside the preset name.
blueCustom Color Options
{}
Chat Bubble Color
#fffffBackground Color
#fffffHeader Color
#fffffButton Color
#fffffAvatar Background Color
#fffffAvatar Border Color
#fffffSender Message Color
#fffffReceived Message Color
#fffffTypography Options
{}
Font Family
interTypography Color Options
{}
Sender Message Text Color
#fffffReceived Message Text Color
#fffffHeader Message Text Color
#fffffWelcome Message Text Color
#fffffSystem Message Text Color
#fffffWhatsApp number
+1234567890Primary color for the widget
#4285F4Representative Assigned Message
#4285F4Customizations
{}
Widget anchor position on the host page (kebab-case).
top-lefttop-rightmiddle-leftmiddle-rightbottom-leftbottom-rightbottom-rightWidget dimensions (width/height)
{}
Width in pixels. Accepts a number (360), a CSS length ("600px"), or "" for auto.
360- number
- string
Height in pixels. Accepts a number (640), a CSS length ("600px"), or "" for auto.
640- number
- string
Advance Settings
{}
Branding Title
AgencyRedirect Object
{}
Redirect Action
falseRedirect Website
www.example.comRedirect Text
Click hereBoolean for showing contact form at start
trueBy default consent check for contact form
trueBusiness Office Hours
{}
Enable Business Hours
falseOpen Hours
[
{
"daysOfTheWeek": [
1,
2,
3,
4,
5
],
"hours": [
{
"openHour": "09",
"openMinute": "00",
"closeHour": "16",
"closeMinute": "30"
}
]
}
]
Day of week
[1]Hours
[
{
"openHour": "09",
"openMinute": "00",
"closeHour": "16",
"closeMinute": "30"
}
]
Time Zone
UTCTime Zone
Asia/CalcuttaOrdered list of fields shown on the chat-widget contact form. Standard fields are identified by value = name | phone | email | message; custom fields use the contact custom-field id.
[
{
"label": "Name",
"value": "name",
"dataType": "TEXT",
"fieldKey": "contact.name",
"required": true
},
{
"label": "Email",
"value": "email",
"dataType": "EMAIL",
"fieldKey": "contact.email",
"required": true
},
{
"label": "Phone",
"value": "phone",
"dataType": "PHONE",
"fieldKey": "contact.phone",
"required": false
}
]
Display label shown next to the field in the form.
EmailField identifier. For standard fields use one of: name, phone, email, message. For custom fields use the contact custom-field id.
emailData type of the field, used to pick the input control and validation.
TEXTLARGE_TEXTTEXTAREAEMAILPHONEDATENUMERICALMONETORYSINGLE_OPTIONSEMAILPlaceholder text rendered inside the input.
EmailDotted field key used to write the value onto the contact (e.g. contact.email).
contact.emailWhether the field must be filled in to submit the form.
trueClient-assigned field identifier; the chat-widget UI round-trips this on save.
1Whether the field is shown but disabled in the form editor.
falseChoices for option-type custom fields (SINGLE_OPTIONS, MULTIPLE_OPTIONS, RADIO, CHECKBOX).
["Option 1","Option 2"]All In One Chat Type
[]All In One Initial Msg
Choose a chat option to get started.Contact Form Intro Message
Please share contact detailsContact Form System Message
Please share contact detailsPrefilled Message Text
I want to know moreVoice AI Agent
{}
Facebook Page
{}
Facebook Page ID
1234567890Facebook Page Name
Facebook Page NameInstagram Page
{}
Facebook Page ID
1234567890Facebook Page Name
Facebook Page NameInstagram Page ID
1234567890Instagram UserName
Instagram UserNamePlay Notification Sound
falseAllow visitors to record and send voice notes from the chat window
trueAllow visitors to send attachments (images, PDFs, files) alongside their messages
trueVoice Ai Send Action Text
Call NowVoice AI display mode
avatarvisualiseravatarVoice AI Animation ID. Only "1" is supported for now.
11Voice AI animation visualiser color
#155EEFVoice AI animation size for the embedded visualiser orb
smmdlgmdAdd Supporting Text
trueSupporting Text
We are here to help youLocation Country Code
USWidget Placement. "sticky" keeps the widget pinned to a page corner; "embedded" renders inline within the host page.
stickyembeddedembeddedLoad strategy for the embed script: "immediate" loads on page load (default), "interaction" defers until user interacts.
immediateinteractioninteractionResponse
Success
Chat widget ID
ve9EPM428h8vShlRWsssSchema version of the widget
2Chat Type. Reads are not restricted to the public-API write allow-list, so any stored chat type can be returned here.
liveChatwaChatemailChatallInOneChatvoiceAiChatfacebookChatinstagramChatemailChatWidget name
Chat Widget 1The location ID that owns this widget
ve9EPM428h8vShlRWsssWhether the widget is soft-deleted
falseWhether this is the default widget for the location
falseWidget settings
Acknowledgement Details
Acknowledgement icon. Either a preset name (Check, CheckCircle, MessageDotsCircle, MessageSmileSquare) or an absolute URL to a custom uploaded image.
Check- string
- string<uri>
CheckCheckCircleMessageDotsCircleMessageSmileSquarePlaceholder color
#000Live-chat acknowledgement icon. Either a preset name (Check, CheckCircle, MessageDotsCircle, MessageSmileSquare) or an absolute URL to a custom uploaded image.
Check- string
- string<uri>
CheckCheckCircleMessageDotsCircleMessageSmileSquarePlaceholder color for live chat
#000Name of the agency
Example AgencyWebsite URL of the agency
https://example.comAllow avatar image
trueBoolean indicating whether to automatically detect country code
trueCountry code
USChat Type. The public API supports only liveChat and emailChat; any other value is rejected with a 422.
liveChatemailChatemailChatChat bubble style — "avatar" shows the agent avatar, "normal" shows a plain bubble.
avatarnormalavatarIcon shown on the closed chat bubble. Either a preset name (messageChatCircle, messageChatSquare, messageSquare, messageDotsCircle, messageWhatsApp, phoneCall01, phone, phoneOutgoing02, fbMessenger, instagram) or an absolute URL to a custom uploaded image.
messageChatCircle- string
- string<uri>
messageChatCirclemessageChatSquaremessageSquaremessageDotsCirclemessageWhatsAppphoneCall01phonephoneOutgoing02fbMessengerinstagramBoolean indicating whether to enable a revisit message
trueHeading text
Welcome to Our WebsiteLegal message
By using this website, you agree to our terms and conditions.Message acknowledging a live chat
Thank you for reaching out. How may I assist you today?Message indicating the end of a live chat
Thank you for chatting with us. Have a great day!Message asking for feedback after a live chat
We would appreciate your feedback. Please rate your experience.Note regarding live chat feedback
Your feedback helps us improve our services.Introduction message for a live chat
Hello! Welcome to our live chat support. How can I assist you today?Message for inactive users during a live chat
Are you still there? Please let us know if you need assistance.Time for considering a user inactive during a live chat
5 minutesMessage for inactive visitors during a live chat
Looks like you stepped away. Feel free to return whenever you need help.Time for considering a visitor inactive during a live chat
10 minutesLocale setting. Use "location" to inherit from the location's locale, or "auto" to detect from the visitor's browser. Otherwise pick a BCP 47 tag in hyphen-lowercase form.
locationautoen-usen-gbdefr-frnlhupt-ptpt-bresfr-caen-usAvatar for prompts
avatar.jpgPrompt Avatar Alt Text
company logoAvatar Image Optimization
falsePrompt message
Need assistance? Feel free to ask us anything!Message for revisiting prompts
Welcome back! How can we help you today?Text for send action
SendBoolean indicating whether to show agency branding
trueBoolean indicating whether to show a consent checkbox
trueBoolean indicating whether to show a welcome message for live chat
trueBoolean indicating whether to show prompts
trueSubheading text
We are here to help you!Success message
Your message has been sent successfully.Thank you message
Thank you for visiting our website!Theme
Theme preset name. Use "custom" together with a colors/typography object to override.
bluetealtanlavendergoldeninstagramfacebookcustomblueResolved theme value / preset identifier persisted alongside the preset name.
blueCustom Color Options
Chat Bubble Color
#fffffBackground Color
#fffffHeader Color
#fffffButton Color
#fffffAvatar Background Color
#fffffAvatar Border Color
#fffffSender Message Color
#fffffReceived Message Color
#fffffTypography Options
Font Family
interTypography Color Options
Sender Message Text Color
#fffffReceived Message Text Color
#fffffHeader Message Text Color
#fffffWelcome Message Text Color
#fffffSystem Message Text Color
#fffffWhatsApp number
+1234567890Primary color for the widget
#4285F4Representative Assigned Message
#4285F4Customizations
Widget anchor position on the host page (kebab-case).
top-lefttop-rightmiddle-leftmiddle-rightbottom-leftbottom-rightbottom-rightWidget dimensions (width/height)
Width in pixels. Accepts a number (360), a CSS length ("600px"), or "" for auto.
360- number
- string
Height in pixels. Accepts a number (640), a CSS length ("600px"), or "" for auto.
640- number
- string
Advance Settings
Branding Title
AgencyRedirect Object
Redirect Action
falseRedirect Website
www.example.comRedirect Text
Click hereBoolean for showing contact form at start
trueBy default consent check for contact form
trueBusiness Office Hours
Enable Business Hours
falseOpen Hours
Day of week
[1]Hours
Time Zone
UTCTime Zone
Asia/CalcuttaOrdered list of fields shown on the chat-widget contact form. Standard fields are identified by value = name | phone | email | message; custom fields use the contact custom-field id.
Display label shown next to the field in the form.
EmailField identifier. For standard fields use one of: name, phone, email, message. For custom fields use the contact custom-field id.
emailData type of the field, used to pick the input control and validation.
TEXTLARGE_TEXTTEXTAREAEMAILPHONEDATENUMERICALMONETORYSINGLE_OPTIONSEMAILPlaceholder text rendered inside the input.
EmailDotted field key used to write the value onto the contact (e.g. contact.email).
contact.emailWhether the field must be filled in to submit the form.
trueClient-assigned field identifier; the chat-widget UI round-trips this on save.
1Whether the field is shown but disabled in the form editor.
falseChoices for option-type custom fields (SINGLE_OPTIONS, MULTIPLE_OPTIONS, RADIO, CHECKBOX).
["Option 1","Option 2"]All In One Chat Type
[]All In One Initial Msg
Choose a chat option to get started.Contact Form Intro Message
Please share contact detailsContact Form System Message
Please share contact detailsPrefilled Message Text
I want to know moreVoice AI Agent
Facebook Page
Facebook Page ID
1234567890Facebook Page Name
Facebook Page NameInstagram Page
Facebook Page ID
1234567890Facebook Page Name
Facebook Page NameInstagram Page ID
1234567890Instagram UserName
Instagram UserNamePlay Notification Sound
falseAllow visitors to record and send voice notes from the chat window
trueAllow visitors to send attachments (images, PDFs, files) alongside their messages
trueVoice Ai Send Action Text
Call NowVoice AI display mode
avatarvisualiseravatarVoice AI Animation ID. Only "1" is supported for now.
11Voice AI animation visualiser color
#155EEFVoice AI animation size for the embedded visualiser orb
smmdlgmdAdd Supporting Text
trueSupporting Text
We are here to help youLocation Country Code
USWidget Placement. "sticky" keeps the widget pinned to a page corner; "embedded" renders inline within the host page.
stickyembeddedembeddedLoad strategy for the embed script: "immediate" loads on page load (default), "interaction" defers until user interacts.
immediateinteractioninteractionHow the widget was created
chat-widgeta2pCompliancepublic-apisnapshotchat-widgetID of the user who last updated the widget
oHJiAh0wDG3BzmzACVD6ID of the widget this one was cloned or imported from
ve9EPM428h8vShlRWsssCreation timestamp (ISO 8601)
2026-08-17T09:24:11.123ZLast update timestamp (ISO 8601)
2026-08-17T09:24:11.123Z