Skip to content

HighLevel: Associations schemas

5 HighLevel schemas with complete fields and constraints.

← Associations operations · All schemas

Create Association — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
firstObjectKeyobjectRequired within parentFirst Objects Key
firstObjectLabelobjectRequired within parentFirst Objects Association Label (custom_objects.children)
keystringRequired within parentAssociation's Unique key
locationIdstringRequired within parent
secondObjectKeyobjectRequired within parentSecond Objects Key
secondObjectLabelobjectRequired within parentSecond Object Association Label (contact)

Create Relation for you associated entities — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
associationIdstringRequired within parentAssociation's Id
firstRecordIdstringRequired within parentFirst Record's Id. For instance, if you have an association between a contact and a custom object, and you specify the contact as the first object while creating the association, then your firstRecordId would be the contactId
locationIdstringRequired within parentYour Sub Account's ID
secondRecordIdstringRequired within parentSecond Record's Id.For instance, if you have an association between a contact and a custom object, and you specify the custom object as the second entity while creating the association, then your secondRecordId would be the customObject record Id

Delete Association — response body

FieldTypePresenceDescription and constraints
$objectRoot
deletedbooleanRequired within parentDeletion status
idstringRequired within parentAssociation Id
messagestringRequired within parent

Delete Relation — response body

FieldTypePresenceDescription and constraints
$objectRoot
associationTypeobjectRequired within parentAssociation Type can be USER_DEFINED or SYSTEM_DEFINED
firstObjectKeyobjectRequired within parentFirst Objects Key
firstObjectLabelobjectRequired within parentFirst Objects Association Label (custom_objects.children)
idstringRequired within parent
keystringRequired within parentFirst Objects Association Label (custom_objects.children)
locationIdstringRequired within parent
secondObjectKeyobjectRequired within parentSecond Objects Key
secondObjectLabelobjectRequired within parentSecond Object Association Label (contact)

Update Association By Id — request body — body

FieldTypePresenceDescription and constraints
$objectRoot
firstObjectLabelobjectRequired within parent
secondObjectLabelobjectRequired within parent

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.