API to fetch individual users survey response | XM Community
Skip to main content
Question

API to fetch individual users survey response

  • 15 August 2023
  • 6 replies
  • 646 views

I have a requirement where i need to fetch - given a userID, how will you retrieve the responses the user submitted.

Hi Shruthi, 

Does the Survey response API work for your use case: https://api.qualtrics.com/1179a68b7183c-retrieve-a-survey-response

It allows you to retrieve a survey response using the survey id and response id. 


Hi Shruthi, 

Does the Survey response API work for your use case: https://api.qualtrics.com/1179a68b7183c-retrieve-a-survey-response

It allows you to retrieve a survey response using the survey id and response id. 

This would work but how do i find the survey id and response id to use this api ?


The Survey ID can be found by going to the Qualtrics IDs tab instructions here: https://www.qualtrics.com/support/integrations/api-integration/finding-qualtrics-ids/#LocatingQualtricsIDs

 

The response ID is found in the data and analysis tab against the survey you are looking to retrieve response data from. 


The Survey ID can be found by going to the Qualtrics IDs tab instructions here: https://www.qualtrics.com/support/integrations/api-integration/finding-qualtrics-ids/#LocatingQualtricsIDs

 

The response ID is found in the data and analysis tab against the survey you are looking to retrieve response data from. 

Thanks for the recommendations, I am looking to fetch all of this programmatically via API calls. Is there any api which can provide this info.


@Daniel_ActXM You provided info about getting a particular response given its ID, but what if you don’t yet have the ID?

How do you get a list of valid response IDs via the API? The “surveys/(survey ID)/responses” endpoint returns 404 if you don’t provide a specific response ID, whereas the usual REST GET request on a CRUD endpoint like that would suggest that it provides a list.


Same Issue with me. How to get Responses with olny survey Id

 


Leave a Reply