Skip to main content
RelationsVersion: v3

Get all relations By record Id

GET/associations/relations/{recordId}

Get all relations by record Id

Authorizations

Authorizationstringheaderrequired

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

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

Request​

Headers

Versionstringrequired

API Version

Available optionsv3

Path Parameters

recordIdstringrequired

Query Parameters

locationIdstringrequired

Your Sub Account's ID

Example:clF1LD04GTUKN3b3XuOj
skipnumberrequired
Example:10
limitnumberrequired
Example:100
associationIdsstring[]

Association Ids

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