ApiContactImport

Bulk creates, or bulk updates, contacts with merge options. The ID of returned object can be used to query import progress.

Import format can either be CSV or Excel. Must include one column called "Email". Passing a valid "mergeOption" parameter is compulsory. Any other columns will attempt to map to your custom data fields.

post/v2/address-books/{addressBookId}/contacts/import/with-merge-option/{mergeOption}

Path parameters

addressBookIdinteger required
mergeOption'Overwrite' | 'OnlyOverwriteIfNotEmpty' | 'OnlyOverwriteIfContactDataNotPopulated' | 'NotAvailableInThisVersion' required

Request body

fileNamestring nullable
datastring byte nullable

Response

idstring guid
status'Finished' | 'NotFinished' | 'RejectedByWatchdog' | 'InvalidFileFormat' | 'Unknown' | 'Failed' | 'ExceedsAllowedContactLimit' | 'NotAvailableInThisVersion'