Export an automation's people
The People table as CSV, newest first, at most 10,000 rows (truncated is true when there were more).
https://app.usenotix.dev/api/v1/automations/{id}/people/exportFull access and read only keys can call this. Sending access keys cannot. Key permissions lists the extra rules some calls have.
The People table as CSV, newest first, at most 10,000 rows (truncated is true when there were more). Spreadsheet-safe: a cell that would run as a formula starts with an apostrophe. It is personal data in bulk, so it needs a full access key that is not limited to one domain, a team runs one export at a time (contacts and automations share it; 429 while one runs) and 10 a minute.
Path parameters
Query parameters
Only runs with this status.
One of ACTIVE, COMPLETED, EXITED, FAILED.
Headers
Bearer followed by your API key.
Errors
The key is not FULL, or is limited to one domain.
No journey with this id for the calling team (or, for a pinned key, on its domain).
The read took longer than 30 seconds.
Another export for this team is still running, or the team exported 10 times in the last minute.
Every error has the same shape. See all error codes.
curl -X GET "https://app.usenotix.dev/api/v1/automations/<id>/people/export" \
-H "Authorization: Bearer $NOTIX_API_KEY"
import { Notix } from "notix-js";
const notix = new Notix(process.env.NOTIX_API_KEY);
const { data, error } = await notix.automations.exportPeople("jrn_123");
// data.csv is spreadsheet-safe; data.truncated is true past 10,000 rows.
{
"journeyId": "cm1x8f3k20001qz7v5b9d2e4a",
"filename": "Acme",
"csv": "string",
"truncated": true
}