Workspace

Update chat widget configuration

post/workspace/{workspaceId}/chat

Request

  • Base URL: https://api.savanto.ai
  • URL: https://api.savanto.ai/workspace/{workspaceId}/chat
  • Auth: HTTP bearer

Path parameters

workspaceIdstring required
Example:my-workspace

Request body

enabledboolean
triggerPosition'bottom-right' | 'bottom-left' | 'top-right' | 'top-left'
triggerShowBackgroundboolean
triggerShowBorderboolean
titlestring
subtitlestring
headerAvatarShowBackgroundboolean
headerAvatarShowBorderboolean
greetingstring
greetingSubtextstring
placeholderstring
cardLayout'carousel' | 'stack'
promptStyle'inline' | 'input' | 'both'
productCardVariant'default' | 'horizontal'
productCardImageDisplay'contain' | 'cover' | 'backdrop'
productCardImageAspectRatio'square' | 'landscape' | 'wide'
postCardImageDisplay'contain' | 'cover' | 'backdrop'
postCardImageAspectRatio'square' | 'landscape' | 'wide'
showMessageActionsboolean
showUserCopyButtonboolean
showMessageTimestampsboolean
showPostImageboolean
showPostAuthorboolean
showPostDateboolean
showPostCategoryboolean
popoverEnabledboolean
popoverMessagestring
popoverDelayinteger
popoverShowOnceboolean
customCSSstring
resetToDefaultsboolean

Response

Updated chat config

object'widget_config' required
requestIdstring required

Changes

No recorded changes to this operation across all 1 revision of this API.