Solved
Searching Email Address using RecipientID
Hi,
I am setting up a callback to receive "survey completed response" event to our own server.
Ref: https://api.qualtrics.com/v3/reference/create-subscription#create-subscription
I am using "surveyengine.completedResponse.{SurveyID}" topic.
I would receive "RecipientID" from the callback. I am trying to use that RecipientID to get the Recipient's Email Address from our mailing list using another API call. Problem for me is, we have multiple mailing lists and it looks like I need to specify mailing list ID in API call, that means, I have to make multiple API calls for each mailing list till I found the match RecipientID in one of those lists.
Ref: https://api.qualtrics.com/v3/reference/get-contact
Please advise if I can make a single call to get the email address of a RecipientID.
Or Is there anyway to setup the surveys so that Survey Completed Response callback will include recipient's email address? I don't want to add the extra input field in the surveys to collect email addresses though ( since the email addresses are already in our mailing lists).
Thank you.
Kyaw
Best answer by Texan2008
Thank you all.
I am now getting all mailing list IDs with one API call, and then calling each mailing list repeatedly to search matching recipient using multiple API calls. I can't ask the client to create a master mailing list.
Anyway, aside from multiple API calls, it's working great. I might try to cache the data in our server to save API calls later.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
