メインコンテンツへスキップ
POST
/
crm
/
v3
/
properties
/
{objectType}
/
groups
プロパティーグループを作成
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"
}
'
{
  "createdResourceId": "<string>",
  "entity": {
    "displayOrder": -1,
    "label": "My Property Group",
    "name": "mypropertygroup"
  },
  "location": "<string>"
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -無料ツール
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -無料ツール

承認

Authorization
string
header
必須

The access token received from the authorization server in the OAuth 2.0 flow.

パスパラメータ

objectType
string
必須

ボディ

application/json
label
string
必須

HubSpotに表示される、人間が読めるラベル。

name
string
必須

このAPIを使用してプロパティーグループを参照する際に使用する必要がある内部プロパティーグループ名。

displayOrder
integer<int32>

プロパティーグループは、最も小さい正の整数値を先頭に表示されます。「-1」という値にすると、そのプロパティーグループは全ての正の値よりも後に表示されます。

レスポンス

successful operation

createdResourceId
string
必須
entity
object
必須

An ID for a group of properties

:
{
"displayOrder": -1,
"label": "My Property Group",
"name": "mypropertygroup"
}
location
string
Last modified on December 8, 2025