import_contacts
Upsert contacts by email (up to 1000). Existing contacts update fields; never re-subscribe opted-out unless subscribed:true. Returns created/updated counts.
Instructions
Bulk import (upsert) contacts by email — up to 1000 rows per call; split larger lists into batches. Existing contacts update only the fields a row carries, and an import NEVER re-subscribes an opted-out contact unless the row says subscribed:true explicitly. Returns { created, updated }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sender | No | Product/sender externalId sent as X-Drin-Sender. Required only for account-wide API keys; overrides the server's default sender. | |
| contacts | Yes | Rows to upsert (≤1000). |