Get Response Export File
GET {{baseUrl}}/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 also request the export file in a different file format when you start the export with the file format you specified in Start Response Export call. The supported formats for the export file are CSV, NDJSON, TSV, XML, JSON, or SPSS. Without an extension, the export file defaults to a ZIP file.
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 Qodex 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.
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
"fugiat non Excepteur enim"