Trouble with creating API for mailinglist look up. | XM Community
Skip to main content

I am a new experience manager for my company taking over a legacy program from people who are no longer at the company and can see we are using APIs to trigger an external Mailing List upload at a set time per day and then another API script that then identifies the right mailing list to autosend a survey email too. 

I cannot find where that second API is and am having trouble creating one for a new survey send we are trying to create. I know the mailing list will have a certain title everyday but because its a new mailing list every upload the ID will not be the same. 

Does anyone know how I can set this up?

Try creating a script that utilizes the GET method to retrieve mailing lists, then parse this data to extract the mailing list ID. Afterwards, use a POST request to the Qualtrics API with your survey ID to distribute the survey.

you can review the following links to achieve this: 

https://api.qualtrics.com/234bb6b16cf6d-list-distributions
https://api.qualtrics.com/dd83f1535056c-list-mailing-lists


Try creating a script that utilizes the GET method to retrieve mailing lists, then parse this data to extract the mailing list ID. Afterwards, use a POST request to the Qualtrics API with your survey ID to distribute the survey.

you can review the following links to achieve this: 

https://api.qualtrics.com/234bb6b16cf6d-list-distributions
https://api.qualtrics.com/dd83f1535056c-list-mailing-lists

Thank you this does help. After listing the mailing lists I guess is there another way to identify it besides the ID? 


Leave a Reply