Contacts
Import contacts
It returns the background process ID which on completion calls the notify URL that you have set in the input.
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",
"jsonBody": [
{
"email": "ndicky0@ocn.ne.jp",
"attributes": {
"LNAME": "Noemi",
"FNAME": "Dicky",
"COUNTRY": "DE",
"BIRTHDAY": "11/02/1989",
"PREFERED_COLOR": "BLACK"
}
}
],
"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
}