---
title: "MarketingFormById (HubSpot)"
description: "Marketing Form by ID"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/hubspot/Forms.Basic.MarketingFormById
original: https://documentation.invantive.eu/en/datamodels/hubspot/Forms.Basic.MarketingFormById
updated: 2026-12-04T20:00:14Z
license: https://documentation.invantive.eu/fi/
---

# MarketingFormById: HubSpot Marketing Form by ID

`read only` `REST`

- Luettelo: `Forms`
- Kaavio: `Basic`
- Label: Marketing Form by ID

Get a form definition Returns a form based on the form ID provided.

Voi hakea vain tietoja.

## API-lähde

- Päätepiste: `/marketing/v3/forms/{formId}`
- Toiminto: `get /marketing/v3/forms/{formId}`

## Parametrit

| Nimi | Tietotyyppi | Tarvitaan | Oletus | Dokumentaatio |
|---|---|:---:|---|---|
| `archived` | `` | [ ] |  | Whether to return only results that have been archived. |
| `formId` | `` | [x] |  |  |

## Taulukon sarakkeet

Taulukon `MarketingFormById` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `archived` | `char` | Arkistoitu | [ ] |  |  |
| `archivedAt` | `datetime` | Arkistoitu osoitteessa | [ ] |  |  |
| `configuration_allowLinkToResetKnownValues` | `char` | itgen_hubspot_configuration_allowlinktoresetknownvalues | [ ] |  | Whether to add a reset link to the form.This removes any pre-populated content on the form and creates a new contact on submission. |
| `configuration_archivable` | `char` | itgen_hubspot_configuration_archivable | [ ] |  | Whether the form can be archived. |
| `configuration_cloneable` | `char` | itgen_hubspot_configuration_cloneable | [ ] |  | Whether the form can be cloned. |
| `configuration_createNewContactForNewEmail` | `char` | itgen_hubspot_configuration_createnewcontactfornewemail | [ ] |  | Whether to create a new contact when a form is submitted with an email address that doesn’t match any in your existing contacts records. |
| `configuration_editable` | `char` | itgen_hubspot_configuration_editable | [ ] |  | Whether the form can be edited. |
| `configuration_embedType` | `varchar2` | itgen_hubspot_configuration_embedtype | [ ] |  |  |
| `configuration_language` | `varchar2` | itgen_hubspot_configuration_language | [ ] |  | The language of the form. |
| `configuration_notifyContactOwner` | `char` | itgen_hubspot_configuration_notifycontactowner | [ ] |  | Whether to send a notification email to the contact owner when a submission is received. |
| `configuration_postSubmitAction_type` | `varchar2` | itgen_hubspot_configuration_postsubmitaction_type | [ ] |  | The action to take after submit.The default action is displaying a thank you message. |
| `configuration_postSubmitAction_value` | `varchar2` | itgen_hubspot_configuration_postsubmitaction_value | [ ] |  | The thank you text or the page to redirect to. |
| `configuration_prePopulateKnownValues` | `char` | itgen_hubspot_configuration_prepopulateknownvalues | [ ] |  | Whether contact fields should pre-populate with known information when a contact returns to your site. |
| `configuration_recaptchaEnabled` | `char` | itgen_hubspot_configuration_recaptchaenabled | [ ] |  | Whether CAPTCHA (spam prevention) is enabled. |
| `createdAt` | `datetime` | Luotu | [ ] |  |  |
| `displayOptions_cssClass` | `varchar2` | itgen_hubspot_displayoptions_cssclass | [ ] |  | Custom CSS class name(s) to apply to the form element for additional styling. |
| `displayOptions_renderRawHtml` | `char` | itgen_hubspot_displayoptions_renderrawhtml | [ ] |  | Whether the form will render as raw HTML as opposed to inside an iFrame. |
| `displayOptions_style_backgroundWidth` | `varchar2` | itgen_hubspot_displayoptions_style_backgroundwidth | [ ] |  | The width of the form background.Accepts percentage (e.g., "100%") or pixel values (e.g., "600px"). |
| `displayOptions_style_fontFamily` | `varchar2` | itgen_hubspot_displayoptions_style_fontfamily | [ ] |  | Font family used throughout the form (e.g., "arial, helvetica, sans-serif"). |
| `displayOptions_style_helpTextColor` | `varchar2` | itgen_hubspot_displayoptions_style_helptextcolor | [ ] |  | Hex color code for help text displayed below form fields. |
| `displayOptions_style_helpTextSize` | `varchar2` | itgen_hubspot_displayoptions_style_helptextsize | [ ] |  | Font size for help text.Accepts pixel values (e.g., "11px"). |
| `displayOptions_style_labelTextColor` | `varchar2` | itgen_hubspot_displayoptions_style_labeltextcolor | [ ] |  | Hex color code for field labels. |
| `displayOptions_style_labelTextSize` | `varchar2` | itgen_hubspot_displayoptions_style_labeltextsize | [ ] |  | Font size for field labels.Accepts pixel values (e.g., "11px"). |
| `displayOptions_style_legalConsentTextColor` | `varchar2` | itgen_hubspot_displayoptions_style_legalconsenttextcolor | [ ] |  | Hex color code for legal consent text. |
| `displayOptions_style_legalConsentTextSize` | `varchar2` | itgen_hubspot_displayoptions_style_legalconsenttextsize | [ ] |  | Font size for legal consent text.Accepts pixel values (e.g., "14px"). |
| `displayOptions_style_submitAlignment` | `varchar2` | itgen_hubspot_displayoptions_style_submitalignment | [ ] |  | Horizontal alignment of the submit button.Values: left, center, right. |
| `displayOptions_style_submitColor` | `varchar2` | itgen_hubspot_displayoptions_style_submitcolor | [ ] |  | Hex color code for the submit button background. |
| `displayOptions_style_submitFontColor` | `varchar2` | itgen_hubspot_displayoptions_style_submitfontcolor | [ ] |  | Hex color code for the submit button text. |
| `displayOptions_style_submitSize` | `varchar2` | itgen_hubspot_displayoptions_style_submitsize | [ ] |  | Font size for submit button text.Accepts pixel values (e.g., "12px"). |
| `displayOptions_submitButtonText` | `varchar2` | itgen_hubspot_displayoptions_submitbuttontext | [ ] |  | The text displayed on the form submit button. |
| `displayOptions_theme` | `varchar2` | itgen_hubspot_displayoptions_theme | [ ] |  | The theme used for styling the input fields.This will not apply if the form is added to a HubSpot CMS page. |
| `formType` | `varchar2` | itgen_hubspot_formtype | [ ] |  |  |
| `id` | `varchar2` | ID | [ ] |  |  |
| `legalConsentOptions_type` | `varchar2` | itgen_hubspot_legalconsentoptions_type | [ ] |  | The legal consent type.Set to "none" to indicate no legal consent configuration is required for this form. |
| `name` | `varchar2` | Nimi | [ ] |  |  |
| `updatedAt` | `datetime` | Päivitetty | [ ] |  |  |


## Julkaisutiedot

Mitä muutoksia ajurien taulukoissa, sarakkeissa, attribuuteissa ja ominaisuuksissa on tapahtunut kunkin julkaisun yhteydessä:

- [HubSpot](/fi/release-notes/drivers/hubspot)
