GET
/
forms
/
v2
/
fields
/
{form_guid}
/
{field_name}
Get a single field from a form
curl --request GET \
  --url https://api.hubapi.com/forms/v2/fields/{form_guid}/{field_name} \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "label": "<string>",
  "type": "<string>",
  "fieldType": "<string>",
  "description": "<string>",
  "groupName": "<string>",
  "displayOrder": 123,
  "required": true,
  "selectedOptions": [
    "<string>"
  ],
  "options": [
    {}
  ],
  "validation": {
    "name": "<string>",
    "message": "<string>",
    "data": "<string>",
    "useDefaultBlockList": true,
    "blockedEmailAddresses": [
      "<string>"
    ]
  },
  "enabled": true,
  "hidden": true,
  "defaultValue": "<string>",
  "isSmartField": true,
  "unselectedLabel": "<string>",
  "placeholder": "<string>",
  "dependentFieldFilters": [
    {}
  ],
  "labelHidden": true,
  "propertyObjectType": "<string>",
  "metaData": [
    {}
  ],
  "objectTypeId": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

form_guid
string
required

The unique ID for the form that you're requesting the field from in your API call.

field_name
string
required

The name of the specific field that you're requesting in your API call.

Response

200
application/json

Form field retrieved successfully

The response is of type object.