Get Response Export File
GET/surveys/:surveyId/export-responses/:fileId/file
Retrieves the response export file after the file export process completes. By default, the export file is returned as a ZIP file, but you can request a different file format when you start the export.
You can specify a file format for the export file and whether the file is returned uncompressed or compressed in a ZIP file when you begin your export with Start Response Export.
The compressed file inside the retrieved ZIP file has this naming convention: {Survey Project Name}.{Export Format}. Note that the file does not return time and date of export. For date and time information, you need to record this information manually during the export process.
The example below shows a sample cURL request for this endpoint. Please note that you need to include your surveyId and the fileId in the URL of this request. The fileId is returned in the response to the Get Response Export Progress call.
curl --request GET \
--url https://ca1.qualtrics.com/API/v3/surveys/surveyId/export-responses/fileId/file \
--header 'Content-Type: application/json' \
--header 'X-API-TOKEN: ' \
-OJ myResponseFile
Try it Feature Limitation
The 'Try it' tab above does not allow data export. Please use cURL or the Postman app to send this request.
File Expiration
Export files expire one week after the completion of an export. After that expiration, the file is no longer available, and you will have to start the export request again.
Request
Responses
- 200
- 404
The requested data in binary form.
You will get the "export not found" result if you pass in a bad fileId or a 'null' value.