Survey responses are available on the Support Professional plan and above, and the Zendesk Suite Growth plan and above.
JSON format
CSAT Survey Responses are represented as JSON objects with the following properties:
Name
Type
Read-only
Mandatory
Description
answers
array
false
true
An array of survey response answer objects. See Answer object
expires_at
string
false
true
The date and time of when the responder can no longer edit their survey response
id
string
false
true
Automatically assigned when the survey response is created
responder_id
integer
false
false
The ID of the user that survey response belongs to
subject_zrns
array
false
false
An array of Zendesk resource names, such as ticket, request, and conversation (zen:ticket:123, zen:request:123, zen:conversation:4295a81b-ccdd-4998-88d9-0eff5e76dc44)
survey_id
string
false
true
The ID of the survey this survey response belongs to. Automatically assigned when the survey is created
survey_version
integer
false
true
The version of the survey upon which the survey response was based on. Every time the survey is updated, its version is auto-incremented.
Answer object
The answer object can be one of the following types:
The translated value of the dynamic content represented by its key for a given locale (determined by the locale path parameter)
Example
{"answers":[{"created_at":"2024-08-14T12:00:00.000Z","question":{"alias":"comment","headline":{"type":"static","value":"Anything else you would like to share about your experience?"},"id":"01GFYBENPDGN1R6NAA4WRDNVFR","type":"open_ended"},"type":"skipped","updated_at":"2024-08-14T12:00:00.000Z"}],"expires_at":"2024-08-14T12:00:00.000Z","id":"01J1WB51MG6HXTYWE6Q0C93RNW","responder_id":4398080151295,"subject_zrns":["zrn:ticket:99"],"survey_id":"01J58KJ9RAE0D2EK7HRVM7Z8F2","survey_version":3}
Show Survey Response
GET /api/v2/guide/{locale}/survey_responses/{id}
Shows information about the specified survey response.
Allowed for
Admins
End users (responders only)
Parameters
Name
Type
In
Required
Description
id
string
Path
true
The survey response id
locale
string
Path
true
The locale used for the display of the corresponding survey questions and options
// Status 200 OK{"survey_response":{"answers":[{"created_at":"2024-08-14T12:00:00.000Z","question":{"alias":"customer satisfaction rating","headline":{"key":"dc.surveys.customer_satisfaction.questions.rating","type":"dynamic","value":"How would you rate your experience?"},"id":"01J1WBE8QR0YQVE373K2JDJR0F","options":[{"label":{"key":"dc.surveys.customer_satisfaction.question.rating.options.bad_rating","type":"dynamic","value":"Bad"},"rating":1},{"label":{"key":"dc.surveys.customer_satisfaction.question.rating.options.good_rating","type":"dynamic","value":"Good"},"rating":2}],"sub_type":"customer_satisfaction","type":"rating_scale_numeric"},"rating":1,"rating_category":"bad","type":"rating_scale","updated_at":"2024-08-14T12:00:00.000Z"},{"created_at":"2024-08-14T12:00:00.000Z","question":{"alias":"reason","headline":{"key":"dc.surveys.customer_satisfaction.questions.reason","type":"dynamic","value":"Select a reason for your experience"},"id":"01J1WBGX1BR4ECKTS87CRJTXSF","options":[{"id":"01J1WBKRG57E6M8C1145EXJ535","label":{"key":"dc.surveys.customer_satisfaction.question.reason.options.too_long","type":"dynamic","value":"The issue took too long to resolve"}}],"type":"closed_ended"},"selections":[{"option_id":"01J1WBKRG57E6M8C1145EXJ535","type":"predefined"}],"type":"closed_ended","updated_at":"2024-08-14T12:00:00.000Z"},{"created_at":"2024-08-14T12:00:00.000Z","question":{"alias":"comment","headline":{"key":"dc.surveys.customer_satisfaction.questions.comment","type":"dynamic","value":"Share your thoughts on the support you received"},"id":"01J1WBNS76ZC4TTFWP9RCNQ1S8","type":"open_ended"},"type":"open_ended","updated_at":"2024-08-14T12:00:00.000Z","value":"I had to repeatedly answer the same questions."},{"created_at":"2024-08-14T12:00:00.000Z","question":{"alias":"additional comment","headline":{"type":"static","value":"A question to demonstrate a static headline"},"id":"01J1WBSAZWVY2XR1EFZKS3CM13","type":"open_ended"},"type":"skipped","updated_at":"2024-08-14T12:00:00.000Z"}],"expires_at":"2024-08-14T12:00:00.000Z","id":"01J1WB51MG6HXTYWE6Q0C93RNW","survey_id":"01J58KJ9RAE0D2EK7HRVM7Z8F2","survey_version":3}}
404 Not Found
// Status 404 Not Found{"errors":[{"code":"NotFound","status":"404","title":"The survey response could not be found"}]}