Skip to main content
Version: v3

Create Relation for you associated entities.

POST 

/associations/relations

Create Relation.Documentation Link - https://doc.clickup.com/8631005/d/h/87cpx-293776/cd0f4122abc04d3

Request

Version stringrequired

API Version

Available optionsv3
application/json

Bodyrequired

    locationIdstringrequired

    Your Sub Account's ID

    associationIdstringrequired

    Association's Id

    firstRecordIdstringrequired

    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

    secondRecordIdstringrequired

    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

application/json

Successful response

Schema
    locationIdstringrequired
    idstringrequired
    keystringrequired

    First Objects Association Label (custom_objects.children)

    firstObjectLabelobjectrequired

    First Objects Association Label (custom_objects.children)

    firstObjectKeyobjectrequired

    First Objects Key

    secondObjectLabelobjectrequired

    Second Object Association Label (contact)

    secondObjectKeyobjectrequired

    Second Objects Key

    associationTypeobjectrequired

    Association Type can be USER_DEFINED or SYSTEM_DEFINED