<?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: CRM &amp;gt; Calls &amp;gt; Basic API &amp;gt; Get Page - Problem with &amp;quot;after&amp;quot; in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-gt-Calls-gt-Basic-API-gt-Get-Page-Problem-with-quot-after/m-p/994487#M74425</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/384370"&gt;@AWhyBravo&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use search endpoint ( &lt;A href="https://developers.hubspot.com/docs/api/crm/search" target="_blank"&gt;https://developers.hubspot.com/docs/api/crm/search&lt;/A&gt;&amp;nbsp;) that helps you to get the calls with their proeprties and also you can sort them on the behalf of date easily.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Jun 2024 14:43:37 GMT</pubDate>
    <dc:creator>AliFawadHassan</dc:creator>
    <dc:date>2024-06-19T14:43:37Z</dc:date>
    <item>
      <title>CRM &gt; Calls &gt; Basic API &gt; Get Page - Problem with "after"</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-gt-Calls-gt-Basic-API-gt-Get-Page-Problem-with-quot-after/m-p/994477#M74421</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since there is no Webhook for the Engagements, I need to set up polling to find any new Calls. For this, I am connecting to the&amp;nbsp;&lt;STRONG&gt;GET&lt;/STRONG&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;/crm/v3/objects/calls&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;endpoint. I feel that this is really poorly done, but I am hoping that I am misunderstanding something.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For paging on the endpoint, I can set an $after property, which is the ID of the NEXT hubspot call. If I am polling, I will never know this and must use the last one that I have saved, which then includes that last one. So, it is always duplicate. But... that's fine.&lt;BR /&gt;&lt;BR /&gt;The bigger issue is that the IDs are not sequential. I created a Call and noticed that the ID, if taken as an integer, is less than the latest ID that I had created previously. Therefore, when using $after with the previously created call, I will never get the newer call. This seems to be a big mistake.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was looking through the forum, and it seems like the V1 API had an endpoint where I could see the recent engagements. (&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Web-hook-trigger-for-Engagement-events-like-Meeting-etc/td-p/313903" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/APIs-Integrations/Web-hook-trigger-for-Engagement-events-like-Meeting-etc/td-p/313903&lt;/A&gt;)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is that still available? I can't find it in the latest API documentation.&lt;BR /&gt;&lt;BR /&gt;Can you clarify the issue with $after? And, is there any way that I can use a date instead of the call ID when looking at pagination?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 14:33:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/CRM-gt-Calls-gt-Basic-API-gt-Get-Page-Problem-with-quot-after/m-p/994477#M74421</guid>
      <dc:creator>AWhyBravo</dc:creator>
      <dc:date>2024-06-19T14:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: CRM &gt; Calls &gt; Basic API &gt; Get Page - Problem with "after"</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/CRM-gt-Calls-gt-Basic-API-gt-Get-Page-Problem-with-quot-after/m-p/994487#M74425</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/384370"&gt;@AWhyBravo&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;You can use search endpoint ( &lt;A href="https://developers.hubspot.com/docs/api/crm/search" target="_blank"&gt;https://developers.hubspot.com/docs/api/crm/search&lt;/A&gt;&amp;nbsp;) that helps you to get the calls with their proeprties and also you can sort them on the behalf of date easily.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2024 14:43:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/CRM-gt-Calls-gt-Basic-API-gt-Get-Page-Problem-with-quot-after/m-p/994487#M74425</guid>
      <dc:creator>AliFawadHassan</dc:creator>
      <dc:date>2024-06-19T14:43:37Z</dc:date>
    </item>
  </channel>
</rss>

