How to Generate distribution Links against sample | XM Community
Skip to main content

we have a mailing list and we have derived a sample out of it by using sample api. now we would like to generate distribution links against this sample for a survey without sending the survey itself via qualtrics as we will be sending links by our custom channel. we are using below payload to do this as per distribution api documentation.
{
    "surveyId": "SV_9KyqCmTW6uzNEx0",
    "linkType": "Individual",
    "description": "distribution test",
    "action": "CreateDistribution",
    "expirationDate": "2023-07-24 00:00:00",
    "mailingListId": "CG_dnkhDEWY25FFAdE" // this is the sample id
}
a distribution is generated properly. but when we get the links and open one of those on the browser, it says, survey has not been sent yet. if I use mailing list instead of sample in the above api. everything works fine and survey opens properly. this is to emphasize again that we only want to generate links for sample and send those links via our custom channel, not via qualtrics.

Be the first to reply!

Leave a Reply