forms_from_a_portal: WIP - Get all forms from a portal (raw and tidy)

Description Usage Arguments Details Value Examples

Description

For a given portal, return all forms that have been created in the portal. from the Get all forms from a portal endpoint.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
hs_forms_from_a_portal_raw(
  token_path = hubspot_token_get(),
  apikey = hubspot_key_get(),
  all_form_types = FALSE
)

hs_forms_from_a_portal_tidy(
  forms_from_a_portal = hs_forms_from_a_portal_raw(),
  view = "forms"
)

Arguments

token_path

Path to OAuth 2.0 token. See hubspot_token_create().

apikey

API key to work with Hubspot (only used if token_path is NULL). See hubspot_key_set().

all_form_types

By default non-marketing forms are filtered out of this endpoint. To request all forms, use this paramter with the value of TRUE.

forms_from_a_portal

A forms_from_a_portal object, typically produced by running hs_forms_from_a_portal_raw()

view

A view (see Details)

Details

Required scope(s) for the OAuth token: forms.

Different view values and associated output.

Value

A list (hs_forms_from_a_portal_raw())

A tibble with associated entities (hs_forms_from_a_portal_tidy())

Examples

1
2

lockedata/hubspot documentation built on March 1, 2020, 8:54 p.m.