> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# supportChatWidgetGeneral

> The storefront chat widget's general settings.

**Required scopes:** [`support_config_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_config_read)

## Returns

**supportChatWidgetGeneral** `[SupportChatWidgetGeneral!](/docs/api-reference/v3/reference/support/support-chat-widget-general)` *required*

The storefront chat widget's general settings, as Customer widget › General and the sign-up reward show them. One per store. Its support settings are `supportChatWidget`.

**fields**

**prompts** `[SupportChatWidgetPrompts!](/docs/api-reference/v3/reference/support/support-chat-widget-prompts)` *required*

**fields**

**custom** `[String!]!` *required*

The store's own prompts: at most 20, each 1 to 35 characters. A change replaces them all.

**predefined** `[\[SupportChatWidgetPrompt!\]!](/docs/api-reference/v3/reference/support/support-chat-widget-prompt)` *required*

The prompts Redo writes that the widget shows.

**proactiveEnabled** `Boolean!` *required*

Whether the AI agent writes a prompt from the page the shopper is on.

**quickActionFontSize** `Int!` *required*

The buttons' text size in pixels.

**quickActions** `[\[SupportChatWidgetQuickAction!\]!](/docs/api-reference/v3/reference/support/support-chat-widget-quick-action)` *required*

The buttons on the widget's home page, in order. The contact form offers the same ones.

**fields**

**chatFlowStep** `Int`

The chat flow step it starts at, counted from 0, for START\_CHAT\_FLOW. Null otherwise.

**kind** `[SupportChatWidgetQuickActionKind!](/docs/api-reference/v3/reference/support/support-chat-widget-quick-action-kind)` *required*

What it does.

**message** `String`

The answer, for SEND\_MESSAGE. Null otherwise.

**title** `String!` *required*

What the button says.

**url** `String`

The link, for OPEN\_LINK. Null otherwise.

**selfServe** `[SupportChatWidgetSelfServe!](/docs/api-reference/v3/reference/support/support-chat-widget-self-serve)` *required*

**fields**

**editOrderEnabled** `Boolean!` *required*

Whether shoppers may edit an order from the widget, which the store's order editing settings turn on. It shows only while an order editing action is on too. Turning it on fails with BAD\_USER\_INPUT for a store without the help desk.

**editOrderLabel** `String!` *required*

What the edit order action says. At most 500 characters.

**startClaimEnabled** `Boolean`

Whether shoppers can start a claim. Null when never set: the widget then offers it to a store whose customers can file claims.

**startReturnEnabled** `Boolean`

Whether shoppers can start a return or exchange. Null when never set: the widget then offers it to a store with returns.

**startReturnLabel** `String!` *required*

What the start a return action says. At most 500 characters.

**trackPackageEnabled** `Boolean!` *required*

Whether shoppers can track a package from the widget.

**trackPackageLabel** `String!` *required*

What the track a package action says. At most 500 characters.

**setup** `[SupportChatWidgetSetup!](/docs/api-reference/v3/reference/support/support-chat-widget-setup)` *required*

**fields**

**hiddenOnProductPages** `Boolean!` *required*

Whether the widget is hidden on product pages.

**launcherHidden** `Boolean!` *required*

Whether the widget's launcher button is hidden, for a store that opens it another way.

**returnsPortalEnabled** `Boolean!` *required*

Whether the widget shows in the returns portal.

**storefrontEnabled** `Boolean!` *required*

Whether the widget shows on the storefront. The store's theme must also have Redo's app embed on.

**signUpIncentive** `[SupportChatWidgetSignUpIncentive!](/docs/api-reference/v3/reference/support/support-chat-widget-sign-up-incentive)` *required*

**fields**

**buttonLabel** `String!` *required*

What the sign-up button says. It doesn't follow the discount. At most 500 characters.

**discountPercentage** `Float!` *required*

The discount, from 0 to 100 percent.

**enabled** `Boolean!` *required*

Whether shoppers are offered a discount to sign up with their email.

**style** `[SupportChatWidgetStyle!](/docs/api-reference/v3/reference/support/support-chat-widget-style)` *required*

**fields**

**buttonFontSize** `Int!` *required*

Button text size in pixels, from 6 to 24.

**desktopOffsetX** `Float!` *required*

Pixels the launcher is moved sideways on desktop.

**desktopOffsetY** `Float!` *required*

Pixels the launcher is moved up on desktop.

**fontFamily** `String`

The widget's font. At most 500 characters.

**gradientInverted** `Boolean!` *required*

Whether the gradient runs the other way.

**gradientStrength** `Float!` *required*

How strong the color's gradient is, from 0 to 1.

**headerFontSize** `Int!` *required*

Heading text size in pixels, from 6 to 72.

**headingLogoUrl** `String`

The logo over the heading, as an http or https link.

**messageFontSize** `Int!` *required*

Chat message text size in pixels, from 6 to 24.

**mobileFullscreen** `Boolean!` *required*

Whether the open widget fills a phone's screen.

**mobileOffsetX** `Float!` *required*

Pixels the launcher is moved sideways on phones.

**mobileOffsetY** `Float!` *required*

Pixels the launcher is moved up on phones.

**mobileZIndex** `Int`

The widget's CSS z-index on phones. Null while it is `zIndex`.

**opensToWelcomePage** `Boolean!` *required*

Whether the widget opens to its welcome page rather than the chat.

**position** `[SupportChatWidgetPosition!](/docs/api-reference/v3/reference/support/support-chat-widget-position)` *required*

**primaryColor** `String!` *required*

The widget's color, as a hex color such as #181818.

**secondaryColor** `String!` *required*

The secondary color, as a hex color.

**secondaryColorEnabled** `Boolean!` *required*

Whether the secondary color is used.

**zIndex** `Int!` *required*

The widget's CSS z-index, from 0.

**welcome** `[SupportChatWidgetWelcome!](/docs/api-reference/v3/reference/support/support-chat-widget-welcome)` *required*

**fields**

**chatButtonText** `String!` *required*

The text on the button that starts a chat. At most 500 characters.

**heading** `String!` *required*

The widget's main heading. At most 500 characters.

**launcherText** `String!` *required*

The text beside the launcher. Empty shows none. At most 500 characters.

**subheading** `String!` *required*

The line under the main heading. At most 500 characters.

## Example

```graphql theme={null}
query {
  supportChatWidgetGeneral {
    quickActionFontSize
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.