---
title: "ObjectAssociationByObjectTypesAndId (HubSpot)"
description: "Object Association by Object Types and ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/hubspot/Associations.Basic.ObjectAssociationByObjectTypesAndId
original: https://documentation.invantive.eu/en/datamodels/hubspot/Associations.Basic.ObjectAssociationByObjectTypesAndId
updated: 2026-05-19T15:51:43Z
license: https://documentation.invantive.eu/en/
---

# ObjectAssociationByObjectTypesAndId: HubSpot Object Association by Object Types and ID

`read only` `REST`

- Catalog: `Associations`
- Schema: `Basic`
- Label: Object Association by Object Types and ID

Retrieve all associations by object type
Retrieve all associations between a specific record and an object type. Limit 500 per call.

Can only retrieve data.

## API Source

- Endpoint: `/crm/v4/objects/{objectType}/{objectId}/associations/{toObjectType}`
- Operation: `get /crm/v4/objects/{objectType}/{objectId}/associations/{toObjectType}`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `after` | `` | [ ] |  | 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. |
| `objectId` | `` | [x] |  |  |
| `objectType` | `` | [x] |  |  |
| `toObjectType` | `` | [x] |  |  |

## Table Columns

The columns of the table `ObjectAssociationByObjectTypesAndId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `toObjectId` | `varchar2` | itgen_hubspot_toobjectid | [ ] |  | The unique identifier for the target object in the association. |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [HubSpot](/en/release-notes/drivers/hubspot)

