curl --request POST \
--url https://api.hubapi.com/crm/v3/properties/{objectType}/groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayOrder": -1,
"label": "My Property Group",
"name": "mypropertygroup"
}
'{
"displayOrder": -1,
"label": "My Property Group",
"name": "mypropertygroup"
}Create and return a copy of a new property group.
curl --request POST \
--url https://api.hubapi.com/crm/v3/properties/{objectType}/groups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayOrder": -1,
"label": "My Property Group",
"name": "mypropertygroup"
}
'{
"displayOrder": -1,
"label": "My Property Group",
"name": "mypropertygroup"
}Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
A human-readable label that will be shown in HubSpot.
The internal property group name, which must be used when referencing the property group via the API.
Property 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.
successful operation
An ID for a group of properties
Indicates whether the property group is archived.
Property 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.
A human-readable label that will be shown in HubSpot.
The internal property group name, which must be used when referencing the property group via the API.
Was this page helpful?