# Get recently modified entries from a custom object

**URL:** <https://community.hubspot.com/t/get-recently-modified-entries-from-a-custom-object/48160>\
**Category:** APIs & Integrations\
**Tags:** developer-tools, contacts, timeline-and-extensions-apis\
**Created:** [December 7, 2021, 8:44pm UTC](https://community.hubspot.com/t/get-recently-modified-entries-from-a-custom-object/48160 "2021-12-07T20:44:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yel-o](https://avatars.discourse-cdn.com/v4/letter/y/958977/32.png) [@Yel-o](https://community.hubspot.com/u/Yel-o)\
**Post date:** [December 7, 2021, 8:44pm UTC](https://community.hubspot.com/t/get-recently-modified-entries-from-a-custom-object/48160/1 "2021-12-07T20:44:03Z")

</div>

Hi there,

Just as the subject says, I read that we have to use the Search to sort by their last modified date. We’re looking to see if I can set a value to the last modified date like get the results of those last modified in the last hour or so. Is that possible? This is currently what I have written in Postman.

 ![Yelo_1-1638909766304.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/d/f/df2ffa0092013e2a4cf1a15091bfdd00210721a7.png)

---

<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:** [December 8, 2021, 4:33pm UTC](https://community.hubspot.com/t/get-recently-modified-entries-from-a-custom-object/48160/2 "2021-12-08T16:33:56Z")

</div>

@Yel-o 👋

You should be able to do this. Make sure you convert your timestamp to a unix timestamp format in milliseconds.

Here is an example json body

```lia-code-sample
{
 "filters": [
 {
 "value": "1638981000000",
 "propertyName": "hs_lastmodifieddate",
 "operator": "GT"
 }

 ]
}

```

---

<div class="post-metadata">

**Author:** ![Yel-o](https://avatars.discourse-cdn.com/v4/letter/y/958977/32.png) [@Yel-o](https://community.hubspot.com/u/Yel-o)\
**Post date:** [December 8, 2021, 5:04pm UTC](https://community.hubspot.com/t/get-recently-modified-entries-from-a-custom-object/48160/3 "2021-12-08T17:04:58Z")

</div>

Thank you, dennisedson! Can’t believe it was that easy. That worked perfectly
