Create Custom Field
Request body
Example request
{
"object_type_owner": "company",
"name": "my_favorite_dish",
"description": "Favorite Dish",
"data_type": "string",
"source_custom_field_id": "id_1",
"source_provider": "hubspot",
"linked_user_id": "801f9ede-c698-4e66-a7fc-48d19eebaa4f"
}Response
Example response
{
"id_attribute": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"slug": "fav_dish",
"description": "My favorite dish",
"data_type": "string",
"remote_id": "id_1",
"source": "hubspot",
"id_entity": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"id_project": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"id_consumer": "801f9ede-c698-4e66-a7fc-48d19eebaa4f",
"created_at": "2024-10-01T12:00:00Z",
"modified_at": "2024-10-01T12:00:00Z"
}Changes
Changed in 5 of the 18 revisions of this API.3221
- ▲
request property
data_typewas restricted to a list of enum valuesrequest-property-became-enum
- ▲
request property
object_type_ownerwas restricted to a list of enum valuesrequest-property-became-enum
- ●
added the new
numberenum value to thedata_typeresponse property for the response status201response-property-enum-value-added
- ●
added the new
stringenum value to thedata_typeresponse property for the response status201response-property-enum-value-added
- ○
added the new
companyenum value to the request propertyobject_type_ownerrequest-property-enum-value-added
- ○
added the new
contactenum value to the request propertyobject_type_ownerrequest-property-enum-value-added
- ○
added the new
dealenum value to the request propertyobject_type_ownerrequest-property-enum-value-added
- ○
added the new
engagementenum value to the request propertyobject_type_ownerrequest-property-enum-value-added
- ○
added the new
leadenum value to the request propertyobject_type_ownerrequest-property-enum-value-added
- ○
added the new
noteenum value to the request propertyobject_type_ownerrequest-property-enum-value-added
- ○
added the new
numberenum value to the request propertydata_typerequest-property-enum-value-added
- ○
added the new
stageenum value to the request propertyobject_type_ownerrequest-property-enum-value-added
- ○
added the new
stringenum value to the request propertydata_typerequest-property-enum-value-added
- ○
added the new
taskenum value to the request propertyobject_type_ownerrequest-property-enum-value-added
- ○
added the new
userenum value to the request propertyobject_type_ownerrequest-property-enum-value-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 8 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
the request property
data_typebecame nullablerequest-property-became-nullable
- ○
the request property
descriptionbecame nullablerequest-property-became-nullable
- ○
the request property
linked_user_idbecame nullablerequest-property-became-nullable
- ○
the request property
namebecame nullablerequest-property-became-nullable
- ○
the request property
object_type_ownerbecame nullablerequest-property-became-nullable
- ○
the request property
source_custom_field_idbecame nullablerequest-property-became-nullable
- ○
the request property
source_providerbecame nullablerequest-property-became-nullable
- ○
added the media type
application/jsonfor the response with the status201response-media-type-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
endpoint added
endpoint-added
- ○