Best way to get Contact Id from Email from a directory ? | XM Community
Solved

Best way to get Contact Id from Email from a directory ?

  • 30 June 2018
  • 3 replies
  • 235 views

HI,
We are planning to update Qualtrics contact with preferences from thirdparty system. We need to get the Qualtrics contact id for email id.
Is there any API that we can use to get contact id by providing email id. Or update contact field by passing email.

Regards,
Santhosh
icon

Best answer by MohammedAli_Rajapkar 2 July 2018, 09:05

View original

3 replies

Userlevel 7
Badge +20
You can try below 2.4 version API...

https://survey.qualtrics.com/WRAPI/Contacts/api.php?API_SELECT=Contacts&Version=2.4&Request=getContactByInfoFields&User=[username]&Token=[Token Id]&Format=JSON&Email=[Email id of
which you want to get the contact id]&LibraryID=[user library id]&ListID=[contact list id in which the email id is present]

you have to provide the value for:
User
Token
Email
LibraryID
ListID
Thank you Mohammed Ali Rajapkar for your response. Can i assume that library id and directory id same in this case. We are using the TA version of Qualtrics?
Userlevel 7
Badge +20
Nope, in this case... "Library ID is the User id" which starts from "UR_XXXXXXXX". You should be able to find it in "Account setting -> Qualtrics IDs"

Leave a Reply