Access Libraries (Themes, Custom Questions and Scripts) from API

0

Hi, 

 

I am working with the REST APIs to generate surveys, and I trying to access the custom material libraries, meaning themes, questions and especially scripts. I understand that it is not possible to create Actions from the REST APIs for security reasons. What I need is to create a set of custom scripts, themes, and questions that I can orchestrate programmatically to compose a survey.

 

 

Dominic Sharpe answered
    0

    A theme can be set via the Create Survey method:

    https://apihelp.surveygizmo.com/help/survey-object-v5#createobject

    You will need to track down the theme ID to set the theme. I don’t believe that a question or script in the library can be accessed via the API at the moment.

    One possible workaround would be to create a master survey with these library components (questions, scripts) in the UI and then use the API to copy that survey and remove/edit the components.

    Hope this helps!

    Dominic Sharpe answered
      ×

      Login

      Question stats

      • Active
      • Views1652 times
      • Answers1 answer
      • Followers1 follower