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 deal property group

Last updated May 31, 2023

POST /properties/v1/deals/groups/

Method Details

HTTP Methods:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Rate Limited?

Yes

Headers

User-Agent

Products:

CRM

Required Scope:

crm.schemas.deals.write

Create a new deal property group to gather like deal-level data. Property groups allow you to more easily manage properties in a given account and make contact records easier to parse for the user.

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.
Property Group JSON Used in the request body Defines the property group and any properties within it.
Optional Parameters How to use Description
Properties Used in the request body The properties that you want to include in your new custom property group.

Example URL to POST to:  http://api.hubapi.com/properties/v1/deals/groups

Note: Your "Content-Type" must be application/json.

Note This replaces the deprecated URL POST /deals/v1/groups/