# Duplicate Fields Between - id/createdAt/updatedAt and properties

**URL:** <https://community.hubspot.com/t/duplicate-fields-between-id-createdat-updatedat-and-properties/52128>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [February 24, 2022, 7:41pm UTC](https://community.hubspot.com/t/duplicate-fields-between-id-createdat-updatedat-and-properties/52128 "2022-02-24T19:41:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![IntegrationDev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/integrationdev/32/1529_2.png) [@IntegrationDev](https://community.hubspot.com/u/IntegrationDev)\
**Post date:** [February 24, 2022, 7:41pm UTC](https://community.hubspot.com/t/duplicate-fields-between-id-createdat-updatedat-and-properties/52128/1 "2022-02-24T19:41:08Z")

</div>

Hi,

When I fetch an entities, say a contact, I receive back a response along the lines of:

```lia-code-sample
{
 "id": "1",
 "properties": {
 "createdate": "2021-05-06T13:22:48.122Z",
 "email": "joe@example.com",
 "firstname": "Joe",
 "hs_object_id": "1",
 "lastmodifieddate": "2022-02-16T23:38:15.901Z",
 "lastname": "Smith"
 },
 "createdAt": "2021-05-06T13:22:48.122Z",
 "updatedAt": "2022-02-16T23:38:15.901Z",
 "archived": false
}

```

The top level fields **id** , **createdAt** and **updatedAt** appear to be exact duplicates of **properties.hs\_object\_id** , **properties.createdate** and **properties.lastmodifieddate**.

Per [https://community.hubspot.com/t5/APIs-Integrations/contact-ID-vs-hs-object-id-in-Zapier/m-p/380534,](https://community.hubspot.com/t5/APIs-Integrations/contact-ID-vs-hs-object-id-in-Zapier/m-p/380534) I understand that **id** should be used instead of **properties.hs\_object\_id** (the latter field should instead be ignored).

What about the create and update dates? Can I safely use either the top-level fields ( **createdAt** and **updatedAt** ) or those in properties ( **properties.createdat** and **properties.lastmodifieddate** )? Should I only look at these two top-level fields and ignore the two under properties?

Thank you,

Ben

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [February 25, 2022, 9:09pm UTC](https://community.hubspot.com/t/duplicate-fields-between-id-createdat-updatedat-and-properties/52128/2 "2022-02-25T21:09:30Z")

</div>

Hey @IntegrationDev

**createdAt** vs **properties.**** createDate. **The first is when the creation of the record was triggered and the second is when the creatioin process has completed. This would be relevant for a form submission which might have some lag. I do not believe there is any difference between the** updatedAt **and** props.lastmodifieddate**

I would stick to what is within the props object

---

<div class="post-metadata">

**Author:** ![IntegrationDev](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/integrationdev/32/1529_2.png) [@IntegrationDev](https://community.hubspot.com/u/IntegrationDev)\
**Post date:** [February 28, 2022, 1:07pm UTC](https://community.hubspot.com/t/duplicate-fields-between-id-createdat-updatedat-and-properties/52128/3 "2022-02-28T13:07:04Z")

</div>

Thank you very much, @dennisedson!
