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
Key | Datatype | Required | Description |
---|---|---|---|
after | string | The 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. | |
limit | number | The maximum number of results to display per page. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"results":[{"associationTypes":[{"category":"HUBSPOT_DEFINED","typeId":"\u003cinteger\u003e","label":"\u003cstring\u003e"},{"category":"HUBSPOT_DEFINED","typeId":"\u003cinteger\u003e","label":"\u003cstring\u003e"}],"toObjectId":"\u003cinteger\u003e"},{"associationTypes":[{"category":"INTEGRATOR_DEFINED","typeId":"\u003cinteger\u003e","label":"\u003cstring\u003e"},{"category":"USER_DEFINED","typeId":"\u003cinteger\u003e","label":"\u003cstring\u003e"}],"toObjectId":"\u003cinteger\u003e"}],"paging":{"next":{"after":"\u003cstring\u003e","link":"\u003cstring\u003e"}}}