<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Filter contacts based on lastmodifieddate in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/290700#M26992</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/102751"&gt;@aronhoekstra&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the case when you're trying to pull contacts with last modified date in the past day and with a particular lifecycle stage, I'd suggest for you to use the following criteria:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-09-11 at 9.25.59 AM.png" style="width: 294px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/19815i2CE33CE9BA8FE194/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-09-11 at 9.25.59 AM.png" alt="Screen Shot 2019-09-11 at 9.25.59 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You can use either more than or less than days/weeks ago.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;While I understand that that's not the ideal way of filtering contacts if your team is planning to use the HubSpot API to retrieve contacts. That said, if you haven't already done so, I'd strongly urge you to do an upvote and comment on this idea page &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Search-contacts-companies-and-deals-by-custom-properties/idi-p/32113" target="_self"&gt;here&lt;/A&gt; so that it's visible to the&amp;nbsp;HubSpot product team and other&amp;nbsp;HubSpot customers and developers. Hopefully this will gather more interest.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2019 01:31:05 GMT</pubDate>
    <dc:creator>WendyGoh</dc:creator>
    <dc:date>2019-09-11T01:31:05Z</dc:date>
    <item>
      <title>Filter contacts based on lastmodifieddate</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/289436#M26838</link>
      <description>&lt;P&gt;I have the following stack overflow question created. If someone could check it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/57776230/filter-contacts-in-hubspot-api" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/57776230/filter-contacts-in-hubspot-api&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Sep 2019 17:29:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/289436#M26838</guid>
      <dc:creator>tekbird</dc:creator>
      <dc:date>2019-09-03T17:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Filter contacts based on lastmodifieddate</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/289504#M26847</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/104235"&gt;@tekbird&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope all is well with you &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently, it is not possible to filter contacts based on properties. That said, if you've access to the list tools, you can &lt;A href="https://knowledge.hubspot.com/articles/kcs_article/lists/create-active-or-static-lists" target="_self"&gt;create an active or static lists&lt;/A&gt; with the filter that you'd like (in this case it would be&amp;nbsp;&lt;CODE&gt;Last modified date&lt;/CODE&gt;and use this endpoint here:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/lists/get_list_contacts" target="_blank"&gt;Get contacts in a list | Contact Lists API&lt;/A&gt; to retrieve back the contacts in the list.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;An example of how the list with the&amp;nbsp;&lt;CODE&gt;Last modified date&lt;/CODE&gt;filter looks:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="list.png" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/19650iFE3AB2AEC9F84142/image-size/large?v=v2&amp;amp;px=999" role="button" title="list.png" alt="list.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps to clarify!&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 01:28:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/289504#M26847</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2019-09-04T01:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Filter contacts based on lastmodifieddate</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/289525#M26852</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;&amp;nbsp;, thank you very much for the answer. hope this helps someone else too...&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 07:00:52 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/289525#M26852</guid>
      <dc:creator>tekbird</dc:creator>
      <dc:date>2019-09-04T07:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filter contacts based on lastmodifieddate</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/290559#M26986</link>
      <description>&lt;P&gt;I also have a need to search contacts by&amp;nbsp; the last modified date. This approach of creating a saved list may be helpful for some, but what if the date changes? I need to dynamically pass a date into the search - only return records that have been modified in the past hour, or something like that. What if I only wanted to return contacts modified in the past day that are only in a particular status (MQL)? This is impossible with the API. So it forces us to put a huge burden on your servers by requesting EVERYTHING and then filtering the results locally. It's inefficient, extremely slow, and costly to our servers. Its honestly in Hubspot's best interest in terms of performance to improve your API search capabilities.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2019 15:59:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/290559#M26986</guid>
      <dc:creator>aronhoekstra</dc:creator>
      <dc:date>2019-09-10T15:59:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filter contacts based on lastmodifieddate</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/290700#M26992</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/102751"&gt;@aronhoekstra&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the case when you're trying to pull contacts with last modified date in the past day and with a particular lifecycle stage, I'd suggest for you to use the following criteria:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2019-09-11 at 9.25.59 AM.png" style="width: 294px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/19815i2CE33CE9BA8FE194/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2019-09-11 at 9.25.59 AM.png" alt="Screen Shot 2019-09-11 at 9.25.59 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;You can use either more than or less than days/weeks ago.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;While I understand that that's not the ideal way of filtering contacts if your team is planning to use the HubSpot API to retrieve contacts. That said, if you haven't already done so, I'd strongly urge you to do an upvote and comment on this idea page &lt;A href="https://community.hubspot.com/t5/HubSpot-Ideas/Search-contacts-companies-and-deals-by-custom-properties/idi-p/32113" target="_self"&gt;here&lt;/A&gt; so that it's visible to the&amp;nbsp;HubSpot product team and other&amp;nbsp;HubSpot customers and developers. Hopefully this will gather more interest.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 01:31:05 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Filter-contacts-based-on-lastmodifieddate/m-p/290700#M26992</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2019-09-11T01:31:05Z</dc:date>
    </item>
  </channel>
</rss>

