A survey is an object that represents the CSAT survey. See Sending a CSAT survey to your customers in Zendesk Help.

Surveys are available on the Support Professional plan and above, and the Zendesk Suite Growth plan and above.

JSON format

CSAT Surveys are represented as JSON objects with the following properties:

NameTypeRead-onlyMandatoryDescription
created_atstringfalsetrueThe date and the time when the survey was created
idstringfalsetrueThe id of the survey. Automatically assigned when the survey is created
questionsarrayfalsetrueAn array of survey question objects. See Question object
statestringfalsetrueWhether the survey is active or deactivated. Allowed values are "enabled", or "disabled".
updated_atstringfalsetrueThe date and the time when the survey was most recently updated
versionintegerfalsetrueThe version of the survey upon which the survey response was based on. Every time the survey is updated, the version is automatically incremented.

Question object

There are three types of question objects:

Closed-ended question object
NameTypeOptionalNullableDescriptions
typestringfalsefalseHas the value closed_ended
idstringfalsefalseAutomatically assigned when the survey question is created
headlineobjectfalsefalseA text content object representing the headline of the survey question
optionsarrayfalsefalseAn array of closed-ended survey question options
Closed-ended option object
NameTypeOptionalNullableDescriptions
idstringfalsefalseAutomatically assigned when the survey question option is created
labelobjectfalsefalseA text content object representing the label of the option
follow_upobjectfalsetrueA follow up object which points to the following question
Open-ended question object
NameTypeOptionalNullableDescriptions
typestringfalsefalseHas the value open_ended
idstringfalsefalseAutomatically assigned when the survey question is created
headlineobjectfalsefalseA text content object representing the headline of the survey question
follow_upobjectfalsetrueA follow up object which points to the following question
Rating scale question object

The rating scale question object can be one of the following types:

Custom text rating scale question object
NameTypeOptionalNullableDescriptions
typestringfalsefalseHas the value rating_scale_custom_text
idstringfalsefalseAutomatically assigned when the survey question is created
sub_typestringfalsefalseOne of the following values: customer_satisfaction, other
headlinestringfalsefalseA text content object representing the headline of the survey question
optionsarrayfalsefalseAn array of custom text rating scale options
Custom text rating scale option object
NameTypeOptionalNullableDescriptions
ratingintegerfalsefalseThe numeric rating represented by this option
labelobjectfalsefalseA text content object representing the label of this option
follow_upobjectfalsetrueA follow up object which points to the following question
Emoji rating scale question object
NameTypeOptionalNullableDescriptions
typestringfalsefalseHas the value rating_scale_emoji
idstringfalsefalseAutomatically assigned when the survey question is created
sub_typestringfalsefalseOne of the following values: customer_satisfaction, other
headlinestringfalsefalseA text content object representing the headline of the survey question
optionsarrayfalsefalseAn array of emoji rating scale options
Emoji rating scale option object
NameTypeOptionalNullableDescriptions
ratingintegerfalsefalseThe numeric rating represented by this option
emojiobjectfalsefalseA text content object representing the emoji of this option
labelobjectfalsefalseA text content object representing the label of this option
follow_upobjectfalsetrueA follow up object which points to the following question
Numeric rating scale question object
NameTypeOptionalNullableDescriptions
typestringfalsefalseHas the value rating_scale_numeric
idstringfalsefalseAutomatically assigned when the survey question is created
sub_typestringfalsefalseOne of the following values: customer_satisfaction, other
headlinestringfalsefalseA text content object representing the headline of the survey question
optionsarrayfalsefalseAn array of numeric rating scale options
Numeric rating scale option object
NameTypeOptionalNullableDescriptions
ratingintegerfalsefalseThe numeric rating represented by this option
labelobjectfalsefalseA text content object representing the label of this option
follow_upobjectfalsetrueA follow up object which points to the following question
Text content object

A text content object can be one of the following types:

Static text content object

An object containing a text string that isn't translated to the user's preferred language.

NameTypeOptionalNullableDescriptions
typestringfalsefalseHas the value static
valuestringfalsefalseA static (non-translatable) plain text content
Dynamic text content object

An object containing a dynamic content placeholder, which returns pre-defined content that is translated to a user's preferred language. See Dynamic content article.

NameTypeOptionalNullableDescriptions