Hello All,
I am trying to trigger a JSON event with the JSON payload as below -
{
"contacts": {
"lastName": "L1",
"extRef": "'20'",
"email": "a@test.com",
"firstName": "A1",
"phone":"'9876543210'"
},
{
"lastName": "L2",
"extRef": "'21'",
"email": "a2@test.com",
"firstName": "A2",
"phone":"'9876543200'"
}]
}
Post this I am calling the Qualtrics Contact API webservice task to create contact but it fails as instead of sending one set of contact data, I am currently sending list of contact data.
Is there any way to upload a list of contacts and create contacts in Qualtrics? Has anyone tried to upload similarly?
Any help on how I can achieve this? Thanks!
Page 1 / 1
If you have XM directory, you need to use the API endpoint described here.
If you are using the core, you need to use the API endpoint described here.
You can use the "try it" function to see the json payload.
Thanks pogi . Yes I am utilizing the XM directory API endpoint to achieve this. The API works as intended for single contact creation. How do I achieve the same for list of contacts creation at the same time?
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.