# Custom Objects (Unique Key)

**URL:** <https://community.hubspot.com/t/custom-objects-unique-key/73870>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [January 26, 2023, 8:52pm UTC](https://community.hubspot.com/t/custom-objects-unique-key/73870 "2023-01-26T20:52:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaleperez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kaleperez/32/69256_2.png) [@kaleperez](https://community.hubspot.com/u/kaleperez)\
**Post date:** [January 26, 2023, 8:52pm UTC](https://community.hubspot.com/t/custom-objects-unique-key/73870/1 "2023-01-26T20:52:57Z")

</div>

Hi,

How can I include or convert a property as unique key in the custom objects?. I need to avoid a duplicate records in the custom object and I don’t know how can I do this.

Can I do something like the “Email” property in the “Contact” object?. The HubSpot don’t allow to include two contact with the same email.

Thanks in advanced,

Kale

---

<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:** [January 27, 2023, 5:40pm UTC](https://community.hubspot.com/t/custom-objects-unique-key/73870/2 "2023-01-27T17:40:17Z")

</div>

Hi, @kaleperez 👋 I think this one will come down to, _it depends…_ Can you tell the community a bit more about your goal?

Are you needing a unique idenditfier for your custom object _only_ for doing imports? In the past you were limited to record ID, but there was a public beta released in Dec 2022 that added new functionality.

Here are some links to get you started:

- [Unique identifier — Custom unique value property](https://knowledge.hubspot.com/crm-setup/set-up-your-import-file#file-requirements:~:text=Custom%20unique%20value%20property)
- [Custom unique value property](https://knowledge.hubspot.com/crm-setup/import-objects#:~:text=Custom%20unique%20value%20property)

You can find the full beta details in your portal by doing the following:

- Click the account dropdown in the upper right hand side of your portal
- Click Product Updates
- Change the date range to _last year_ (as this update was from 12/2022)
- Search for _unique_

 ![CleanShot 2023-01-27 at 10.35.48.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/1/9/19315dd08c9c5195dbadbb33df966fd06b31821b.png)

If this is not what you are after, please add more details.

Have fun building!

---

<div class="post-metadata">

**Author:** ![kaleperez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kaleperez/32/69256_2.png) [@kaleperez](https://community.hubspot.com/u/kaleperez)\
**Post date:** [January 27, 2023, 6:00pm UTC](https://community.hubspot.com/t/custom-objects-unique-key/73870/3 "2023-01-27T18:00:44Z")

</div>

Thanks Jaycee,

How I can include as unique values an existing property?. In HS says that I can’t, but there is any way that I can do this, I don’t know, using the API.

I used this property in multiple steps, workflow, APIs and created a new property with the same information could be very complicated.

Thanks,

Kale
