Get contact API request + embedded data

PioKol
PioKol Community Member, Qualtrics Brand Admin Qubie ✭

Hi!
I'm starting qnr with URL like this: https://aaa.qualtrics.com/jfe/form/SV_aaaaaaaa?myID=MLRP_asasasaasa
And I want to use in embedded data values retrieved from API command: https://yourdatacenterid.qualtrics.com/API/v3/mailinglists/:mailingListId/contacts/:contactId

I tried to use on start webservice https://aaa.qualtrics.com/API/v3/mailinglists/ML_aaaaaa/contacts/${e://Field/myID}, but it doesn't work.

Any suggestion appreciated.

Regards,
Piotr

Best Answer

  • PioKol
    PioKol Community Member, Qualtrics Brand Admin Qubie ✭
    Accepted Answer

    Thanks, token was included in a header. It seems I used wrong value for contact id, because now it works.

Answers

  • TomG
    TomG Raleigh, NCCommunity Member, Qualtrics Brand Admin Wizard ✭✭✭✭✭

    One reason it didn't work if because you didn't authenticate by providing your token to the api. I haven't tried it, but try setting X-API-TOKEN as a custom header in the web service call. The value would be your token.