Get a list of all companies, including a set of properties

get_companies(apikey = "demo",
  properties = get_company_properties(apikey),
  property_history = "true", max_iter = 10, max_properties = 100)

Arguments

apikey

API key to work with Hubspot

properties

Character vector of properties to request

property_history

Whether version history for properties should be returned

max_iter

The API is limited to 250 responses, use max_iter to limit how many pages of data will get returned

max_properties

Avoid URLs that are too long, limit the number of properties returned, if required.

Value

List with company data

See also

Examples

companies <- get_companies(property_history = "false", max_iter = 1, max_properties = 10)