Skip to main content
AssociationsVersion: v3

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

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your access token.

Scope:associations.readonly
Auth methods:OAuthPrivate Integration
Token type:Sub-Account Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3

Path Parameters

objectKeystring
Example:custom_objects.car

Query Parameters

locationIdstring
Example:ve9EPM428h8vShlRW1KT

Response

Successful response

locationIdstringrequired
Example:string
idstringrequired
Example:ve9EPM428h8vShlRW1KT
keystringrequired

First Objects Association Label (custom_objects.children)

Example:student
firstObjectLabelobjectrequired

First Objects Association Label (custom_objects.children)

Example:student
firstObjectKeyobjectrequired

First Objects Key

Example:custom_objects.children
secondObjectLabelobjectrequired

Second Object Association Label (contact)

Example:Teacher
secondObjectKeyobjectrequired

Second Objects Key

Example:contact
associationTypeobjectrequired

Association Type can be USER_DEFINED or SYSTEM_DEFINED

Example:USER_DEFINED