---
title: "Bulk creates, or bulk updates, contacts with merge options. The ID of returned object can be used to query import progress."
method: POST
path: "/v2/contacts/import/with-merge-option/{mergeOption}"
tags: ["ApiContactImport"]
---

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

`POST /v2/contacts/import/with-merge-option/{mergeOption}`

This API works on both contact data fields and marketing preferences. 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.

## Path parameters

- `mergeOption` 'Overwrite' | 'OnlyOverwriteIfNotEmpty' | 'OnlyOverwriteIfContactDataNotPopulated' | 'NotAvailableInThisVersion', required

## Request body

- ApiFileMedia
  - `fileName` string, nullable
  - `data` string, byte, nullable

## Response `202`

- ApiContactImport
  - `id` string, guid
  - `status` 'Finished' | 'NotFinished' | 'RejectedByWatchdog' | 'InvalidFileFormat' | 'Unknown' | 'Failed' | 'ExceedsAllowedContactLimit' | 'NotAvailableInThisVersion'

---

[API](https://skmtc.net/dotdigital/apis/apiconnector-com.md) · [All operations](https://skmtc.net/dotdigital/apis/apiconnector-com/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dotdigital/apiconnector-com/revisions/109c0537cf77/schema)
