There's a new version of the HubSpot API

As of November 30, 2022, HubSpot API Keys are being deprecated and are no longer supported. Continued use of HubSpot API Keys is a security risk to your account and data. Your API Keys could be deactivated at any time after Nov. 30th, and we recommend that you migrate to Private Apps as soon as possible so you do not lose business-critical functionality.

Create a deal property group

Last updated June 17, 2020

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 API Key Authorization: Bearer {token} header
or hapikey={key} query parameter.
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?hapikey=demo

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

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