ac_get_accounts {ractivecampaign} | R Documentation |
Retrieve all existing account
ac_get_accounts(search = NULL, count_deals = FALSE)
search |
Search by name |
count_deals |
Whether to compute the contactCount and dealCount counts for the number of contacts/deals associated with each account. Set it to true to include the right counts. If set to false or omitted from the call, then contactCount and dealCount will not be counted and be simply displayed as 0. |
tibble with account list
## Not run:
Sys.setenv('ACTIVECAMPAGN_API_TOKEN' = "YOUR_TOKEN")
Sys.setenv('ACTIVECAMPAGN_API_URL' = "https://<your-account>.api-us1.com")
my_accounts <- ac_get_accounts(search = 'name')
## End(Not run)