Skip to main content
POST

Body Parameters

This endpoint accepts multipart/form-data. Object and array fields (column_map, segments, topics) must be sent as JSON-encoded strings.
file
file
required
The CSV file to import. The file must be sent as a form field named file. Maximum file size is 200MB.
column_map
object
Maps CSV columns to contact fields.
on_conflict
'upsert' | 'skip'
How to handle contacts that already exist. Defaults to upsert.
segments
array
Array of objects. Each object must contain the ID of the segment that you’d like to add the imported contacts to.
topics
array
Array of topic subscriptions for imported contacts.