Get contact API request + embedded data | XM Community
Skip to main content
Solved

Get contact API request + embedded data

  • March 1, 2018
  • 2 replies
  • 87 views

Forum|alt.badge.img+5
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 by PioKol

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

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 6084 replies
  • March 1, 2018
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.

Forum|alt.badge.img+5
  • Author
  • 3 replies
  • Answer
  • March 2, 2018
Thanks, token was included in a header. It seems I used wrong value for contact id, because now it works.