Accounts
Preview Accounts From an Organization ID
See the accounts an organization ID would create before creating them
GET
Preview Accounts From an Organization ID
Preview Accounts From an Organization ID
Shows the biggest organizations that creating accounts frompropertyKey would make: the name each account would get, how many contacts would join it, and a few of those contacts. Nothing is created.
Each account is named from nameKey when you pass one. Otherwise it is named after the work email domain most of its contacts share, so organization_id: zplgap... with contacts at leadpages.com becomes Leadpages. Personal and disposable providers, such as gmail.com, and your own sending domains are ignored. A domain needs most of the organization’s contacts, so one consultant among personal emails does not name it. When no name can be found, name is null and the account shows its ID. Accounts that already exist keep their current name and domain, and contactCount can include contacts that were deleted since, which are skipped when creating.
Requires the subscribers:read scope.
Request
string
required
Event property or contact attribute holding your organization ID, from Detect
Organization IDs.
string
default:"event"
event for an event property, attribute for a contact attribute.string
Property or attribute holding the organization name.
number
default:"5"
Organizations to return, biggest first. Values outside 1 to 50 are clamped,
and non-numeric values use the default.
Response
array
The biggest organizations first.