Getting a list of surveys | XM Community
Skip to main content
There are some surveys that are listed when I log into the web site but don't appear in the list I get when using

curl -H 'X-API-TOKEN: ...' '.../API/v3/surveys'



or when I use a python script containing

url = base_url + '/API/v3/surveys/'

header = {'X-API-TOKEN': secret_token}

# (1) generating the request object

req = urllib.request.Request(url,None,header)

# (2) Make request

response = urllib.request.urlopen(req)

data = json.load(response)

I can't see what's special about the non-appearing surveys. Any ideas?



_Later ..._



I hadn't read the documentation properly. By default only the first 100 surveys are listed. Thanks to the helpdesk for pointing that out.
Hi, @TimLove! As you mentioned, when using API to get a list of surveys only the first 100 surveys will be listed by default. If you have any further questions about this, be sure to reach out to our Support Team! 😃

Hi, I am using python to list all surveys in order to download them.
What is the option to download them, all ?
There is no specific option mentioned in the API https://api.qualtrics.com/2c55b7ff8b0c7-list-surveys.
I am also limited to first 100 surveys..
Thank you in advance
BR / LJ


Leave a Reply