post https://rest-endpoint.unless.com/api/v1/contacts/import
{
"accountId": "YOUR_ACCOUNT_ID",
"websiteId": "YOUR_WEBSITE_ID",
"contactsToImport": [
['marcel', '[email protected]', 'CTO', 'Unless'],
['sander', '[email protected]', 'CEO', 'Unless']
],
"fieldMappings": {
"fieldNames": ['profile.firstName', 'profile.email', 'profile.employmentTitle', 'profile.companyName'],
"originalFieldNames": ['First name', 'Email', 'Title', 'Company']
},
}
Import duration
Importing the contacts will happen asynchronously after this call responded. The duration of the actual import depends on the number of contacts submitted.
Response
The API responds with the number of contacts that will be imported in the background.