Get non-compressed file from Survey Response Exports API? | XM Community
Skip to main content
Hello,

I'm using the templates explained here to get the response progress from one of my surveys using http requests (i.e. first a POST request to create response report, then a GET request to get response progress from the report and finally another GET request to get the actual data file.

Using this method I have been able to download the exported file as zip and then get the json file from inside. But I'd like to receive the data directly as a json string so that I can immediately use it in my database, and not as a zip file. Is there a header or API endpoint that will allow me to receive uncompressed response data in json format?
On the create response report call, set the compress parameter to false.

Leave a Reply