Description Usage Arguments Details Value Examples
Get all of the engagements in a portal. Returns a paginated set of engagements. from the Get all engagements endpoint.
1 2 3 4 5 6 7 | hs_engagements_raw(
token_path = hubspot_token_get(),
apikey = hubspot_key_get(),
max_iter = 10
)
hs_engagements_tidy(engagements = hs_engagements_raw(), view = "id")
|
token_path |
Path to OAuth 2.0 token.
See |
apikey |
API key to work with Hubspot (only used if |
max_iter |
The API is limited to a certain number of responses by page, use |
engagements |
An engagements object, typically produced by running |
view |
A view (see Details) |
Required scope(s) for the OAuth token: contacts.
view = "id" returns a list of all engagements, type, created and modified dates listed by ID.
view = "contacts" also returns associated contacts, one contact ID per row
view = "companies" also returns associated companies, one company ID per row
view = "deals" also returns associated deals, one deal ID per row
A list (hs_engagements_raw()
)
A tibble with associated entities (hs_engagements_tidy()
)
1 2 | engagements <- hs_engagements_raw()
hs_engagements_tidy(engagements)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.