v4

latestOpenAPI 3.0.12026-07-131437115.0 KB
Basic

put/crm/objects/2026-09/{objectType}/{objectId}/associations/{toObjectType}/{toObjectId}

Path parameters

objectIdstring required
objectTypestring required
toObjectIdstring required
toObjectTypestring required

Request body

associationCategory'HUBSPOT_DEFINED' | 'INTEGRATOR_DEFINED' | 'USER_DEFINED' | 'WORK' required

The category of the association, such as "HUBSPOT_DEFINED".

associationTypeIdinteger required

The ID representing the specific type of association.

Response

successful operation

fromObjectIdstring required

The ID of the originating object in the relationship.

fromObjectTypeIdstring required

The type ID of the originating object in the relationship.

labelsstring[] required

A list of labels describing the relationship between the objects.

toObjectIdstring required

The ID of the target object in the relationship.

toObjectTypeIdstring required

The type ID of the target object in the relationship.