Skip to content

HubSpot: Properties schemas

17 HubSpot schemas with complete fields and constraints.

← Properties operations · All schemas

Archive a batch of properties — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
inputsarrayRequired within parentAn array of property names to be processed in the batch operation. Each item in the array is a reference to a PropertyName object.
inputs[]ModelEach itemExpand Read a batch of properties — request body — body inputs item

Referenced models: Read a batch of properties — request body — body inputs item

Create a batch of properties — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
inputsarrayRequired within parentAn array of PropertyCreate objects, each representing a property to be created. This field is required.
inputs[]ModelEach itemExpand Create a property — request body — body

Referenced models: Create a property — request body — body

Create a property group — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
displayOrderintegerOptionalProperty groups are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property group to be displayed after any positive values.
Format: int32
labelstringRequired within parentA human-readable label that will be shown in HubSpot.
namestringRequired within parentThe internal property group name, which must be used when referencing the property group via the API.

Create a property — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
calculationFormulastringOptionalRepresents a formula that is used to compute a calculated property.
currencyPropertyNamestringOptionalA string representing the name of the currency property.
dataSensitivitystringOptionalIndicates the sensitivity level of the property, with options: highly_sensitive, non_sensitive, or sensitive.
One of: highly_sensitive, non_sensitive, sensitive
descriptionstringOptionalA description of the property that will be shown as help text in HubSpot.
displayOrderintegerOptionalProperties are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property to be displayed after any positive values.
Format: int32
externalOptionsbooleanOptionalApplicable only for 'enumeration' type properties. Should be set to true in conjunction with a 'referencedObjectType' of 'OWNER'. Otherwise false.
fieldTypestringRequired within parentControls how the property appears in HubSpot.
One of: booleancheckbox, calculation_equation, checkbox, date, file, html, number, phonenumber, radio, select, text, textarea
formFieldbooleanOptionalWhether or not the property can be used in a HubSpot form.
groupNamestringRequired within parentThe name of the property group the property belongs to.
hasUniqueValuebooleanOptionalWhether or not the property's value must be unique. Once set, this can't be changed.
hiddenbooleanOptionalIf true, the property won't be visible and can't be used in HubSpot.
labelstringRequired within parentA human-readable property label that will be shown in HubSpot.
namestringRequired within parentThe internal property name, which must be used when referencing the property via the API.
numberDisplayHintstringOptionalA string providing a hint on how to display numbers. Valid values include 'unformatted', 'formatted', 'currency', 'percentage', 'duration', 'probability'.
One of: currency, duration, formatted, percentage, probability, unformatted
optionsarrayOptionalA list of valid options for the property. This field is required for enumerated properties.
options[]ModelEach itemExpand Create a property — request body — body options item
referencedObjectTypestringOptionalShould be set to 'OWNER' when 'externalOptions' is true, which causes the property to dynamically pull option values from the current HubSpot users.
showCurrencySymbolbooleanOptionalA boolean indicating whether to show the currency symbol for currency fields.
textDisplayHintstringOptionalA string providing a hint on how to display text. Valid values include 'unformatted_single_line', 'multi_line', 'email', 'phone_number', 'domain_name', 'ip_address', 'physical_address', 'postal_code'.
One of: domain_name, email, ip_address, multi_line, phone_number, physical_address, postal_code, unformatted_single_line
typestringRequired within parentThe data type of the property.
One of: bool, date, datetime, enumeration, number, phone_number, string

Referenced models: Create a property — request body — body options item

Create a property — request body — body options item

FieldTypePresenceDescription and constraints
$objectRoot
descriptionstringOptionalA description of the option.
displayOrderintegerRequired within parentOptions are shown in order starting with the lowest positive integer value. Values of -1 will cause the option to be displayed after any positive values.
Format: int32
hiddenbooleanRequired within parentHidden options won't be shown in HubSpot.
labelstringRequired within parentA human-readable option label that will be shown in HubSpot.
valuestringRequired within parentThe internal value of the option, which must be used when setting the property value through the API.

Read a batch of properties — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentSpecifies whether the property is archived.
dataSensitivitystringRequired within parentIndicates the sensitivity level of the data, such as 'non_sensitive', 'sensitive', or 'highly_sensitive'.
One of: highly_sensitive, non_sensitive, sensitive
inputsarrayRequired within parentAn array of property names to be included in the batch read operation. Each item in the array is a reference to a PropertyName object.
inputs[]ModelEach itemExpand Read a batch of properties — request body — body inputs item

Referenced models: Read a batch of properties — request body — body inputs item

Read a batch of properties — request body — body inputs item

FieldTypePresenceDescription and constraints
$objectRoot
namestringRequired within parentThe name of the property to read or modify.

