メインコンテンツへスキップ
POST
/
media-bridge
/
2026-03
/
{appId}
/
schemas
/
{objectType}
/
associations
関連付け定義を作成
curl --request POST \
  --url https://api.hubapi.com/media-bridge/2026-03/{appId}/schemas/{objectType}/associations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "fromObjectTypeId": "<string>",
  "toObjectTypeId": "<string>",
  "name": "<string>"
}
'
{
  "fromObjectTypeId": "<string>",
  "id": "<string>",
  "toObjectTypeId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Documentation Index

Fetch the complete documentation index at: https://developers.hubspot.jp/docs/llms.txt

Use this file to discover all available pages before exploring further.

Supported products

承認

Authorization
string
header
必須

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

パスパラメータ

appId
integer<int32>
必須

メディアブリッジアプリのappId。メディアブリッジを使用する開発者アカウント内に複数のアプリを持つことが可能です。

objectType
string
必須

定義を作成するオブジェクトタイプ

ボディ

application/json
fromObjectTypeId
string
必須
toObjectTypeId
string
必須
name
string

レスポンス

successful operation

The definition of an association

fromObjectTypeId
string
必須

ソースオブジェクトタイプのID(例:コンタクトの場合は0-1)。

id
string
必須

関連付けられたオブジェクトの固有ID(例:コンタクトID)。

toObjectTypeId
string
必須

ターゲットオブジェクトタイプのID(例:取引の場合は0-3)。

createdAt
string<date-time>

関連付けが作成された時刻のタイムスタンプ(ISO 8601形式)。

name
string

ラベル付き関連付けタイプの場合、関連付けの内部名。

updatedAt
string<date-time>

ISO 8601形式の関連付けが最後に更新されたときのタイムスタンプ。

Last modified on April 13, 2026