curl --request GET \
--url https://services.leadconnectorhq.com/associations/{associationId} \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"locationId": "string",
"id": "ve9EPM428h8vShlRW1KT",
"key": "student",
"firstObjectLabel": "student",
"firstObjectKey": "custom_objects.children",
"secondObjectLabel": "Teacher",
"secondObjectKey": "contact",
"associationType": "USER_DEFINED"
}Using this api you can get SYSTEM_DEFINED / USER_DEFINED association by id
curl --request GET \
--url https://services.leadconnectorhq.com/associations/{associationId} \
--header 'Authorization: Bearer <token>' \
--header 'Version: <version>'{
"locationId": "string",
"id": "ve9EPM428h8vShlRW1KT",
"key": "student",
"firstObjectLabel": "student",
"firstObjectKey": "custom_objects.children",
"secondObjectLabel": "Teacher",
"secondObjectKey": "contact",
"associationType": "USER_DEFINED"
}Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-07-28 Successful response
"string"
"ve9EPM428h8vShlRW1KT"
First Objects Association Label (custom_objects.children)
"student"
First Objects Association Label (custom_objects.children)
"student"
First Objects Key
"custom_objects.children"
Second Object Association Label (contact)
"Teacher"
Second Objects Key
"contact"
Association Type can be USER_DEFINED or SYSTEM_DEFINED
"USER_DEFINED"
Was this page helpful?