Newsletters

Import or move a list

Import a CSV, or the export file from Mailchimp, Kit, Brevo and other platforms, without losing anyone's opt-out.

On this page

Bring the people who already agreed to get your newsletter. Ternwire checks the file first and changes nothing until you apply it.

Import an existing list

Upload a CSV with an email column from the audience page, with POST /v1/contact-imports, with ternwire imports upload or with the upload_contact_import_file MCP tool. An optional locale column sets each contact's language, and an empty cell keeps the stored one. Other columns become contact attributes for templates. Ternwire checks the file first and changes nothing until you apply it. Rows with errors are listed and can be downloaded, and they are skipped when you apply.

Choose how contacts join:

  • pending adds them without sending anything. They receive nothing until they confirm. You can ask one person at a time to confirm from their row's menu on the audience page; Ternwire has no way to email a whole imported list at once, because that reads as spam.
  • confirmed is for people who already agreed. Each row needs consent_captured_at and consent_source columns, the import needs the privacy policy they agreed to (a link or a version name), and Ternwire reviews it before you can apply it.

An optional subscription_status column takes subscribed, pending, unsubscribed, bounced or complained. An empty or unknown value is a row error, so no row is subscribed by accident.

One request holds at most 10,000 rows. The dashboard, the CLI and the MCP tool split a larger file for you, up to your plan's contact limit. Applying the same import again changes nothing, and contacts who unsubscribed earlier stay unsubscribed. The audience page shows each contact's state and how their consent was collected. Export the audience as CSV at any time.

Move from another newsletter platform

Upload the file your old platform exported, without editing it. Ternwire recognizes the file by its columns, or you can name the platform with source. It reads the email, names, phone, tags and subscription status, turns custom fields into attributes with names a template can use, and leaves out platform bookkeeping such as ratings and internal IDs. GET /v1/contact-import-sources lists every platform with how to export from it.

PlatformsourceStatus comes fromOpt-in time comes from
MailchimpmailchimpThe file: each status has its own CSVCONFIRM_TIME, then OPTIN_TIME
SendGridsendgridSeparate suppression exportsNone
KlaviyoklaviyoEmail Marketing ConsentEmail Marketing Consent Timestamp
BrevobrevoExport each status separatelyNone
Kit (ConvertKit)kitstatusNone
beehiivbeehiivstatus, unsubscribed_atNone
ActiveCampaignactivecampaignStatus in a list exportDate Subscribed
Constant Contactconstant_contactEmail Statusemail_optin_date
MailerLitemailerliteStatus, or export each view separatelyOpted in at, when you add that column
HubSpothubspotUnsubscribed from all email, Invalid email addressNone
Substacksubstackemail_disabledNone
Ghostghostsubscribed_to_emailsNone
OmnisendomnisendEmail subscription statusEmail opt-in date
AWeberaweberExport each status separatelyNone
GetResponsegetresponseExport each status separatelyNone
Campaign Monitorcampaign_monitorExport each status separatelyNone

Ternwire cannot detect AWeber, GetResponse or Campaign Monitor files, so name them with source. Several of these platforms document only part of their export format. The columnsVerified field of each source says whether its columns come from a real export. When it is false, read summary.columns before you apply.

The import response shows what Ternwire found before anything changes. source is the platform it used. summary.statuses counts the rows by status. summary.columns shows which column became what, and which columns it left out.

Large lists

A file can hold as many contacts as your plan allows. The dashboard, ternwire imports upload and upload_contact_import_file read it as a stream and send it as a batch of parts of up to 10,000 rows. A batch reads and applies as one import: one set of totals, one review for confirmed contacts, one apply.

Applying returns at once with state: "applying" when a list needs longer, and Ternwire finishes it in the background, so you can close the page or end the command. Read the batch for appliedCount until state is applied. A list applies at a few hundred rows a second, so 100,000 rows takes five to ten minutes.

If an upload stops partway, run it again with the same idempotency key and the same file, and it continues from where it stopped. A different file under the same key fails with idempotency_conflict. A batch that is missing parts has state: "uploading" and cannot be reviewed or applied. The batch shows the first 100 errors with their row in your file, and summary.errors counts all of them.

An address that appears in more than one part follows the same rule as within a part: its strictest row decides, so a row with an opt-in time does not confirm an address that another row leaves pending or opted out. Its other rows count as unchanged when applied, instead of as duplicates when you check the file.

To call the API yourself, send each part to POST /v1/contact-imports with batch: {"id": "...", "part": 1, "last": false}, in order, each under its own header row. Set last on the final part, then use GET and POST /v1/contact-import-batches/{batchId}/apply.

People who left the old platform stay out

Rows the old platform marks as unsubscribed, bounced or complained become opt-outs in the audience when you apply the import. Ternwire stores no profile for them, and result.suppressed counts them. A later import cannot subscribe those addresses. Only the person can, by confirming a new subscription request. If an address appears twice in a file, its strictest row wins.

Upload your unsubscribes along with your subscribers. Mailchimp puts them in the same ZIP. SendGrid, for one, exports them separately with no status column, so pass status to say what the whole file holds:

ternwire imports upload audience_12345678 --file global_unsubscribes.csv --source sendgrid --status unsubscribed --idempotency-key sendgrid-unsubscribes

A row keeps the stricter of status and what its own columns or file name say, so status can never subscribe someone a file marks as unsubscribed.

Mailchimp's non-subscribed file has the same columns as its subscribed file, so only the file name tells them apart. The CLI, the MCP tool and the dashboard read that name. If you send the CSV text yourself with POST /v1/contact-imports, pass "status": "pending" for that file.

Confirmed imports need a real opt-in time

A confirmed import reads the opt-in time columns in the table, and records the platform and column as the consent source. Ternwire reviews the import before you can apply it. A date the record was created is not consent, so Ternwire never reads created_at or a similar column as an opt-in time, and those platforms show None. To confirm contacts from one of them, add consent_captured_at and consent_source columns from your own records. Rows with no opt-in time are reported as missing_consent_evidence and skipped. Rows the old platform never confirmed join as pending, even in a confirmed import.

Date formats that could be read two ways, such as 03/04/2026, are reported as invalid_consent_captured_at and skipped.

File formats

The dashboard, the CLI and the MCP tool read CSV, TSV and ZIP files. A ZIP can hold several CSV files, such as one per status. The dashboard reviews them together and applies them with one button. The CLI and the MCP tool create one batch per CSV, so apply each one. Ternwire reads comma, semicolon and tab separators, and UTF-8, UTF-16 and Windows-1252 text. It does not read Excel files, so export or save those as CSV.