> ## 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.

# supportCsatSettings

> The store's CSAT survey settings. Selecting an emailTemplate adds the cost of reading that selection, for the store's template and for up to 10 arms, refunded for the templates not read.

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

## Returns

**supportCsatSettings** `[SupportCsatSettings!](/docs/api-reference/v3/reference/support/support-csat-settings)` *required*

How the store surveys customers about their support, as its Customer satisfaction settings show it. One per store.

**fields**

**abTestEnabled** `Boolean!` *required*

Whether surveys are split across abTestVariants. When false, every survey uses the store's settings.

**abTestVariants** `[\[SupportCsatAbTestVariant!\]!](/docs/api-reference/v3/reference/support/support-csat-ab-test-variant)` *required*

The A/B test's arms, kept while the test is off. Empty when none were set up.

**fields**

**emailTemplate** `[SupportCsatSurveyTemplate](/docs/api-reference/v3/reference/support/support-csat-survey-template)`

The arm's survey email. Null uses the store's emailTemplate, or the template was deleted.

**fields**

**hasSurveyLink** `Boolean`

Whether the template prints the survey link. A template without it can't be the store's survey: the survey would send the built-in layout instead, so the app refuses it. Null, with an error, when it can't be checked. A request checks its templates 100 at a time, for 10 points each time.

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

**id** `ID!` *required*

The template's id, the same id the template has as an EmailTemplate.

**name** `String!` *required*

The merchant-facing name of the template.

**key** `String!` *required*

The arm's key, unique within the test.

**name** `String!` *required*

The arm's name.

**sendDelay** `[SupportCsatSendDelay](/docs/api-reference/v3/reference/support/support-csat-send-delay)`

How long after a ticket closes the arm's survey is sent. Null uses the store's sendDelay.

**weight** `Int!` *required*

The arm's share of surveys, relative to the other arms. An arm weighted 0 is never picked.

**allowsComment** `Boolean!` *required*

Whether customers can add a comment to their rating.

**emailTemplate** `[SupportCsatSurveyTemplate](/docs/api-reference/v3/reference/support/support-csat-survey-template)`

The template the survey email is sent with. Null sends the built-in layout, as does a template that was deleted.

**fields**

**hasSurveyLink** `Boolean`

Whether the template prints the survey link. A template without it can't be the store's survey: the survey would send the built-in layout instead, so the app refuses it. Null, with an error, when it can't be checked. A request checks its templates 100 at a time, for 10 points each time.

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

**id** `ID!` *required*

The template's id, the same id the template has as an EmailTemplate.

**name** `String!` *required*

The merchant-facing name of the template.

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

Whether the store sends CSAT surveys at all.

**headerImageUrl** `String`

The image at the top of the built-in survey email. Null when none is set. Templates ignore it.

**inboxEmails** `[String!]!` *required*

Only tickets received at these inbox addresses get a survey. Empty means every inbox.

**messageHtml** `String`

The body of the built-in survey email, as HTML. Null when none is set, and the email then has no message. Templates ignore it.

**methods** `[\[SupportCsatSurveyMethod!\]!](/docs/api-reference/v3/reference/support/support-csat-survey-method)` *required*

Where surveys go: by email, in the storefront chat, or both. Empty sends none.

**samplePercentage** `Int!` *required*

The share of eligible tickets surveyed, from 0 to 100. 100 surveys every one.

**sendDelay** `[SupportCsatSendDelay!](/docs/api-reference/v3/reference/support/support-csat-send-delay)` *required*

How long after a ticket closes its survey is sent, unless an A/B test arm sets its own.

## Example

```graphql theme={null}
query {
  supportCsatSettings {
    abTestEnabled
    allowsComment
    enabled
    headerImageUrl
    inboxEmails
    messageHtml
    methods
    samplePercentage
    # ...
  }
}
```


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