<?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 How to retrieve only updated data via API calls in HubSpot? in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/299961#M28192</link>
    <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working on an ELT tool, using APIs I would like to know how can i make sure that I get only updated data(new data) in second time API call, something like offset we use for single API call to get all the data, as per the reference doc this Offset is not long live.&amp;nbsp; Or is there a fixed time interval before which I can use the offset from first call and make the&amp;nbsp; second request&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Oct 2025 10:47:20 GMT</pubDate>
    <dc:creator>yellalingh</dc:creator>
    <dc:date>2025-10-30T10:47:20Z</dc:date>
    <item>
      <title>How to retrieve only updated data via API calls in HubSpot?</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/299961#M28192</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am working on an ELT tool, using APIs I would like to know how can i make sure that I get only updated data(new data) in second time API call, something like offset we use for single API call to get all the data, as per the reference doc this Offset is not long live.&amp;nbsp; Or is there a fixed time interval before which I can use the offset from first call and make the&amp;nbsp; second request&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 10:47:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/299961#M28192</guid>
      <dc:creator>yellalingh</dc:creator>
      <dc:date>2025-10-30T10:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: API request</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/300065#M28208</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/108754"&gt;@yellalingh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The offsets provided accross all of our paginated APIs are not long-lived; while the exact lifespan can differ depending on the API, none of them should be considered valid on a larger timescale than an hour.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on what specific data you're pulling from&amp;nbsp;HubSpot, you might consider using some of the recently modified / recently created endpoints (e.g. &lt;A href="https://developers.hubspot.com/docs/methods/contacts/get_recently_created_contacts" target="_self"&gt;Recently Created Contacts&lt;/A&gt;). While you shouldn't store the offset value, you can store the&amp;nbsp;addedAt timestamp for the last contact you've pulled. The next time you go to pull recently created contacts, you can stop once you've paged back far enough to reach&amp;nbsp;addedAt values that you've already seen.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2019 20:42:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/300065#M28208</guid>
      <dc:creator>Derek_Gervais</dc:creator>
      <dc:date>2019-11-01T20:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: API request</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/301124#M28336</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/142"&gt;@Derek_Gervais&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am trying to use Create timestamp to pull data, can I don't see any difference in the result. below is the sample url.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;https://api.hubapi.com/email/public/v1/events?hapikey=*****&amp;amp;recipient=c****@gmail.com&amp;amp;created=1571241870660&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;I tried using this object too&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;{{'$and': [{'recipient': 'c**********@gmail.com'},{'created': {'$gt': 1571241870660}}]}}"&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp; In both the cases i don't see any change. can you please help me understand if i am missing anything&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 11:19:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/301124#M28336</guid>
      <dc:creator>yellalingh</dc:creator>
      <dc:date>2019-11-08T11:19:48Z</dc:date>
    </item>
    <item>
      <title>Re: API request</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/301174#M28342</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/108754"&gt;@yellalingh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see; thanks for including an example! The email events API doesn't support a `created` parameter: Instead, you can use a combination of `startTimestamp` and `endTimestamp` to define the timeframe for which you want to pull data, and then paginate through the data using the `offset` values provided in each response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more details on this method, check out the following endpoint doc:&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/email/get_events" target="_blank"&gt;https://developers.hubspot.com/docs/methods/email/get_events&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 15:32:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/301174#M28342</guid>
      <dc:creator>Derek_Gervais</dc:creator>
      <dc:date>2019-11-08T15:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: API request</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/1215275#M85059</link>
      <description>&lt;P data-start="0" data-end="69"&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/108754"&gt;@yellalingh&lt;/a&gt;&amp;nbsp; &amp;nbsp;you’re on the right track trying to pull only deltas.&lt;/P&gt;
&lt;P data-start="71" data-end="690"&gt;For email activity, don’t use a created param. Page by time window instead: call the Email endpoints with a startTimestamp and endTimestamp, then use the returned offset only within that run.&lt;/P&gt;
&lt;P data-start="71" data-end="690"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="71" data-end="690"&gt;Store a “watermark” timestamp from the last successful batch and move the window forward next job. Also note a 2025 update: the old /email/public/v1 Events API is being sunset, so plan to migrate to Marketing Emails v3 statistics, which also accept time-bounded queries for reporting (&lt;A href="https://developers.hubspot.com/docs/api-reference/marketing-marketing-emails-v3/statistics/get-marketing-v3-emails-statistics-list" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/marketing-marketing-emails-v3/statistics/get-marketing-v3-emails-statistics-list&lt;/A&gt; )&lt;/P&gt;
&lt;P data-start="71" data-end="690"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P data-start="692" data-end="1095" data-is-last-node="" data-is-only-node=""&gt;For CRM objects like contacts/companies, use the CRM Search API with filters on hs_lastmodifieddate or createdate greater than your stored watermark; that gives you true incremental loads without relying on offsets (&lt;A href="https://developers.hubspot.com/docs/api-reference/search/guide" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/search/guide&lt;/A&gt; ).&lt;/P&gt;</description>
      <pubDate>Wed, 22 Oct 2025 20:20:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/How-to-retrieve-only-updated-data-via-API-calls-in-HubSpot/m-p/1215275#M85059</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-10-22T20:20:39Z</dc:date>
    </item>
  </channel>
</rss>

