post-crm-v3-properties-objtype_objtype
Creates a new custom property for a specified object type (e.g., contact, company, deal) in HubSpot CRM. Define property details like label, type, and options.
Instructions
Create a property. REQUIRES body parameter with request data. Check the inputSchema for required body structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The internal property name, which must be used when referencing the property via the API. | |
| type | Yes | The data type of the property. | |
| label | Yes | A human-readable property label that will be shown in HubSpot. | |
| hidden | No | If true, the property won't be visible and can't be used in HubSpot. | |
| options | No | A list of valid options for the property. This field is required for enumerated properties. | |
| fieldType | Yes | Controls how the property appears in HubSpot. | |
| formField | No | Whether or not the property can be used in a HubSpot form. | |
| groupName | Yes | The name of the property group the property belongs to. | |
| objectType | Yes | Path parameter objectType | |
| description | No | A description of the property that will be shown as help text in HubSpot. | |
| displayOrder | No | Properties 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. | |
| hasUniqueValue | No | Whether or not the property's value must be unique. Once set, this can't be changed. | |
| externalOptions | No | Applicable only for 'enumeration' type properties. Should be set to true in conjunction with a 'referencedObjectType' of 'OWNER'. Otherwise false. | |
| calculationFormula | No | Represents a formula that is used to compute a calculated property. | |
| referencedObjectType | No | Should be set to 'OWNER' when 'externalOptions' is true, which causes the property to dynamically pull option values from the current HubSpot users. |