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

# SupportCsatSurveyOnCloseRule

> SupportCsatSurveyOnCloseRule

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

**description** `String!` *required*

What the rule does, as shown in the app.

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

Whether the rule runs.

**kind** `[SupportDefaultRuleKind!](/docs/api-reference/v3/reference/support/support-default-rule-kind)` *required*

Which built-in rule this is. Unique within the store, so it identifies the rule.

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

Name shown in the app's rules list.

**position** `Int!` *required*

Rules run in ascending position. Rules the store creates share this sequence.

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

**fields**

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

When true, each closed ticket gets one A/B variant's delay and template instead of sendDelay. The variants come with CSAT templates (C4).

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

Whether customers can add a comment to their rating.

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

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

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

Where the survey is sent.

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

How long after a ticket closes the survey is sent.


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