<?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 associations with deals from crm objects deals search endpoint in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/431705#M42892</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does "jumping" mean?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are experiencing the sae challenge as listed on this post (&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/td-p/321104)" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/td-p/321104)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we bulk get associations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 08:20:02 GMT</pubDate>
    <dc:creator>MFoxcroft</dc:creator>
    <dc:date>2021-04-27T08:20:02Z</dc:date>
    <item>
      <title>Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/321104#M30892</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm working on interation with Hubspot's API in order to extract our deals using the&amp;nbsp;&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/objects/deals" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://api.hubapi.com/crm/v3/objects/deals/search&lt;/A&gt;" endpoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example query params:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;properties&lt;/SPAN&gt;: [&lt;SPAN&gt;'dealname'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'amount'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'closedate'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'pipeline'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'dealstage'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'hs_createdate'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'hs_lastmodifieddate'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;'createdate'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'hubspot_owner_id'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'dealname'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'dealstage'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'hs_is_closed'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'hs_closed_amount'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  &lt;SPAN&gt;'associations.company'&lt;/SPAN&gt;]&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;filterGroups&lt;/SPAN&gt;: [&lt;BR /&gt;  {&lt;BR /&gt;    &lt;SPAN&gt;filters&lt;/SPAN&gt;: [&lt;BR /&gt;      {&lt;BR /&gt;        &lt;SPAN&gt;"propertyName"&lt;/SPAN&gt;: &lt;SPAN&gt;"closedate"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;"operator"&lt;/SPAN&gt;: &lt;SPAN&gt;"GTE"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;"value"&lt;/SPAN&gt;: start * &lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;      }&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;      {&lt;BR /&gt;        &lt;SPAN&gt;"propertyName"&lt;/SPAN&gt;: &lt;SPAN&gt;"hs_is_closed"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;"operator"&lt;/SPAN&gt;: &lt;SPAN&gt;"EQ"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;"value"&lt;/SPAN&gt;: &lt;SPAN&gt;true&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;      }&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;      {&lt;BR /&gt;        &lt;SPAN&gt;"propertyName"&lt;/SPAN&gt;: &lt;SPAN&gt;"associations.company"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;"operator"&lt;/SPAN&gt;: &lt;SPAN&gt;"HAS_PROPERTY"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;      }&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    ]&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;  }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&lt;SPAN&gt;It worked fine except to the fact that at this endpoint, it doesn't return association.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&lt;SPAN&gt;I tried to add "associations=deals".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&lt;SPAN&gt;I used this documentaion&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs-beta/crm/deals" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://developers.hubspot.com/docs-beta/crm/deals&lt;/A&gt; and &lt;A href="https://developers.hubspot.com/docs-beta/crm/search" target="_self"&gt;https://developers.hubspot.com/docs-beta/crm/search&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="public-DraftStyleDefault-block public-DraftStyleDefault-ltr"&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Alex.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 22 Feb 2020 15:29:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/321104#M30892</guid>
      <dc:creator>iaa</dc:creator>
      <dc:date>2020-02-22T15:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/321192#M30907</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/121441"&gt;@iaa&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When looking to retrieve associations between objects, you would need to use this endpoint -&amp;nbsp;&lt;A href="https://developers.hubspot.com/docs-beta/crm/associations" target="_blank"&gt;CRM API | Associations&lt;/A&gt;. Specifically the '&lt;EM&gt;Read a batch of associations&lt;/EM&gt;' endpoint&amp;nbsp; - something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;POST URL - &lt;A href="https://api.hubspot.com/crm/v3/associations/DEALS/CONTACTS/batch/read?hapikey={{hapiKey" target="_blank"&gt;https://api.hubspot.com/crm/v3/associations/DEALS/CONTACTS/batch/read?hapikey={{hapiKey&lt;/A&gt;}}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;POST Body -&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;{"inputs":[{"id":"{{dealId}}"}]}&lt;/PRE&gt;
