Solved
Getting a list of surveys
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.
Best answer by KendraR
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! 😃
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
