Skip to main content
GET
Every target account of your workspace, at most 50,000 rows. The export takes no filters; to search the list, use List Target Accounts. 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

Authorization
string
header
required

The API key you created on the API settings page of the Clustr app.

Headers

X-Clustr-Fresh
enum<string>

Send 1 for about 10 seconds after a write of your own: the read waits up to queries.clickhouse.write_wait_ms (default 6 s) for that write and is never answered from a last-good copy. Do not send it on every request.

Available options:
1

Query Parameters

format
enum<string>
default:json

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.

Available options:
json,
csv

Response

The target accounts, as JSON or as the CSV file with format=csv.

success
boolean
required
data
object
required