# Associations v4 endpoints disappeared from OpenAPI spec and Python SDK

**URL:** <https://community.hubspot.com/t/associations-v4-endpoints-disappeared-from-openapi-spec-and-python-sdk/79513>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [April 18, 2023, 8:35am UTC](https://community.hubspot.com/t/associations-v4-endpoints-disappeared-from-openapi-spec-and-python-sdk/79513 "2023-04-18T08:35:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RaduG](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@RaduG](https://community.hubspot.com/u/RaduG)\
**Post date:** [April 18, 2023, 8:35am UTC](https://community.hubspot.com/t/associations-v4-endpoints-disappeared-from-openapi-spec-and-python-sdk/79513/1 "2023-04-18T08:35:38Z")

</div>

Hi,

It looks like in the latest version of the OpenAPI spec, the following endpoints (at least) are no longer available:

GET /crm/v4/objects/companies/{companyId}/associations/{toObjectType}

PUT,DELETE /crm/v4/objects/companies/{companyId}/associations/{toObjectType}/{toObjectId}

GET

/crm/v4/objects/contacts/{contactId}/associations/{toObjectType}

PUT, DELETE /crm/v4/objects/contacts/{contactId}/associations/{toObjectType}/{toObjectId}

GET /crm/v4/objects/deals/{dealId}/associations/{toObjectType}

PUT,DELETE /crm/v4/objects/deals/{dealId}/associations/{toObjectType}/{toObjectId}

This also seems to be the case in the [latest Python SDK based on the changelog.](https://github.com/HubSpot/hubspot-api-python/blob/master/CHANGELOG.md)

Is this a planned change or an error? The endpoints still work, they’re just not specced.

---

<div class="post-metadata">

**Author:** ![JGAlves96](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@JGAlves96](https://community.hubspot.com/u/JGAlves96)\
**Post date:** [April 18, 2023, 3:02pm UTC](https://community.hubspot.com/t/associations-v4-endpoints-disappeared-from-openapi-spec-and-python-sdk/79513/2 "2023-04-18T15:02:43Z")

</div>

This is an urgent issue, our data pipelines stopped because of that

---

<div class="post-metadata">

**Author:** ![RaduG](https://avatars.discourse-cdn.com/v4/letter/r/e480ec/32.png) [@RaduG](https://community.hubspot.com/u/RaduG)\
**Post date:** [April 24, 2023, 1:58pm UTC](https://community.hubspot.com/t/associations-v4-endpoints-disappeared-from-openapi-spec-and-python-sdk/79513/3 "2023-04-24T13:58:28Z")

</div>

Any help?
