import_contacts_batch
Bulk import up to 10,000 contacts into an audience. Uses email as the unique key to either update existing contacts or skip duplicates, resolving conflicts automatically.
Instructions
Bulk-import contacts from a JSON array (POST /audiences/:id/contacts/batch). Upserts by email; max 10,000 per call. Each contact: { email, first_name?, last_name?, unsubscribed?, properties? }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contacts | Yes | Array of contact objects (max 10,000). | |
| audience_id | Yes | The audience to import into. | |
| on_conflict | No | How to resolve an email that already exists. Default 'upsert'. |