Skip to main content
PATCH
Error

Authorizations

X-API-Key
string
header
required

API key authentication

Path Parameters

importId
string<mongo-id>
required

Id of the import, as returned by the upload

Body

application/json

Options for the import. Every property is optional; omitted ones keep their current value.

lists
string<mongo-id>[]

Ids of lists to add every imported contact to

settings
object
tags
string<mongo-id>[]

Ids of existing tags to apply to every imported contact

Response

Options saved

_id
string

Id of the import

fileName
string

Original name of the uploaded file

lists
string<mongo-id>[]

Ids of lists to add every imported contact to

settings
object
status
enum<string>

Current status. An import moves through UPLOADING (file being parsed), UPLOADED (ready for a mapping), MAPPING (mapping being applied), MAPPED (ready to start), RUNNING, then SUCCEEDED or FAILED. ABORTED is set by an explicit abort or when a new import for the same contact structure is started with cancelIncomplete=true.

Available options:
UPLOADING,
UPLOADED,
MAPPING,
MAPPED,
RUNNING,
SUCCEEDED,
FAILED,
ABORTED
tags
string<mongo-id>[]

Ids of existing tags to apply to every imported contact

totalRecords
number

Number of data rows in the uploaded file