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"
}指定したオブジェクトタイプの新しい関連付け定義を作成します。
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"
}Supported products
The access token received from the authorization server in the OAuth 2.0 flow.
メディアブリッジアプリのappId。メディアブリッジを使用する開発者アカウント内に複数のアプリを持つことが可能です。
定義を作成するオブジェクトタイプ
successful operation
The definition of an association
ソースオブジェクトタイプのID(例:コンタクトの場合は0-1)。
関連付けられたオブジェクトの固有ID(例:コンタクトID)。
ターゲットオブジェクトタイプのID(例:取引の場合は0-3)。
関連付けが作成された時刻のタイムスタンプ(ISO 8601形式)。
ラベル付き関連付けタイプの場合、関連付けの内部名。
ISO 8601形式の関連付けが最後に更新されたときのタイムスタンプ。