Get association by object keys
GET/associations/objectKey/:objectKey
Get association by object keys like contacts, custom objects and opportunities. Documentation Link - https://doc.clickup.com/8631005/d/h/87cpx-293776/cd0f4122abc04d3
Request
Version stringrequired
API Version
Available options
v3objectKey string
locationId string
Successful response
- application/json
- Schema
- Example (auto)
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
{
"locationId": "string",
"id": "ve9EPM428h8vShlRW1KT",
"key": "student",
"firstObjectLabel": "student",
"firstObjectKey": "custom_objects.children",
"secondObjectLabel": "Teacher",
"secondObjectKey": "contact",
"associationType": "USER_DEFINED"
}