List

GET {{baseUrl}}/crm/v4/objects/:objectType/:objectId/associations/:toObjectType?after=<string>&limit=500

List all associations of an object by object type. Limit 500 per call.

Request Params

KeyDatatypeRequiredDescription
afterstringThe paging cursor token of the last successfully read resource will be returned as the paging.next.after JSON property of a paged response containing more results.
limitnumberThe maximum number of results to display per page.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;results&quot;:[{&quot;associationTypes&quot;:[{&quot;category&quot;:&quot;HUBSPOT_DEFINED&quot;,&quot;typeId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;label&quot;:&quot;\u003cstring\u003e&quot;},{&quot;category&quot;:&quot;HUBSPOT_DEFINED&quot;,&quot;typeId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;label&quot;:&quot;\u003cstring\u003e&quot;}],&quot;toObjectId&quot;:&quot;\u003cinteger\u003e&quot;},{&quot;associationTypes&quot;:[{&quot;category&quot;:&quot;INTEGRATOR_DEFINED&quot;,&quot;typeId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;label&quot;:&quot;\u003cstring\u003e&quot;},{&quot;category&quot;:&quot;USER_DEFINED&quot;,&quot;typeId&quot;:&quot;\u003cinteger\u003e&quot;,&quot;label&quot;:&quot;\u003cstring\u003e&quot;}],&quot;toObjectId&quot;:&quot;\u003cinteger\u003e&quot;}],&quot;paging&quot;:{&quot;next&quot;:{&quot;after&quot;:&quot;\u003cstring\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;}}}