Export companies as CSV
Exports the current filtered company view (or an explicit by-ids selection) as a CSV download. Body is the same ObserveQueryRequest the table queries with, EXCEPT limit/offset are ignored - the whole matched set is paged server-side. When columns is omitted it falls back to the company default-view columns. When ids is present (≤500), exactly those rows are exported (any filter is ANDed in); an empty ids array yields a header-only CSV. Cell values are RAW (currency as integer cents, dates as ISO-8601, sparkline/derived columns as JSON arrays); headers use catalog display labels and a leading entityId column is always included. A matched set larger than 10,000 rows is rejected with 400 - narrow the filter.
Request
- Base URLhttp://localhost:3009
- AuthHTTP bearer
Request body
Example request
{
"filter": {
"children": [
{
"traitKey": "hubspot_lifecycle_stage"
}
]
},
"sort": [
{
"field": "event_count"
}
],
"columns": [
{
"field": "name",
"frozen": true,
"width": 200
}
],
"limit": 50
}Response
A CSV document (UTF-8 with BOM, CRLF line endings).
Changes
No recorded changes to this operation across all 1 revision of this API.