Qualtrics - Mailinglist contacts API | XM Community
Solved

Qualtrics - Mailinglist contacts API

  • 28 January 2019
  • 3 replies
  • 120 views

I am trying to create Contract using Create contacts API but getting error of "Invalid mailinglistId."
https://api.qualtrics.com/reference/create-recipient-contact

I have got the MalilingListID by list-mailing-lists

!
icon

Best answer by TomG 28 January 2019, 16:27

View original

3 replies

Userlevel 7
Badge +27
Double check your mailing list id under My Account/Qualtrics IDs. Also, make sure the account for the token you are using has access to the list.

BTW, it works for me:
!

Hi TomG,
Is there any way to get contact first and last name based on entered email in survey?
I have used https://datacenterID.qualtrics.com/API/v3/customer-data-requests
with parameters {
 "operation": "access",
 "emails": [
  "useremail@domain.com"
 ]
}
getting response
{
  "result": {
    "id": "DA_someID"
  },
  "meta": {
    "requestId": "resultID",
    "httpStatus": "202 - Accepted"
  }
}
But unable to get contact information. Could you please suggest a way how to us resultid and requestID to get contact first name and last?

Userlevel 7
Badge +27

If you are using XM Directory you can search by email: https://api.qualtrics.com/api-reference/reference/contacts.json/paths/~1directories~1{directoryId}~1contacts~1search/post

Leave a Reply