Exports and archive
Export email as CSV or JSON Lines, directly or as a job for large volumes. On the Scale plan older email moves to the archive and stays readable through exports for 2 years.
There are two formats: CSV (flat columns) and JSON Lines (one email per line, with recipients and events). There are no other formats such as Parquet. Cells that start with =, +, - or @ get a leading quote so spreadsheets do not run them as formulas.
Download directly
GET /v1/emails/export streams up to 100,000 emails with the filters of the search:
curl "https://api.sendtide.ch/v1/emails/export?format=csv&q=status:bounced&since=2026-11-01T00:00:00Z" \
-H "Authorization: Bearer $SENDTIDE_API_KEY" -o bounces.csv
| Parameter | Meaning |
|---|---|
format |
csv or jsonl (required) |
q |
the same search language as GET /v1/emails, see Sending email |
since, until |
the time range, default the last 30 days |
If there are more than 100,000 emails the API answers 422 range_too_large. Use a job then.
As a job
POST /v1/exports builds the file in the background (gzip) and suits large ranges:
curl https://api.sendtide.ch/v1/exports \
-H "Authorization: Bearer $SENDTIDE_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "format": "jsonl", "since": "2026-01-01T00:00:00Z", "source": "all" }'
The answer (202) carries the id of the export. Poll GET /v1/exports/{id} until status is ready. Then download_url holds the link. It works for 24 hours, needs no key, and after that the file is gone (status: failed, error: expired). At most 5 exports run at once (429 too_many_exports). Exports need only a key with scope read.
source picks the source: live (default, the searchable email), archive or all. Archive and all exist on the Scale plan only (403 plan_limit), all only with jsonl.
Archive
On the Scale plan Sendtide does not delete email and events after the 90 days of live search but stores them in the archive: JSON Lines (gzip) per account and month, kept for 2 years. The archive is readable through exports only, not in the search. Retention does not delete the mail of archive accounts itself.
After a downgrade the new plan applies: the archive is kept no longer than its metadata period. For Free and Start that is 30 days, so the archive is gone at the next run. More under Retention and deletion.
All data of the account
POST /v1/account/export creates a ZIP of JSON files with everything the account holds, for access requests under the Swiss FADP. Passwords, key hashes and other secrets are not included. Only owners can trigger it, only in a dashboard session. You follow its progress like any export.
Suppression list
The suppression list has its own endpoints for CSV import and export, see Suppressions.