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","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"}]}