<?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: Get Recent Engagements API Endpoint in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255369#M22684</link>
    <description>&lt;P&gt;Hmm, good point - let me test&lt;/P&gt;</description>
    <pubDate>Mon, 25 Feb 2019 19:08:12 GMT</pubDate>
    <dc:creator>cbarley</dc:creator>
    <dc:date>2019-02-25T19:08:12Z</dc:date>
    <item>
      <title>Get Recent Engagements API Endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/254936#M22596</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a concern regarding the "Get recent engagements" endpoint documented here :&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs/methods/engagements/get-recent-engagements&amp;nbsp;" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/methods/engagements/get-recent-engagements&amp;nbsp;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There's a note saying we are only able to fetch the records created in the last 30 days BUT we are trying to fetch the most recent engagements which does not make sense in this case. Would there be a better way of solving this?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Feb 2019 16:52:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/254936#M22596</guid>
      <dc:creator>aiwu</dc:creator>
      <dc:date>2019-02-22T16:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get Recent Engagements API Endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255325#M22673</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/79256"&gt;@aiwu&lt;/a&gt;&amp;nbsp;, this endpoint returns Engagements &lt;EM&gt;created within the past 30 days&lt;/EM&gt;, e.g. the most recent Engagements created in your HubSpot account. If you need more than just engagements that go back more than 30 days, you'll need to use the &lt;A href="https://developers.hubspot.com/docs/methods/engagements/get-all-engagements" target="_blank" rel="noopener"&gt;Get All Engagements API&lt;/A&gt; and filter from there on your end.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 16:52:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255325#M22673</guid>
      <dc:creator>cbarley</dc:creator>
      <dc:date>2019-02-25T16:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Get Recent Engagements API Endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255329#M22677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11385"&gt;@cbarley&lt;/a&gt;&amp;nbsp;But this is the endpoint to fetch the most recent engagements hence it should return the last updated Engagements first no ? Thank you. Just wanted some explanation behind the meaning of this endpoint.&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 16:55:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255329#M22677</guid>
      <dc:creator>aiwu</dc:creator>
      <dc:date>2019-02-25T16:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get Recent Engagements API Endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255366#M22681</link>
      <description>&lt;P&gt;Yes, this endpoint fetches the most recently updated engagements within the last 30 days. It should return you an order of newest engagements to oldest. I realized I said it fetches the most recently &lt;EM&gt;created&lt;/EM&gt;&amp;nbsp;engagements in my last reply, which was wrong. It returns recently updated engagements, which will include recently created ones, but will also include any ones you'd recently edited as well&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 18:55:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255366#M22681</guid>
      <dc:creator>cbarley</dc:creator>
      <dc:date>2019-02-25T18:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get Recent Engagements API Endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255367#M22682</link>
      <description>&lt;P&gt;I would assume that's the expected behavior but on the API docs, it says this:&lt;BR /&gt;"&lt;SPAN&gt;Note: This endpoint will only return records created in the last 30 days, or the 10k most recently created records. &amp;nbsp;If you need to get all of your engagements, please use&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/methods/engagements/get-all-engagements" target="_blank"&gt;this endpoint&lt;/A&gt;&lt;SPAN&gt;."&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hence my confusion. So does it really only return the "last created" ones for an last updated api call?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 18:58:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255367#M22682</guid>
      <dc:creator>aiwu</dc:creator>
      <dc:date>2019-02-25T18:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Get Recent Engagements API Endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255369#M22684</link>
      <description>&lt;P&gt;Hmm, good point - let me test&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 19:08:12 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255369#M22684</guid>
      <dc:creator>cbarley</dc:creator>
      <dc:date>2019-02-25T19:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Get Recent Engagements API Endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255440#M22697</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/79256"&gt;@aiwu&lt;/a&gt;, it looks like this endpoint will return all &lt;EM&gt;updated&lt;/EM&gt; engagements. I made a GET call to my own account and was able to see that a Call activity was the second engagement returned to me:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-02-25 17.16.23.png" style="width: 525px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/15279i95AD56F0F8651561/image-dimensions/525x500?v=v2" width="525" height="500" role="button" title="Screenshot 2019-02-25 17.16.23.png" alt="Screenshot 2019-02-25 17.16.23.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I then updated that engagement in the UI. If the engagement was returned to me first, rather than second, we would know that this endpoint returns all&amp;nbsp;&lt;EM&gt;updated&lt;/EM&gt; engagements instead of just&amp;nbsp;&lt;EM&gt;created&lt;/EM&gt; ones.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I made the same request after updating that engagement and that endpoint returned the changed engagement &lt;STRONG&gt;first.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2019-02-25 17.16.40.png" style="width: 492px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/15281i1808864FC752B358/image-dimensions/492x473?v=v2" width="492" height="473" role="button" title="Screenshot 2019-02-25 17.16.40.png" alt="Screenshot 2019-02-25 17.16.40.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This endpoint will return all updated engagements. I will alter the documentation's language&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 22:21:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255440#M22697</guid>
      <dc:creator>cbarley</dc:creator>
      <dc:date>2019-02-25T22:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Get Recent Engagements API Endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255443#M22698</link>
      <description>&lt;P&gt;Thank you for the response&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/11385"&gt;@cbarley&lt;/a&gt;&amp;nbsp;, that would make more sense like that.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Feb 2019 22:27:09 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-Recent-Engagements-API-Endpoint/m-p/255443#M22698</guid>
      <dc:creator>aiwu</dc:creator>
      <dc:date>2019-02-25T22:27:09Z</dc:date>
    </item>
  </channel>
</rss>

