Imports
Create Import
Examples
Import Contacts
Import Groups
Request Model
This request model represents the payload structure required to create an import operation in the API.
Request Body
upload_mode sync|async
Determines whether the import process runs synchronously (sync
) with data or asynchronously (async
) without immediate data.
- If
sync
, thedata
field is required. - If
async
, thedata
field must benull
.
data array<object> | base64 | null
The data to be imported, which can be:
- A base64-encoded file (CSV, XLSX, etc.).
null
whenupload_mode
isasync
.
Show Details
location_id string | null
(optional)
Specifies the location where the import should be applied.
action merge|overwrite|delete
The action to perform on the imported data:
merge
: Combine new data with existing data.overwrite
: Replace existing data.delete
: Remove specified data.
duplicate_handling ignore_all|use_first
(optional, default: ignore_all
)
Defines how duplicate records should be handled.
save_upload boolean
(default: true
)
Indicates whether the uploaded file should be stored for future reference.
resource contact|group
The type of resource being imported.