How do I use API to add options to drop-down fields?


I’ve been trying to create an API that will add an option to a dropdown question. Right now, I have tried these two things:[10147]=NewOption&api_token12345…[10147]=NewOption&api_token12345…

The latter is listed in the API documentation as the proper way to do this, but it is not adding the option “NewOption” as I expected. Looking at the XML output, it adds an entry under varname, but I need it to create a new node under options. Otherwise, the provided option does not appear in the survey question. What am I doing wrong?

Community Admin answered

    Hi Jake,

    Here is an example call to create an option in a dropdown menu:


    Your call looks like a post aka update to an existing option rather than a call to create a new option.

    Here is the documentation for creating a new option for your reference:

    I hope this helps!

    Bri Hillmer
    Documentation Coordinator
    SurveyGizmo Customer Experience Team

    Community Admin answered


      Question stats

      • Active
      • Views2128 times
      • Answers1 answer
      • Followers1 follower