<?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: Please ensure deal stage history is available via the API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/437569#M43347</link>
    <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1964"&gt;@nateangell&lt;/a&gt;&amp;nbsp;This was exactly what I was after and was trying complicated API exports and yes it was there all the time!&lt;/P&gt;</description>
    <pubDate>Fri, 14 May 2021 12:34:00 GMT</pubDate>
    <dc:creator>davidrevis</dc:creator>
    <dc:date>2021-05-14T12:34:00Z</dc:date>
    <item>
      <title>Please ensure deal stage history is available via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/349755#M34280</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Because HubSpot does not provide a good way to see full deal history through stages, we had been using an API call like &lt;/SPAN&gt;&lt;A href="https://api.hubapi.com/deals/v1/deal/" target="_blank" rel="noopener"&gt;https://api.hubapi.com/deals/v1/deal&lt;/A&gt;&lt;SPAN&gt;{dealId}?hapikey={hapikey} to return properties on deals, and we were especially focused on getting properties like hs_date_entered_{stageId} and hs_date_exited(stageId} so we could visualize/analyze historical deal stage movement, but those properties disappeared from the results during May–June 2020.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We did have some luck geting this info with the new API, with calls like: &lt;A href="https://api.hubapi.com/crm/v3/objects/deals/979797171?archived=false&amp;amp;properties=hs_date_entered_*&amp;amp;hapikey=[key]" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/deals/979797171?archived=false&amp;amp;properties=hs_date_entered_*&amp;amp;hapikey=[key]&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But we have heard from HubSpot support (Ticket number: #3481971) that this information may not be consistently available via any API call in the future. Please don't make it unavailable! This is the only workaround to address a serious deficiency in HubSpot's native reporting capabilities! See the community forums for consistent outcry for this missing feature:&amp;nbsp;&lt;A href="https://community.hubspot.com/t5/CRM/How-to-view-historical-deal-stages/m-p/338251#M119526" target="_blank"&gt;https://community.hubspot.com/t5/CRM/How-to-view-historical-deal-stages/m-p/338251#M119526&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 02:32:40 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/349755#M34280</guid>
      <dc:creator>nateangell</dc:creator>
      <dc:date>2020-06-25T02:32:40Z</dc:date>
    </item>
    <item>
      <title>Re: Please ensure deal stage history is available via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/349987#M34303</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1964"&gt;@nateangell&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to clarify: Are you looking to see all deal stages a particular deal has been in? You should be able to see this by looking at the property history for `dealstage` for a given deal. The properties you're referring to are pseudo-properties that are only used for some internal functions, and won't be available long term. However, a call like this:&lt;/P&gt;