Read a batch of properties — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Properties Batch Response Property

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringRequired within parentThe timestamp indicating when the batch operation was completed.
Format: date-time
linksobjectOptionalA collection of URLs linking to documentation or resources related to the batch operation.
Additional keys: see wildcard field
links.*stringAdditional keys
requestedAtstringOptionalThe timestamp indicating when the batch operation was requested.
Format: date-time
resultsarrayRequired within parentAn array of Property objects representing the results of the batch operation.
results[]ModelEach itemExpand Read a property — response body
startedAtstringRequired within parentThe timestamp indicating when the batch operation began processing.
Format: date-time
statusstringRequired within parentThe current status of the batch operation, with possible values being CANCELED, COMPLETE, PENDING, or PROCESSING.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Read a property — response body

Read a batch of properties — response body — status: CANCELED, COMPLETE, PENDING, PROCESSING — Properties Batch Response Property With Errors

FieldTypePresenceDescription and constraints
$objectRoot
completedAtstringRequired within parentThe date and time when the batch operation was completed, in ISO 8601 format.
Format: date-time
errorsarrayOptionalAn array of errors encountered during the batch operation, each represented by a StandardError object.
errors[]ModelEach itemExpand Remove associations — response body — errors item
linksobjectOptionalA map of link names to their associated URIs, providing additional information or actions related to the batch operation.
Additional keys: see wildcard field
links.*stringAdditional keys
numErrorsJSONOptional
numErrors (anyOf 1)integerAlternativeThe number of errors encountered during the batch operation.
Format: int32
numErrors (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
requestedAtstringOptionalThe date and time when the batch operation was requested, in ISO 8601 format.
Format: date-time
resultsarrayRequired within parentAn array of properties that were processed in the batch operation.
results[]ModelEach itemExpand Read a property — response body
startedAtstringRequired within parentThe date and time when the batch operation started, in ISO 8601 format.
Format: date-time
statusstringRequired within parentThe current status of the batch operation. Valid values include 'PENDING', 'PROCESSING', 'CANCELED', and 'COMPLETE'.
Known values: CANCELED, COMPLETE, PENDING, PROCESSING

Referenced models: Remove associations — response body — errors item, Read a property — response body

Read a property group — response body

FieldTypePresenceDescription and constraints
$objectRoot
archivedbooleanRequired within parentIndicates whether the property group is archived.
displayOrderJSONOptional
displayOrder (anyOf 1)integerAlternativeProperty groups are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property group to be displayed after any positive values.
Format: int32
displayOrder (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
labelstringRequired within parentA human-readable label that will be shown in HubSpot.
namestringRequired within parentThe internal property group name, which must be used when referencing the property group via the API.

Read a property — response body

FieldTypePresenceDescription and constraints
$objectRootA HubSpot property
archivedbooleanOptionalWhether or not the property is archived.
archivedAtstringOptionalWhen the property was archived.
Format: date-time
calculatedbooleanOptionalFor default properties, true indicates that the property is calculated by a HubSpot process. It has no effect for custom properties.
calculationFormulastringOptionalRepresents a formula that is used to compute a calculated property.
createdAtstringOptionalThe timestamp when the property was created, in ISO 8601 format.
Format: date-time
createdUserIdstringOptionalThe internal user ID of the user who created the property in HubSpot. This field may not exist if the property was created outside of HubSpot.
currencyPropertyNamestringOptionalThe name of the currency property associated with this property, if applicable.
dataSensitivitystringOptionalThe sensitivity level of the data. Valid values include 'non_sensitive', 'sensitive', and 'highly_sensitive'.
Known values: highly_sensitive, non_sensitive, sensitive
dateDisplayHintstringOptionalIndicates how date values should be displayed, with options such as 'absolute', 'absolute_with_relative', 'time_since', or 'time_until'.
Known values: absolute, absolute_with_relative, time_since, time_until
descriptionstringRequired within parentA description of the property that will be shown as help text in HubSpot.
displayOrderJSONOptional
displayOrder (anyOf 1)integerAlternativeProperties are shown in order, starting with the lowest positive integer value.
Format: int32
displayOrder (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
externalOptionsbooleanOptionalFor default properties, true indicates that the options are stored externally to the property settings.
fieldTypestringRequired within parentControls how the property appears in HubSpot.
formFieldbooleanOptionalWhether or not the property can be used in a HubSpot form.
groupNamestringRequired within parentThe name of the property group the property belongs to.
hasUniqueValuebooleanOptionalWhether or not the property's value must be unique. Once set, this can't be changed.
hiddenbooleanOptionalWhether or not the property will be hidden from the HubSpot UI. It's recommended this be set to false for custom properties.
hubspotDefinedbooleanOptionalThis will be true for default object properties built into HubSpot.
labelstringRequired within parentA human-readable property label that will be shown in HubSpot.
modificationMetadataModelOptionalExpand Read a property — response body — modification Metadata
namestringRequired within parentThe internal property name, which must be used when referencing the property via the API.
numberDisplayHintstringOptionalA hint for displaying number properties. Valid values include 'unformatted', 'formatted', 'currency', 'percentage', 'duration', and 'probability'.
Known values: currency, duration, formatted, percentage, probability, unformatted
optionsarrayRequired within parentA list of valid options for the property. This field is required for enumerated properties, but will be empty for other property types.
options[]ModelEach itemExpand Read a property — response body — options item
referencedObjectTypestringOptionalIf this property is related to other object(s), they'll be listed here.
sensitiveDataCategoriesarrayOptionalAn array of categories indicating the sensitivity of the data contained in the property.
sensitiveDataCategories[]stringEach item
showCurrencySymbolbooleanOptionalWhether or not the property will display the currency symbol set in the account settings.
textDisplayHintstringOptionalA hint for displaying text properties. Valid values include 'unformatted_single_line', 'multi_line', 'email', 'phone_number', 'domain_name', 'ip_address', 'physical_address', and 'postal_code'.
Known values: domain_name, email, ip_address, multi_line, phone_number, physical_address, postal_code, unformatted_single_line
typestringRequired within parentThe property data type.
updatedAtstringOptionalThe timestamp when the property was last updated, in ISO 8601 format.
Format: date-time
updatedUserIdstringOptionalThe internal user ID of the user who updated the property in HubSpot. This field may not exist if the property was updated outside of HubSpot.

Referenced models: Read a property — response body — options item, Read a property — response body — modification Metadata

Read a property — response body — modification Metadata

FieldTypePresenceDescription and constraints
$objectRoot
archivablebooleanRequired within parentSpecifies whether the property can be archived.
readOnlyDefinitionbooleanRequired within parentIndicates whether the property's definition is read-only and cannot be modified.
readOnlyOptionsbooleanOptionalIndicates whether the property's options are read-only and cannot be modified.
readOnlyValuebooleanRequired within parentIndicates whether the property's value is read-only and cannot be modified.

Read a property — response body — options item

FieldTypePresenceDescription and constraints
$objectRootA HubSpot property option
descriptionstringOptionalA description of the option.
displayOrderJSONOptional
displayOrder (anyOf 1)integerAlternativeOptions are displayed in order starting with the lowest positive integer value. Values of -1 will cause the option to be displayed after any positive values.
Format: int32
displayOrder (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
hiddenbooleanRequired within parentHidden options will not be displayed in HubSpot.
labelstringRequired within parentA human-readable option label that will be shown in HubSpot.
valuestringRequired within parentThe internal value of the option, which must be used when setting the property value through the API.

Read all properties — response body

FieldTypePresenceDescription and constraints
$objectRoot
resultsarrayRequired within parentAn array of Property objects, each representing a specific property associated with the object type. This array contains the details of each property such as name, label, type, and other metadata.
results[]ModelEach itemExpand Read a property — response body

Referenced models: Read a property — response body

Read all property groups — response body

FieldTypePresenceDescription and constraints
$objectRoot
resultsarrayRequired within parentAn array of property groups, where each group is represented by a PropertyGroup object.
results[]ModelEach itemExpand Read a property group — response body

Referenced models: Read a property group — response body

Update a property group — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
displayOrderintegerOptionalProperty groups are displayed in order starting with the lowest positive integer value. Values of -1 will cause the property group to be displayed after any positive values.
Format: int32
labelstringOptionalA human-readable label that will be shown in HubSpot.

Update a property — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
calculationFormulastringOptionalRepresents a formula that is used to compute a calculated property.
currencyPropertyNamestringOptionalA string specifying the name of the property that holds the currency information, applicable when showCurrencySymbol is true.
descriptionstringOptionalA description of the property that will be shown as help text in HubSpot.
displayOrderintegerOptionalProperties are displayed in order starting with the lowest positive integer value. Values of -1 will cause the Property to be displayed after any positive values.
Format: int32
fieldTypestringOptionalControls how the property appears in HubSpot.
One of: booleancheckbox, calculation_equation, checkbox, date, file, html, number, phonenumber, radio, select, text, textarea
formFieldbooleanOptionalWhether or not the property can be used in a HubSpot form.
groupNamestringOptionalThe name of the property group the property belongs to.
hiddenbooleanOptionalIf true, the property won't be visible and can't be used in HubSpot.
labelstringOptionalA human-readable property label that will be shown in HubSpot.
numberDisplayHintstringOptionalA string providing a hint for displaying number values. Valid values include 'unformatted', 'formatted', 'currency', 'percentage', 'duration', and 'probability'.
One of: currency, duration, formatted, percentage, probability, unformatted
optionsarrayOptionalA list of valid options for the property.
options[]ModelEach itemExpand Create a property — request body — body options item
showCurrencySymbolbooleanOptionalA boolean indicating whether to display a currency symbol for number fields formatted as currency.
textDisplayHintstringOptionalA string providing a hint for displaying text values. Valid values include 'unformatted_single_line', 'multi_line', 'email', 'phone_number', 'domain_name', 'ip_address', 'physical_address', and 'postal_code'.
One of: domain_name, email, ip_address, multi_line, phone_number, physical_address, postal_code, unformatted_single_line
typestringOptionalThe data type of the property.
One of: bool, date, datetime, enumeration, number, phone_number, string

Referenced models: Create a property — request body — body options item

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.