survey_details does not contain all the question_id's - surveymonkey

I've put out a survey and gotten >100 responses. However, when I get the survey details using the api (i'm using python if it helps), then get the responses from respondents, I find a question in the response that is not present in the survey details.
I thought that the responses would only have question id's that were present in the survey details -- so I'm not sure what is going on.
Any help/advice?

Related

REST API support by survey monkey

I am planning to do a survey using survey monkey. I will require API support to automatically pull responses from your datasource. I looked into https://developer.surveymonkey.com/docs/methods/get_responses/ and it looks like I need to use services like curl to extract data. It also looks like I can extract data in json format. And the data that is extracted using get_responses api, returns only ids.
So my questions are:
1. Do you support REST APIs to download data?
2. Can I download data in csv format?
3. Can I download actual responses with questions and not just ids? What APIs will be return survey, questions asked and user responses?
3. Can you send me an example format of how data will look when downloaded using the APIs?
5. Finally, with $26/month subscription for one month, will I get API support? Is the API support available for free subscription?
Thanks!!
SurveyMonkey does have a REST API
You can get all responses (just ids) doing:
GET /surveys/{survey_id}/responses
See: https://developer.surveymonkey.com/api/v3/#surveys-id-responses
You can get the details and all answers to questions for a specific response by ID doing:
GET /responses/{response_id}/details
See: https://developer.surveymonkey.com/api/v3/#responses-id
Or you can do this all at once by doing
GET /surveys/{id}/responses/bulk
See: https://developer.surveymonkey.com/api/v3/#surveys-id-responses-bulk
Answered by akand074.
We only support JSON at this time.
You'll have to make a separate GET to /v3/surveys/{survey_id}/details to get the survey details, and then map it to the response data.
The format, along with response data examples can be found here.
You'll have to contact api-support#surveymonkey.com to find out.

Retrieve Questions and Answers from SurveyMonkey API

I'm trying to get the results from a survey through the API, I know I need a list of respondents Ids and the survey ID. When I use the getResponses method I get the results but all the questions and answers come in numbers (Ids) except the questions with open answers (text). How can I bring the actual questions and answers from an API request?
Thanks
You need to combine the information received in get_responses with the survey structure retrieved with get_survey_details.
Note I believe there is an outstanding issue where if questions are deleted from the survey they will no longer be in the get_survey_details response.

Get individuals survey responses from survey monkey using API method

Using the Survey Monkey API i am creating the surveys from my web application with a Web Link Collector.
I want to get the individuals response for the Survey as a Survey template Format with responded data.
Is it possible to get the each individuals response as a web link from survey monkey using Survey monkey API.
I think you should do a add recipient and then get personal links. I dont know about survey monkey but I have done this like tons of times with Examinare.
Paying alittle gets it really easily when coding according to my experience:
There is a howto for CakePHP here : https://developer.examinare.com/how-to-use-surveys-in-cakephp-with-very-little-development/

SurveyMonkey API - Closed Survey

I'd be grateful for some help with a couple of questions on the Survey Monkey API;
Using the API console, I've entered a valid survey number and back got a list of collectors. Is there also an API call to get information about each of the collectors ?
Is possible through the API to determine if a survey has been closed ?
Is possible through the API to determine if a reponse has been completed ?
Many thanks.
With the list of collectors, you can get details about the type and the status of the collector (open/close). Please see the above link for a list of optional response fields. Once you have the collector_id, you can pass that to get_respondent_list, which will give you details for the respondents AND only those collectors.
From that same get_collector routine, you can see if the collector is open or closed. It is an option return field called 'data.collectors[_].open'
Using get_respondent_list][4] you can pass those respondent IDs to get_responses. Usually the response is recorded if the respondent completes the page or the entire survey.

Get details about survey monkey's questions and answers by id

survey monkey provides an api to extract responses here
https://developer.surveymonkey.com/mashery/get_responses
However, the responses map to a question_id along with column, row and/or text for the user response.
How do I go about extracting the question details from the question_id? I was not able to find any documentation for this.
To map this back you need to use the data retrieved via get_survey_details, documented here:
https://developer.surveymonkey.com/mashery/get_survey_details
This will return the question and answer ids so you can map the response back to what was asked.
We have a sample app in the works that will show an example of how to do this in code, however it should be relatively straightforward for you to map things back.
Cheers,
Miles

Resources