# Is Record ID unique among different objects?

**URL:** <https://community.hubspot.com/t/is-record-id-unique-among-different-objects/71757>\
**Category:** CRM\
**Tags:** developer-tools, webhooks\
**Created:** [December 22, 2022, 8:40pm UTC](https://community.hubspot.com/t/is-record-id-unique-among-different-objects/71757 "2022-12-22T20:40:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![aparisi](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@aparisi](https://community.hubspot.com/u/aparisi)\
**Post date:** [December 22, 2022, 8:40pm UTC](https://community.hubspot.com/t/is-record-id-unique-among-different-objects/71757/1 "2022-12-22T20:40:22Z")

</div>

Hi, HubSpot community!

I was wondering if the record ID is unique across all the different object types.

In other words, can a Company and a Contact have the same record id?

I guess they can’t, but I wanted to double check.

Thanks in advance!

Adrian

---

<div class="post-metadata">

**Author:** ![franksteiner79](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/franksteiner79/32/34443_2.png) [@franksteiner79](https://community.hubspot.com/u/franksteiner79)\
**Post date:** [December 26, 2022, 2:58pm UTC](https://community.hubspot.com/t/is-record-id-unique-among-different-objects/71757/2 "2022-12-26T14:58:25Z")

</div>

Hi Adrian  
I found this in the developer documentation (  
[Understanding the CRM APIs - HubSpot docs](https://developers.hubspot.com/docs/api/crm/understanding-the-crm))  
“When a record is created in HubSpot, a unique ID is automatically  
generated and should be treated as a string. These IDs are unique only  
within the object type, so there can be both a contact and company with the  
same ID.”  
Frank

---

<div class="post-metadata">

**Author:** ![aparisi](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@aparisi](https://community.hubspot.com/u/aparisi)\
**Post date:** [December 26, 2022, 3:58pm UTC](https://community.hubspot.com/t/is-record-id-unique-among-different-objects/71757/3 "2022-12-26T15:58:09Z")

</div>

Thanks, @franksteiner79

fyi @DianaGomez

---

<div class="post-metadata">

**Author:** ![DianaGomez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dianagomez/32/48035_2.png) [@DianaGomez](https://community.hubspot.com/u/DianaGomez)\
**Post date:** [December 26, 2022, 4:23pm UTC](https://community.hubspot.com/t/is-record-id-unique-among-different-objects/71757/4 "2022-12-26T16:23:52Z")

</div>

Fantastic @franksteiner79 😁 Thanks for sharing 😊
