Batch-retrieves up to 100 HubSpot company records by their IDs in a single request. Supports custom ID properties (e.g., domain), selective property retrieval, and historical property values.
inputsRequiredarrayList of company identifiers to retrieve. Each `id` within an input object corresponds to the value of the property specified in `idProperty`.
archivedbooleanIf true, returns only archived company records; otherwise (default), returns active, non-archived companies.
idPropertystringProperty name to use as the unique identifier for companies in `inputs`. Defaults to `hs_object_id` (the HubSpot record ID) if not specified. Can be set to any unique company property configured in your HubSpot account.
propertiesarrayOptional list of company property names to retrieve. If omitted, a default set of properties (name, domain, hs_object_id, createdate, hs_lastmodifieddate, etc.) is returned.
propertiesWithHistoryarrayOptional list of company property names for which to retrieve historical values. If not provided, no historical data is returned.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.