POST
/
media-bridge
/
v1
/
{appId}
/
schemas
/
{objectType}
/
associations
Create association definition
curl --request POST \
  --url https://api.hubapi.com/media-bridge/v1/{appId}/schemas/{objectType}/associations \
  --header 'Content-Type: application/json' \
  --data '{
  "fromObjectTypeId": "<string>",
  "name": "<string>",
  "toObjectTypeId": "<string>"
}'
{
  "createdAt": "2023-11-07T05:31:56Z",
  "fromObjectTypeId": "",
  "name": "",
  "id": "",
  "toObjectTypeId": "",
  "updatedAt": "2023-11-07T05:31:56Z"
}
Supported products
Requires one of the following products or higher.
Marketing HubMarketing HubFree
Sales HubSales HubFree
Service HubService HubFree
Content HubContent HubFree

Authorizations

hapikey
string
query
required

Body

application/json

Response

201
application/json

successful operation

The definition of an association