Import contacts
emailchef_import_contactsWRITE: bulk-add or update up to 500 contacts in a list in one call (an existing email is updated). Each contact is an object keyed by field placeholder, e.g. {"email":"a@b.com","firstname":"Ada"}: get the placeholders from emailchef_list_predefined_fields and emailchef_list_custom_fields. Import only people who agreed to receive email. Runs in the background: poll emailchef_get_import_task with the returned id. POST /lists/{list_id}/import.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | Numeric id (as returned by the list tools). | |
| contacts | Yes | Contacts to import, each keyed by placeholder. |