Export Target Accounts
Every target account, as rows or as a CSV file that re-imports as written
format=json, the default, answers the rows under target_companies, with total and
truncated. format=csv answers the file itself, clustr-target-accounts-<date>.csv, with the
columns the app’s target account import reads, so it re-imports as written: company_name,
linkedin_url and tier (the tier’s name), then source and status (Unmatched, LinkedIn page
not found), which the import ignores.
Both formats report the size in X-Export-Total, X-Export-Rows and X-Export-Truncated.
Authorizations
Headers
Query Parameters
The response format. json (the default) is the standard
{ "success": true, "data": { ... } } envelope, with total and
truncated beside the rows. csv is the file itself: text/csv; charset=utf-8, a UTF-8 byte order mark, Content-Disposition: attachment; filename="clustr-<name>-<YYYY-MM-DD>.csv", and a leading
apostrophe on any cell that starts with = + - @, a tab or a carriage
return so a spreadsheet never reads it as a formula. Anything else is a
400. Both formats hold at most 50,000 rows and report the size in the
X-Export-* headers. A CSV whose export failed partway ends with the line
# EXPORT FAILED: this file is incomplete. Download it again., and
the connection is closed.
json, csv