<?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: Getting Engagements from a Deal in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224042#M2938</link>
    <description>&lt;P&gt;Hi Isaac,&lt;/P&gt;
&lt;P&gt;Yes our Hub ID is &lt;STRONG&gt;4412483&lt;/STRONG&gt;&lt;BR /&gt;
This is an example: &lt;A href="https://api.hubapi.com/engagements/v1/engagements/associated/deal/385484890/paged?hapikey=xxxx-xxxxx-xxxxx-xxxxx" rel="nofollow noopener"&gt;https://api.hubapi.com/engagements/v1/engagements/associated/deal/385484890/paged?hapikey=xxxx-xxxxx-xxxxx-xxxxx&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Nov 2018 11:11:40 GMT</pubDate>
    <dc:creator>Aliba</dc:creator>
    <dc:date>2018-11-20T11:11:40Z</dc:date>
    <item>
      <title>Getting Engagements from a Deal</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224040#M2936</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
We are trying to Get the Engagements from a specific Deal But using this Method: &lt;A href="http://developers.hubspot.com/docs/methods/engagements/get_associated_engagements" rel="nofollow noopener"&gt;http://developers.hubspot.com/docs/methods/engagements/get_associated_engagements&lt;/A&gt;&lt;BR /&gt;
But it doesn’t return any record! We tried with a sample company and it works, it doesn’t for deals (with tried several Deal IDs). Our goal is to get the dates in which deal status were changed (es. negotiation -&amp;gt; lost)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 19:52:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224040#M2936</guid>
      <dc:creator>Aliba</dc:creator>
      <dc:date>2018-11-16T19:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Engagements from a Deal</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224041#M2937</link>
      <description>&lt;P&gt;Hi again, &lt;A class="mention" href="https://community.hubspot.com/u/aliba"&gt;@Aliba&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Can you confirm your Hub ID is &lt;STRONG&gt;4412483&lt;/STRONG&gt;?&lt;/P&gt;
&lt;P&gt;Would you share a few of the &lt;EM&gt;full&lt;/EM&gt; request URLs you are using? For example:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;https://api.hubapi.com/engagements/v1/engagements/associated/DEAL/123456/paged&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 19:51:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224041#M2937</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-11-19T19:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Engagements from a Deal</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224042#M2938</link>
      <description>&lt;P&gt;Hi Isaac,&lt;/P&gt;
&lt;P&gt;Yes our Hub ID is &lt;STRONG&gt;4412483&lt;/STRONG&gt;&lt;BR /&gt;
This is an example: &lt;A href="https://api.hubapi.com/engagements/v1/engagements/associated/deal/385484890/paged?hapikey=xxxx-xxxxx-xxxxx-xxxxx" rel="nofollow noopener"&gt;https://api.hubapi.com/engagements/v1/engagements/associated/deal/385484890/paged?hapikey=xxxx-xxxxx-xxxxx-xxxxx&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 11:11:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224042#M2938</guid>
      <dc:creator>Aliba</dc:creator>
      <dc:date>2018-11-20T11:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Engagements from a Deal</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224043#M2939</link>
      <description>&lt;P&gt;Thank you, &lt;A class="mention" href="https://community.hubspot.com/u/aliba"&gt;@Aliba&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&lt;A href="https://app.hubspot.com/contacts/4412483/deal/385484890/?interaction=note"&gt;Deal 385484890&lt;/A&gt; does not have any associated engagements, so that's why &lt;A href="https://developers.hubspot.com/docs/methods/engagements/get_associated_engagements"&gt;this endpoint&lt;/A&gt; doesn't return anything:&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;&lt;DIV class="lightbox-wrapper"&gt;&lt;A class="lightbox" href="https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/d/db63ad5bad17f72eccac224ddd4554119901424c.jpeg" data-download-href="/legacyfs/online/uploads/default/db63ad5bad17f72eccac224ddd4554119901424c" title="Not engagements.jpg"&gt;&lt;IMG src="https://community.hubspot.com/legacyfs/online/uploads/default/optimized/2X/d/db63ad5bad17f72eccac224ddd4554119901424c_1_690x370.jpeg" alt="Not%20engagements" width="690" height="370" srcset="https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/d/db63ad5bad17f72eccac224ddd4554119901424c_1_690x370.jpeg, https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/d/db63ad5bad17f72eccac224ddd4554119901424c_1_1035x555.jpeg 1.5x, https://discourse-cdn-sjc1.com/hubspot/uploads/default/optimized/2X/d/db63ad5bad17f72eccac224ddd4554119901424c_1_1380x740.jpeg 2x" /&gt;&lt;DIV class="meta"&gt;
