POST
/
properties
/
v1
/
companies
/
groups
Create a Company Property Group
curl --request POST \
  --url https://api.hubapi.com/properties/v1/companies/groups \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "displayName": "<string>",
  "displayOrder": 123
}'
{
  "name": "<string>",
  "displayName": "<string>",
  "displayOrder": 123,
  "hubspotDefined": true,
  "properties": [
    {
      "name": "<string>",
      "label": "<string>",
      "description": "<string>",
      "groupName": "<string>",
      "type": "string",
      "fieldType": "textarea",
      "options": [
        {
          "description": "<string>",
          "label": "<string>",
          "value": "<string>",
          "displayOrder": 123,
          "hidden": true,
          "readOnly": true,
          "doubleData": 123
        }
      ],
      "displayOrder": 123,
      "formField": true,
      "readOnlyValue": true,
      "readOnlyDefinition": true,
      "hidden": true,
      "mutableDefinitionNotDeletable": true,
      "favorited": true,
      "favoritedOrder": 123,
      "calculated": true,
      "externalOptions": true,
      "displayMode": "<string>",
      "createdUserId": 123,
      "updatedUserId": 123
    }
  ]
}

Body

application/json

Response

201 - application/json

Company property group created successfully

The response is of type object.