New Articles

  1. US, EU, or Canada API

    All of our API resources will use restapi.surveygizmo.com in example calls, however, if you are using an EU or Canadian account, your calls must use either the restapi.surveygizmo.eu or restapica.surveygizmo.com domains. Not sure if your accou...
  2. SurveyResponse Return Per Question Type

    This document includes specifics of the SurveyResponse return for all fields in SurveyGizmo that collect data, including all question types, other textboxes, other row headers and comment fields. IDs and reporting values are essential for identifyin...
  3. Survey Contacts from an Existing Database

    Pulling contacts from an existing database for the purposes of surveying or other otherwise gathering information is one of the most common uses of the SurveyGizmo API. In this use-case example we'll cover how to create a campaign, add contacts, and...
  4. API Request Limits

    Is there a rate limit of API requests? Professional and Full Access accounts - 240 requests per minute  Legacy Basic accounts - 30 requests per minute Legacy Professional - 60 requests per minute Legacy Team & Enterprise - 120 requests per minu...
  5. Security and Developers' Tools FAQ

    SurveyGizmo offers a number of features that can simplify keeping data safe in your account while using the API and other advanced features available to developers. This article is an overview of security from a developers point of view. Who has ...
  6. PHP: OAuth Sample Code

    The following code uses the OAuth Client library found here: (http://code.google.com/p/oauth-php/) -- but any library will work. /** * testapiAction * The following code tests the OAUTH authentication method of our API. * It uses the ...
  7. PHP: Build an Array of Response Data

    Some users have requested example scripts to parse the basic survey response array into something more malleable for working with the data. The following example is very similar to code we use to organize survey data into an array that is easier to ...
  8. Create a Poll and Poll Answer Options

    Some users have requested an example call for creating a poll using the REST API. The below call creates a survey object with type=poll . When creating a survey object with type=poll the polloptions array is required. In the below call we specif...
  9. Create a Table Question via the API

    Did you know you can create a table question via the API?! You'll need a call to create the overall question and then a call for each row and column. Create the overall table question: https://restapi.surveygizmo.com/v5/survey/123456/surveypage/1/...
  10. SurveyOption Returned Fields

    Returned fields for the SurveyOption sub-object are explained below. Go to the Example Returns section to view return examples for each call type. Returned Fields for the SurveyOption Object Field Description F...