Zum Hauptinhalt springen
GET
/
crm
/
v4
/
objects
/
{objectType}
/
{objectId}
/
associations
/
{toObjectType}
Retrieve all associations by object type
curl --request GET \
  --url https://api.hubapi.com/crm/v4/objects/{objectType}/{objectId}/associations/{toObjectType} \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "associationTypes": [
        {
          "category": "HUBSPOT_DEFINED",
          "typeId": 123,
          "label": "<string>"
        }
      ],
      "toObjectId": "<string>"
    }
  ],
  "paging": {
    "next": {
      "after": "<string>",
      "link": "<string>"
    }
  }
}

Supported products

Autorisierungen

Authorization
string
header
erforderlich

The access token received from the authorization server in the OAuth 2.0 flow.

Pfadparameter

objectId
string
erforderlich
objectType
string
erforderlich
toObjectType
string
erforderlich

Abfrageparameter

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
integer<int32>
Standard:500

The maximum number of results to display per page.

Antwort

successful operation

results
object[]
erforderlich
paging
object
Last modified on April 9, 2026