&lt;PRE&gt;https://api.hubapi.com/deals/v1/deal/12345?hapikey=xxxx&amp;amp;includePropertyVersions=true&lt;/PRE&gt;
&lt;P&gt;Will return a given deal record with a full property history. Using this, you can identify every deal stage that a particular deal was in and when.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 19:29:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/349987#M34303</guid>
      <dc:creator>Derek_Gervais</dc:creator>
      <dc:date>2020-06-25T19:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Please ensure deal stage history is available via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/350017#M34311</link>
      <description>&lt;P&gt;Thanks. The HS team has pointed this out several times. And sure, one can see the history for a specific deal if one looks at this history. The need tho is to understand historical deal flow across hundreds of deals across all time. This UX view doesn't really help with that need.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Most organizations like to be able to look at a snapshot of deals at particular times: how many deals were in each stage on 1 Mar 2020? On 1 Jan? A year before that, etc. Near as I can tell, the funnel views in HS only do reporting on deals that go through EVERY funnel stage (eg, never jump a stage, which is NEVER true for us) or the overall current state of the funnel. We want to know for each month: how many deals came into each stage, how many left, and how many remained. We use the API to get this data and reconstruct the funnel outside HS. It's a huge pain, but it seems like the only way to do it now, so we'd appreciate at least not losing API access to this key info.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 20:51:49 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/350017#M34311</guid>
      <dc:creator>nateangell</dc:creator>
      <dc:date>2020-06-25T20:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Please ensure deal stage history is available via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/350054#M34314</link>
      <description>&lt;P&gt;ARGH! I just learned that one can export entire deal stage histories from the property itself in settings. The part I missed was that you can export all the histories for all the deals from the property in addition to seeing the history for just one deal.&amp;nbsp;This is the incredibly simple solution for this need that I didn't see clearly suggested till now, hence our needless trip to the API and redesign once the APIs changed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes it would be nice if there were a report one could build in the UX for this, but at least the data is easily available without using the API. SIGH...&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2020 22:45:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/350054#M34314</guid>
      <dc:creator>nateangell</dc:creator>
      <dc:date>2020-06-25T22:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Please ensure deal stage history is available via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/437569#M43347</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1964"&gt;@nateangell&lt;/a&gt;&amp;nbsp;This was exactly what I was after and was trying complicated API exports and yes it was there all the time!&lt;/P&gt;</description>
      <pubDate>Fri, 14 May 2021 12:34:00 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/437569#M43347</guid>
      <dc:creator>davidrevis</dc:creator>
      <dc:date>2021-05-14T12:34:00Z</dc:date>
    </item>
    <item>
      <title>Re: Please ensure deal stage history is available via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/462167#M45170</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/142"&gt;@Derek_Gervais&lt;/a&gt;&amp;nbsp;thanks for the link to deals API to reference "includePropertyVersions=true" to pull the historical statuses of each deal property&lt;/P&gt;&lt;PRE&gt;&lt;A href="https://api.hubapi.com/deals/v1/deal/12345?hapikey=xxxx&amp;amp;includePropertyVersions=true" target="_blank"&gt;https://api.hubapi.com/deals/v1/deal/12345?hapikey=xxxx&amp;amp;includePropertyVersions=true&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;This looks like this is from the v1 API - is there an v3 API version of this link because I don't see "includePropertyVersions" in the list of params on the Deals API?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The primary goal I'm trying to achieve is to know when each deal entered and changed its deal pipeline/stage for reporting purposes.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Jul 2021 19:57:48 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/462167#M45170</guid>
      <dc:creator>Augustus</dc:creator>
      <dc:date>2021-07-19T19:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Please ensure deal stage history is available via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/974036#M73514</link>
      <description>&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;https://api.hubapi.com/crm/v3/objects/deals?propertiesWithHistory=dealstage&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Does the trick&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 09 May 2024 16:42:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/974036#M73514</guid>
      <dc:creator>MPatel</dc:creator>
      <dc:date>2024-05-09T16:42:36Z</dc:date>
    </item>
    <item>
      <title>Re: Please ensure deal stage history is available via the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/1138630#M81690</link>
      <description>&lt;P&gt;I'm having a similar issue when trying to call the dealStage history via a custom coded action. I found that&amp;nbsp;HubSpot custom coded actions do not return full property history&lt;SPAN class=""&gt;, even when using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;propertiesWithHistory=dealstage&lt;/SPAN&gt;&lt;SPAN class=""&gt;.&lt;/SPAN&gt;&amp;nbsp;The history is visible in UI/exportable, but &lt;SPAN class=""&gt;not exposed in workflow-bound custom code&lt;/SPAN&gt;. It did work when using:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Postman&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;Private apps&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class=""&gt;External servers calling the API&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;But not within HubSpot's workflows themselves. I repeatedly get the error "&lt;SPAN&gt;Not enough stage history available." even on deals that have been in our database for months, and have had many changes.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 18:00:39 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Please-ensure-deal-stage-history-is-available-via-the-API/m-p/1138630#M81690</guid>
      <dc:creator>bromanguarantor</dc:creator>
      <dc:date>2025-04-21T18:00:39Z</dc:date>
    </item>
  </channel>
</rss>

