Professional online survey tool
Search search
Help sections
FAQ

REST API

List of available requests
 
Request Description
curl -i -X POST https://api.mysurveylab.com/oauth/token/ -d "clientSecret=YOUR_CLIENT_SECRET &clientId=YOUR_CLIENT_ID"  Obtaining a token for communication (the token is valid for 30 days)
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.mysurveylab.com/api/v2/surveys/ Obtaining the list of surveys
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.mysurveylab.com/api/v2/surveys/:id/ Obtaining single survey
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.mysurveylab.com/api/v2/surveys/:id/questions/ Obtaining survey questions
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.mysurveylab.com/api/v2/surveys/:id/responses Obtaining survey responses, first 100 records
curl -i -X GET -H "Authorization:bearer YOUR_ACCESS_TOKEN" -H "Content-Type": "application/json" https://api.mysurveylab.com/api/v2/surveys/:id/page/2/responses Obtaining survey responses, second 100 records

* Functionality is available for Enterprise plan.


Related pages

This site uses cookies. For more information please refer to the Privacy Policy.
OK