How to use the SurveyMonkey API

Yidan Wang
5 min readMay 29, 2018

SurveyMonkey is one of the most popular survey design and distribution tool in the market. It has some robust features and an intuitive interface. But it can be tedious to manually create various collectors for a survey. Lots of the steps are repetitive, and currently there is no clone functionality.

We can leverage SurveyMonkey’s APIs to automate the collector creation process and much more.

In this demo, I will write a simple Google App Script function that creates a collector for a SurveyMonkey survey automatically.

First, you need to create a Google App Script project. Go to Google Drive -> New -> More -> Google App Script.

In order to make a request to SurveyMonkey through our script, we need to use a Google App Script service called URL Fetch Service.

We will create a POST request to SurveyMonkey to create a collector for a survey, according to the Survey Monkey API.

Before we get into the details of how to create the request, we need to authorize our script to make changes on behalf of our SurveyMonkey account. To do so, create an App in SurveyMonkey. This will give us an Access Token to pass along in our request.

There are two types of apps in SurveyMonkey — public and private. For our purpose, a private app is sufficient. But do note, it’s subject to API call limit: 120 calls/minute and 500 calls/day. Additional calls are available for purchase. If you need to create a more generic connector for…

--

--