# Data Pull using filterGroups

**URL:** <https://community.hubspot.com/t/data-pull-using-filtergroups/113001>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [July 26, 2024, 4:41pm UTC](https://community.hubspot.com/t/data-pull-using-filtergroups/113001 "2024-07-26T16:41:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SFriesen](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@SFriesen](https://community.hubspot.com/u/SFriesen)\
**Post date:** [July 26, 2024, 4:41pm UTC](https://community.hubspot.com/t/data-pull-using-filtergroups/113001/1 "2024-07-26T16:41:03Z")

</div>

I am trying to pull contacts using filterGroups but the request is not pull any data. I know that there have been updates since the last modified date that I am using. Here are the details of the request.

[https://api.hubapi.com/crm/v3/objects/contacts/search](https://api.hubapi.com/crm/v3/objects/contacts/search)  
Body of request:

```lia-code-sample
{
 "filterGroups": [
 {
 "filters": [
 {
 "propertyName": "hs_lastmodifieddate",
 "operator": "GTE",
 "value": "1720280649000"
 }
 ]
 }
 ],
 "properties": [
 "jobtitle",
 "firstname",
 "lastname"
 ]
 }
}

```

Question #1: I have tried both hs\_lastmodifieddate and lastmodifieddate, and neither of them give me any data. I know there are contacts that have been updated since this date. What’s the secret?  
Question #2: Once I do get this to work would a new created contact come back in this data pull?

---

<div class="post-metadata">

**Author:** ![evaldas](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/evaldas/32/69160_2.png) [@evaldas](https://community.hubspot.com/u/evaldas)\
**Post date:** [July 26, 2024, 7:36pm UTC](https://community.hubspot.com/t/data-pull-using-filtergroups/113001/2 "2024-07-26T19:36:39Z")

</div>

Hi @SFriesen

Confirming that I get results from the api call when using “lastmodifieddate”.

Just in case you did not notice, it should be a POST method instead of GET

 ![evaldas_1-1722022502902.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/1/31f21363f2d5a88caf5bcdf50bc25381585478db.png)

To answer question #2, I created a new contact and tested the api call again, the new contact came back as part of the results.
