メインコンテンツへスキップ
POST
/
cms
/
v3
/
hubdb
/
tables
/
{tableIdOrName}
/
rows
テーブルに新しい行を追加
curl --request POST \
  --url https://api.hubapi.com/cms/v3/hubdb/tables/{tableIdOrName}/rows \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "childTableId": 123,
  "displayIndex": 123,
  "values": {},
  "name": "<string>",
  "path": "<string>"
}
'
{
  "childTableId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "id": "<string>",
  "name": "<string>",
  "path": "<string>",
  "publishedAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "values": {}
}
次のいずれかの製品またはそれ以上が必要です。
Marketing HubMarketing Hub -Professional
Sales HubSales Hub -無料ツール
Service HubService Hub -無料ツール
Content HubContent Hub -Professional

承認

Authorization
string
header
必須

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

パスパラメータ

tableIdOrName
string
必須

対象テーブルのIDまたは名前。

ボディ

application/json
childTableId
integer<int64>
必須

列の子テーブルIDの値が指定されます

displayIndex
integer<int32>
必須

テーブル内に行を表示するためのインデックスの位置。

values
object
必須

列名と列値が含まれるキー値ペアのリスト

name
string

動的ページのタイトルとして使用される「hs_name」列の値が指定されます

path
string

動的ページのスラッグとして使用される「hs_path」列の値が指定されます

レスポンス

successful operation

childTableId
string
必須

列の子テーブルIDの値が指定されます

createdAt
string<date-time>
必須

行が作成された時点のタイムスタンプ

id
string
必須

テーブル行のID

name
string
必須

動的ページのタイトルとして使用される「hs_name」列の値が指定されます

path
string
必須

動的ページのスラッグとして使用される「hs_path」列の値が指定されます

publishedAt
string<date-time>
必須

行が最後に更新された時点を示すタイムスタンプ(日時形式)。

updatedAt
string<date-time>
必須

行が最後に更新された時点のタイムスタンプ

values
object
必須

列名と列値が含まれるキー値ペアのリスト

Last modified on December 8, 2025