associations_create_relation
Create associations between records in GoHighLevel by specifying association ID and the two record IDs. Use this tool to link entities like contacts and custom objects.
Instructions
Create Relation for you associated entities.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locationId | No | Your Sub Account's ID Defaults to GHL_LOCATION_ID when omitted. | |
| associationId | Yes | Association's Id | |
| firstRecordId | Yes | First 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 | |
| secondRecordId | Yes | Second 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 |