&lt;SPAN class="filename"&gt;Not engagements.jpg&lt;/SPAN&gt;&lt;SPAN class="informations"&gt;2142x1150 151 KB&lt;/SPAN&gt;&lt;SPAN class="expand"&gt;&lt;/SPAN&gt;
&lt;/DIV&gt;&lt;/A&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Per the &lt;A href="https://developers.hubspot.com/docs/methods/engagements/engagements-overview"&gt;Engagements API Overview&lt;/A&gt;, HubSpot engagements are:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Notes&lt;/LI&gt;
&lt;LI&gt;Emails&lt;/LI&gt;
&lt;LI&gt;Tasks&lt;/LI&gt;
&lt;LI&gt;Meetings&lt;/LI&gt;
&lt;LI&gt;Calls&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;All engagements appear on the record timeline, but not all timeline events are engagements.&lt;/P&gt;
&lt;P&gt;If you wish to find the dates in which deal status changed, use &lt;A href="https://developers.hubspot.com/docs/methods/deals/get_deal"&gt;this endpoint&lt;/A&gt; and include the &lt;CODE&gt;includePropertyVersions=true&lt;/CODE&gt; parameter in your request URL. This will return all historical values of the &lt;CODE&gt;dealstage&lt;/CODE&gt; property and the &lt;CODE&gt;timestamp&lt;/CODE&gt; when each changed!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 21:26:46 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224043#M2939</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-11-20T21:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Engagements from a Deal</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224044#M2940</link>
      <description>&lt;P&gt;I see the point, thank you for your explanation. Is there any other API call that returns dates for deal status changes? (Eg when a deal is moved from decision to lost)&lt;/P&gt;</description>
      <pubDate>Thu, 22 Nov 2018 06:48:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224044#M2940</guid>
      <dc:creator>Aliba</dc:creator>
      <dc:date>2018-11-22T06:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Engagements from a Deal</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224045#M2941</link>
      <description>&lt;P&gt;Hi, &lt;A class="mention" href="https://community.hubspot.com/u/aliba"&gt;@Aliba&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Thanks for your patience while I was out over the Thanksgiving holiday.&lt;/P&gt;
&lt;P&gt;There are no dedicated APIs for deal status updates. Besides the &lt;CODE&gt;includePropertyVersions=true&lt;/CODE&gt; method I describe above, however, you could create a &lt;CODE&gt;deal.propertyChange&lt;/CODE&gt; &lt;A href="https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview"&gt;webhook subscription&lt;/A&gt; for the &lt;CODE&gt;dealstage&lt;/CODE&gt; property. This would send your system a notification any time &lt;EM&gt;any&lt;/EM&gt; deal's deal stage changes. You could then filter it on your end to only surface when a deal is moved to a specific stage.&lt;/P&gt;
&lt;P&gt;Webhook subscriptions require OAuth authentication; unlike your current setup, you &lt;EM&gt;cannot&lt;/EM&gt; use an API key. Learn more about using OAuth with HubSpot &lt;A href="https://developers.hubspot.com/docs/methods/oauth2/oauth2-quickstart"&gt;here&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Nov 2018 17:34:42 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Getting-Engagements-from-a-Deal/m-p/224045#M2941</guid>
      <dc:creator>IsaacTakushi</dc:creator>
      <dc:date>2018-11-26T17:34:42Z</dc:date>
    </item>
  </channel>
</rss>

