Contacts
Import contacts
It returns the background process ID which on completion calls the notify URL that you have set in the input.
Note:
- Any contact attribute that doesn't exist in your account will be ignored at import end.
post/contacts/import
Request body
Example request
{
"fileUrl": "https://importfile.domain.com",
"fileBody": "NAME;SURNAME;EMAIL\nSmith;John;john.smith@example.com\nRoger;Ellie;ellie36@example.com",
"listIds": [
76
],
"notifyUrl": "http://requestb.in/173lyyx1",
"newList": {
"listName": "ContactImport - 2017-05",
"folderId": 2
},
"updateExistingContacts": true,
"emptyContactsAttributes": true
}Response
Contact import request has been accepted
Example response
{
"processId": 78
}