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

get_contacts(apikey = "demo",
  properties = get_contact_properties(apikey),
  property_history = "true", form_submission_mode = "newest",
  list_memberships = "false", 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

form_submission_mode

Which form submissions should be fetched

list_memberships

Indicate whether current list memberships should be fetched

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 contact data

See also

Examples

contacts <- get_contacts(property_history = "false", max_iter = 1, max_properties = 10)