ac_get_accounts {ractivecampaign}R Documentation

Retrieve all existing account

Description

Retrieve all existing account

Usage

ac_get_accounts(search = NULL, count_deals = FALSE)

Arguments

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.

Value

tibble with account list

See Also

Accounts

Examples

## 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)


[Package ractivecampaign version 0.2.0 Index]