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, thedatafield is required. - If
async, thedatafield must benull.
data array<object> | base64 | null
The data to be imported, which can be:
- A base64-encoded file (CSV, XLSX, etc.).
nullwhenupload_modeisasync.
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|item|asset
The type of resource being imported.
name string (optional, 3-127 characters)
A human-readable name for the import.
column_mapping object (optional)
A mapping of resource field names to custom column headers in the uploaded file. This allows you to import files whose column headers do not match the expected field names. Keys are the resource field names and values are the corresponding column header strings in the uploaded file. Each header value must be unique.