Description Usage Arguments Details Value Examples
For a given portal, return all forms that have been created in the portal. from the Get all forms from a portal endpoint.
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"
)
|
token_path |
Path to OAuth 2.0 token.
See |
apikey |
API key to work with Hubspot (only used if |
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 |
view |
A view (see Details) |
Required scope(s) for the OAuth token: forms.
Different view
values and associated output.
"forms": tibble of form IDs, names, createdAt dates, upatedAt date, type, published (T/F) and number of fields
"fields": tibble of all forms as above with form fields (one field per row)
"options": tibble of all forms and fields as above, with options for multiple option fields (one option per row)
A list (hs_forms_from_a_portal_raw()
)
A tibble with associated entities (hs_forms_from_a_portal_tidy()
)
1 2 | hs_forms_from_a_portal_raw()
forms <- hs_forms_from_a_portal_tidy()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.