There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API keys are no longer a supported authentication method for accessing HubSpot APIs. Instead, you should use a private app access token or OAuth to authenticate API calls. Learn more about this change and how to migrate an API key integration to use a private app instead.

Create a Company Property Group

Last updated May 31, 2023

POST /properties/v1/companies/groups/

Method Details

HTTP Methods:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

Marketing & CRM

Required Scope:

crm.schemas.companies.write

Create a new company property group. Property groups allow you to more easily manage properties in a given portal and make contact records easier to parse for the user. If your integration is creating company properties, it's a good practice to create a new property group to include all of the properties you create.

Required Parameters How to use Description
OAuth access token or private app access token Authorization: Bearer {token} header Used to authenticate the request. Please see this page for more details about authentication.
Group Name "name": {name}
Used in the request body
The internal name of the property group. Each group must have a unique name. The name must be used whenever the group is referenced using the API.
Display Name "displayName": {display name}
Used in the request body
The displayed name of the group. The display name is used when displaying the group in the HubSpot app.
Optional Parameters How to use Description
Display Order "displayOrder": {display order}
Used in the request body
The order of the group. When viewing company properties in HubSpot, groups are ordered in ascending order based on this value. Values of '-1' are ordered in the order they were created, after groups with positive values.