curviate contact export

Download the Contacts a filter matches as csv, json or ndjson (default). A CSV export re-imports unchanged. The data goes to stdout or --output and nothing else does; counts go to stderr. --output is written whole or not at all, with mode 0600.

Usage

curviate contact export [flags]

Examples

curviate contact export --list cl_YOUR_LIST_ID --format csv --output contacts.csv
curviate contact export --tag hot --fields linkedin_url,email

Flags

FlagTypeRequiredDescription
--jsonbooleannoNot accepted: an export's data is the file. Use --format json.
--liststringnoOnly Contacts in this Contact list (cl_...); repeatable, or a comma list. In any of them unless --list-match all.
--list-matchstringnoWith --list: any (default, in at least one) or all (in every one).
--not-liststringnoOnly Contacts in none of these Contact lists (cl_...); repeatable, or a comma list.
--tagstringnoOnly Contacts with this Tag, any casing; repeatable: with any of them.
--motionstringnoOnly Contacts with an Enrollment in this Motion (mot_...).
--statusstringnoWith --motion: comma list of Enrollment statuses (queued, active, paused, finished, failed, skipped).
--connectedbooleannoOnly Connections of your Accounts (--no-connected: everyone else).
--connected-accountstringnoOnly Connections of this Account (acc_... or its name). Explicit: never filled from the default Account.
--importstringnoOnly Contacts in this import's report (imp_...), while the import exists.
--enrichment-statusstringnonone, queued, done or failed.
--querystringnoText match on names, headline, job title, company, email, location and profile slug.
--linkedin-urlstringnoThe Contact for this person, any URL spelling.
--has-emailbooleannoOnly Contacts with an email address.
--no-emailbooleannoOnly Contacts without an email address.
--formatstringnocsv | json | ndjson (default ndjson).
--output, -ostringnoWrite to this path (0600, replaced whole on success) or - for stdout (default).
--fieldsstringnoColumns to include, in this order (e.g. linkedin_url,tags,extra.note). Default: all.

Also accepts these global flags: --api-key, --profile, --team, --base-url, --timeout.

Exit codes: the exit code table. More commands: Contact.