curl --request POST \
--url https://api.hubapi.com/properties/v2/{object_type}/groups \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"displayName": "<string>",
"displayOrder": 123
}
'{
"name": "<string>",
"displayName": "<string>",
"displayOrder": 123,
"hubspotDefined": true,
"portalId": 123
}Create a new property group for the specified object type. Property groups are used to keep related properties grouped together when viewing records in HubSpot.
curl --request POST \
--url https://api.hubapi.com/properties/v2/{object_type}/groups \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"displayName": "<string>",
"displayOrder": 123
}
'{
"name": "<string>",
"displayName": "<string>",
"displayOrder": 123,
"hubspotDefined": true,
"portalId": 123
}Scope requirements
The specific type of CRM object to create the property group for. You can use the object name (e.g., contacts) or the objectTypeId (e.g., 0-1).
Object property group created successfully
Was this page helpful?