# Where to locate ObjectID?

**URL:** <https://community.hubspot.com/t/where-to-locate-objectid/59646>\
**Category:** APIs & Integrations\
**Created:** [June 23, 2022, 1:09pm UTC](https://community.hubspot.com/t/where-to-locate-objectid/59646 "2022-06-23T13:09:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rufaiomotayo](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@rufaiomotayo](https://community.hubspot.com/u/rufaiomotayo)\
**Post date:** [June 23, 2022, 1:09pm UTC](https://community.hubspot.com/t/where-to-locate-objectid/59646/1 "2022-06-23T13:09:39Z")

</div>

Hello, I am trying to change a compnay to comany association using the Hubspot API, but one of the paramaters for the API call is toObjectId. I am not sure where I can find a companyy’s object id, I do not see it under the all properties tab on Hubspot.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [June 23, 2022, 5:06pm UTC](https://community.hubspot.com/t/where-to-locate-objectid/59646/2 "2022-06-23T17:06:06Z")

</div>

Hey, @rufaiomotayo 👋 Thanks for reaching out. For ObjectID, we can find this information in two ways:

- if you are looking in the _All Properties_ section of a specific Company record, the property is Company ID
- we can also find this same ID in the URL for the record

 ![object_ID.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/c/cac68d5be396c07dcdb71a15b587648699a89e8b.png)

Best,

Jaycee