&lt;P&gt;Hope this helps and do let me know if you've any further questions on this!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 04:50:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/321192#M30907</guid>
      <dc:creator>WendyGoh</dc:creator>
      <dc:date>2020-02-24T04:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/388364#M38296</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This solution is not&amp;nbsp;straightforward.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When we use the&amp;nbsp;crm/v3/objects/deals endpoint we can just add query parameter of&amp;nbsp;&amp;amp;associations=contacts to get this info (Please see &lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-endpoint/m-p/318958/highlight/true#M30600" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-endpoint/m-p/318958/highlight/true#M30600&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please enable it with the &lt;A href="https://api.hubapi.com/crm/v3/objects/deals" target="_blank" rel="noopener nofollow noopener noreferrer noopener noreferrer"&gt;crm/v3/objects/deals/search&lt;/A&gt;&amp;nbsp;endpoint too.&lt;/P&gt;&lt;P&gt;It will be very helpful!&lt;/P&gt;</description>
      <pubDate>Sun, 22 Nov 2020 16:52:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/388364#M38296</guid>
      <dc:creator>PowerMyAnalytic</dc:creator>
      <dc:date>2020-11-22T16:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/407232#M40354</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;&amp;nbsp;jumping&lt;/P&gt;</description>
      <pubDate>Mon, 08 Feb 2021 15:57:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/407232#M40354</guid>
      <dc:creator>PowerMyAnalytic</dc:creator>
      <dc:date>2021-02-08T15:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/431705#M42892</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What does "jumping" mean?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are experiencing the sae challenge as listed on this post (&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/td-p/321104)" target="_blank" rel="noopener"&gt;https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/td-p/321104)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do we bulk get associations?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 08:20:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/431705#M42892</guid>
      <dc:creator>MFoxcroft</dc:creator>
      <dc:date>2021-04-27T08:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/487994#M46375</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;&amp;nbsp;Please reply to me.&lt;/P&gt;&lt;P&gt;I see that this issue is across all the Search endpoints - in the "get all" endpoint you can use query parameter of associations and in the search endpoint you can't. Why?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 10:04:04 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/487994#M46375</guid>
      <dc:creator>PowerMyAnalytic</dc:creator>
      <dc:date>2021-09-01T10:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/504735#M47384</link>
      <description>&lt;P&gt;Exactly this!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 07:24:43 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/504735#M47384</guid>
      <dc:creator>siempeters</dc:creator>
      <dc:date>2021-10-04T07:24:43Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/518489#M48246</link>
      <description>&lt;P&gt;Adding this functionality would be incredibly useful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 30 Oct 2021 12:44:16 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/518489#M48246</guid>
      <dc:creator>nikodev</dc:creator>
      <dc:date>2021-10-30T12:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/564683#M50437</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/66274"&gt;@WendyGoh&lt;/a&gt;&amp;nbsp;- how is this still not available? If we use the &lt;A href="https://developers.hubspot.com/docs/api/crm/deals" target="_blank" rel="noopener"&gt;/objects/deals&lt;/A&gt; endpoint it allows us to pull associations but it doesn't allow filtering, which means we need to do a ridiculously high number of API calls to sync with our warehouse. Conversely, if we use /objects/deals/search endpoint, we can filter but not pull associations and to pull the associations, you recommended us to use&amp;nbsp;&lt;EM&gt;another&lt;/EM&gt; endpoint that doesn't allow filtering. This defeats the purpose of having the search endpoint to begin with, don't you think?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 04:07:22 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/564683#M50437</guid>
      <dc:creator>KSoenandar</dc:creator>
      <dc:date>2022-01-28T04:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/564938#M50455</link>
      <description>&lt;P&gt;Exposing the properties of the associated objects beyond the ID via the dedicated Associations API would allow for programmatic filtering of the response once it's received. Lots of paging though...although I don't recall whether or not the Associations API has pagination implemented.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jan 2022 14:28:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/564938#M50455</guid>
      <dc:creator>nikodev</dc:creator>
      <dc:date>2022-01-28T14:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/661150#M54645</link>
      <description>&lt;P&gt;Any news about this topic?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 06:40:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/661150#M54645</guid>
      <dc:creator>mmaddiona</dc:creator>
      <dc:date>2022-07-07T06:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get associations with deals from crm objects deals search endpoint</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/689667#M56654</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;A href="https://api.hubspot.com/crm/v3/associations/DEALS/CONTACTS/batch/read?hapikey={{hapiKey" target="_blank" rel="nofollow noopener noreferrer"&gt;https://api.hubspot.com/crm/v3/associations/DEALS/CONTACTS/batch/read?hapikey={{hapiKey&lt;/A&gt;&lt;SPAN&gt;}} endpoint doesn't event exist in the documentation. They are all with a required objectId, while we are trying to get the associations of multiple objectIds.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 09:43:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Get-associations-with-deals-from-crm-objects-deals-search/m-p/689667#M56654</guid>
      <dc:creator>JZwarthoed</dc:creator>
      <dc:date>2022-09-06T09:43:53Z</dc:date>
    </item>
  </channel>
</rss>

