Reference / Organisations

Export organisations

export_organisationsocmgr organisations exportGET /v1/export/organisationsREAD

The organisations matching a filter as CSV or JSON — the same filters the screen applies, so an export matches what somebody was looking at. Small exports come back inline; larger ones are written to a file on the machine running this server and the path is returned.

Parameters

filterobject

The same filters the Organisations screen applies, so an export matches the screen.

querystring

Case-insensitive substring of the name, domain or login.

filtersobject

Narrow the list; every filter is optional and they combine with AND.

min_membersinteger-9007199254740991–9007199254740991

Minimum community members, default 2. Set 0 to include smaller organisations.

corporate_onlyboolean

Drop freemail domains (default true; false opts out). They are already excluded when the aggregate is built, so this only matters for rows built before a domain was added to the list.

tagsstring[]

Only organisations carrying one of these tags.

teamboolean

Whether the workspace’s own staff count. **Defaults to false**, which is what every headline count means by "people": members, growth, per-source presence, ninety-day activity and first/last seen are all worked out over the community alone, and an organisation only your own staff are in (usually your own company) is left out. true counts everybody, staff included — the materialised totals.

filterobject

Organisation filter tree: all/any/not and organisation conditions. Independent of member fields; invalid fields name their path.

sort"members" | "growth" | "activity" | "name" | "impact" | "warming"

members (default) is largest first; growth is fastest growing over twelve weeks; activity is the last ninety days; name is alphabetical; impact is weighted activity; warming ranks the change in active members between consecutive 90-day windows, then current active count, name and id.

organisation_idsstring[]up to 200

Export these selected organisation IDs or stable keys, intersected with any other filters.

format"csv" | "json"

csv for a spreadsheet, json for the full records. Defaults to csv.

CLI flags

--organisation <key-or-id...>

Export only these selected organisation keys or IDs

--corporate-onlydefault true

Drop freemail domains (default)

--no-corporate-only

Include any retained freemail rows

--format <format>default csv

json or csv

--out <file>

Write to a file instead of stdout

--filter <json>

Organisation filter tree (all/any/not)

--query <text>

Substring of the name, domain or org login

--min-members <n>default 2

Minimum members (0 includes smaller organisations)

--tag <name...>

Only organisations carrying one of these tags

--team

Count the workspace’s own staff too; by default the community alone

--sort <how>

One of: members, growth, activity, name, impact, warming (default members)

Also in Organisations