Import Survey API - How do I repeat the request? | XM Community
Skip to main content

Hello,
I don't have a lot of experience with APIs, but (with help from Qualtrics Support) I was able to successfully use the Import Survey API (under Surveys CRUD API in Qualtrics API documentation). The API created a copy of an existing survey in one user's account (X-COPY-DESTINATION-OWNER). What I would like to do is use the API to create a copy of a survey in thousands of user accounts.
In other words, how do I get an API call to repeat or code it to continue running call after call? Can anyone point me to some resources on coding API calls if they are not designed for bulk use?
Or is there a trick to formatting multiple user IDs in the X-COPY-DESTINATION-OWNER field?

Approach 1: Use the postman to run the import API for n number of users where csv will contact list of owner name with userid.
Approach 2: Create a survey which takes the csv file as input which contains the user id and imports as survey data. that means if there are 10 users in csv then there will be 10 records created in data and analysis tab.
Next, create a workflow which runs the import API every time a response is created.
List of users can be fetched using API:https://api.qualtrics.com/c9eeb409d7fe2-list-users
Hope this helps!


Thank you for your reply and suggestions, Appzk!
Hello Qualtrics Community, I have not explored the suggestions. Just a quick FYI for anyone looking for solutions!


Leave a Reply