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

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

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

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


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