<?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 companies and deals more details in the API in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989834#M74207</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/711889"&gt;@Humashankar&lt;/a&gt;&amp;nbsp;for being so helpful.&lt;BR /&gt;&lt;BR /&gt;But it didn't worked out.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devphoenix_0-1718038252842.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119384i887CC1C66B301144/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devphoenix_0-1718038252842.png" alt="devphoenix_0-1718038252842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please help more here !!&lt;BR /&gt;&lt;BR /&gt;and with&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{baseUrl}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/crm/v3/objects/companies/search&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"associations"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;SPAN&gt;"deals"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"contacts"&lt;/SPAN&gt;&lt;SPAN&gt;]&amp;nbsp;how to pass these in the body of the CURL?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Mon, 10 Jun 2024 16:55:08 GMT</pubDate>
    <dc:creator>devphoenix</dc:creator>
    <dc:date>2024-06-10T16:55:08Z</dc:date>
    <item>
      <title>GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/981844#M73881</link>
      <description>&lt;P&gt;Hi team,&lt;/P&gt;&lt;P&gt;Could you please help here.&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{baseUrl}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/crm/v3/objects/contacts?associations=companies,deals&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;in the response of this API, we are getting this...&lt;BR /&gt;{&lt;BR /&gt;"id": "101",&lt;BR /&gt;"properties": {&lt;BR /&gt;"createdate": "2023-07-24T08:53:58.795Z",&lt;BR /&gt;"email": "gourav.gupta+hs@brevo.com",&lt;BR /&gt;"firstname": "Contact",&lt;BR /&gt;"hs_object_id": "101",&lt;BR /&gt;"lastmodifieddate": "2024-05-22T10:39:17.610Z",&lt;BR /&gt;"lastname": "B"&lt;BR /&gt;},&lt;BR /&gt;"createdAt": "2023-07-24T08:53:58.795Z",&lt;BR /&gt;"updatedAt": "2024-05-22T10:39:17.610Z",&lt;BR /&gt;"archived": false,&lt;BR /&gt;"associations": {&lt;BR /&gt;"companies": {&lt;BR /&gt;"results": [&lt;BR /&gt;{&lt;BR /&gt;"id": "20861273154",&lt;BR /&gt;"type": "contact_to_company"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"id": "16682150751",&lt;BR /&gt;"type": "contact_to_company_unlabeled"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"id": "20861273154",&lt;BR /&gt;"type": "contact_to_company_unlabeled"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;},&lt;BR /&gt;"deals": {&lt;BR /&gt;"results": [&lt;BR /&gt;{&lt;BR /&gt;"id": "19489433890",&lt;BR /&gt;"type": "contact_to_deal"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to include more details, such as the names of companies and deals, in the response?&lt;/P&gt;&lt;P&gt;Example response:&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;json&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;Copy code&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;{&lt;/SPAN&gt; &lt;SPAN class=""&gt;"id"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"20861273154"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"type"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"contact_to_company"&lt;/SPAN&gt;&lt;SPAN class=""&gt;,&lt;/SPAN&gt; &lt;SPAN class=""&gt;"name"&lt;/SPAN&gt;&lt;SPAN class=""&gt;:&lt;/SPAN&gt; &lt;SPAN class=""&gt;"Company A"&lt;/SPAN&gt; &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;If this feature is not currently available, could you please add it to the to-do list? This enhancement would greatly improve our ability to use your APIs more effectively.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 24 May 2024 15:13:41 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/981844#M73881</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-05-24T15:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/981909#M73889</link>
      <description>&lt;P&gt;Hey, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/603490"&gt;@devphoenix&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; This ended up getting flagged by the spam filter. I moved it out, so our community members can take a look.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Talk soon! — Jaycee&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 16:58:58 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/981909#M73889</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2024-05-24T16:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/981957#M73893</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/603490"&gt;@devphoenix&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;HubSpot's Batch Read API enables efficient retrieval of detailed information for multiple objects (companies and deals) by leveraging their IDs. The below steps helps better.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Obtain Association IDs by Extract the association IDs from the initial response, found in the "results" array for companies and deals (e.g., "id": "20861273154").&lt;/LI&gt;
&lt;LI&gt;Construct Batch Read Request by making use of the retrieved association IDs to build a new API call to the Batch Read endpoint (/crm/v3/objects/batch-read). Include the IDs in the request body to fetch comprehensive information for the specified objects in a single, efficient API call, utilizing the full potential of the Batch Read API&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you'd like to see a more streamlined experience, you can also submit a feature request to HubSpot by navigating to Ideas from the dropdown.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Hope this helps - Happy to help further!!&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Thank you very much and have a great one!&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Warm regards&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 18:38:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/981957#M73893</guid>
      <dc:creator>Humashankar</dc:creator>
      <dc:date>2024-05-24T18:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/981984#M73897</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/603490"&gt;@devphoenix&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the regular REST API endpoints that HubSpot offers, you will need a second batch API request to retrieve the details of the associated objects. Retrieving associated records through a GET request currently only returns the ID and association label.&lt;/P&gt;
&lt;P&gt;However, if you construct a &lt;A href="https://developers.hubspot.com/docs/cms/data/query-hubspot-data-using-graphql#use-a-graphql-query-in-an-api-request" target="_blank" rel="noopener"&gt;GraphQL&lt;/A&gt; query, you should be able to retrieve the properties you are looking for in a single API call.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 19:53:53 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/981984#M73897</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2024-05-24T19:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/982335#M73915</link>
      <description>&lt;P&gt;Thank you for the answer! &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please share the steps and APIs to achieve this? It will be more effective for me.&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2024 15:38:27 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/982335#M73915</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-05-26T15:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/982336#M73916</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you for the response, but I am not able to get the information I need. Could you please share the APIs with some examples? This would be very beneficial, and I would appreciate it.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 May 2024 15:43:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/982336#M73916</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-05-26T15:43:25Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989645#M74195</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/711889"&gt;@Humashankar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074"&gt;@Jaycee_Lewis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response, it is possible to have the assoicated object information in these API's,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{baseUrl}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/crm/v3/objects/companies/16682150751?associations=contacts,deals&lt;BR /&gt;&lt;/SPAN&gt;like in the response I will get&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devphoenix_0-1718014187429.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119365i270B1C47CF071D17/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devphoenix_0-1718014187429.png" alt="devphoenix_0-1718014187429.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&amp;nbsp;&lt;/P&gt;&lt;P&gt;use&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{baseUrl}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/crm/v3/objects/companies/search&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"associations"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;SPAN&gt;"deals"&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;"contacts"&lt;/SPAN&gt;&lt;SPAN&gt;] will extent with deal name and contact email information&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devphoenix_1-1718014219509.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119366iF243E02D5BE4CCCB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devphoenix_1-1718014219509.png" alt="devphoenix_1-1718014219509.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you guys please help here.&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 10:11:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989645#M74195</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-06-10T10:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989682#M74197</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/603490"&gt;@devphoenix&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both methods you mentioned can achieve the goal of retrieving associated object&amp;nbsp;information.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Hope this helps - Happy to help further!!&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 11:49:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989682#M74197</guid>
      <dc:creator>Humashankar</dc:creator>
      <dc:date>2024-06-10T11:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989699#M74198</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/711889"&gt;@Humashankar&lt;/a&gt;, I've been trying hard for the past few days but haven't received the response I mentioned. Could you please share the complete method or CURL? Your help would be greatly appreciated. Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 12:44:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989699#M74198</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-06-10T12:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989714#M74200</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/603490"&gt;@devphoenix&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Retrieve company data with nested includes,&lt;/P&gt;
&lt;P&gt;GET {{baseUrl}}/crm/v3/objects/companies/16682150751?associations=contacts(id,email),deals(id,dealname)&lt;/P&gt;
&lt;P&gt;This API request fetches information about the company with ID 16682150751, including:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Contacts - ID and email address&lt;/LI&gt;
&lt;LI&gt;Deals - ID and deal name&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Believing the "email" and "dealname" properties exist.&lt;/P&gt;
&lt;P&gt;Can you try and get us with the outcome - will see how we can fix this.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 13:25:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989714#M74200</guid>
      <dc:creator>Humashankar</dc:creator>
      <dc:date>2024-06-10T13:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989834#M74207</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/711889"&gt;@Humashankar&lt;/a&gt;&amp;nbsp;for being so helpful.&lt;BR /&gt;&lt;BR /&gt;But it didn't worked out.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devphoenix_0-1718038252842.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119384i887CC1C66B301144/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devphoenix_0-1718038252842.png" alt="devphoenix_0-1718038252842.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you please help more here !!&lt;BR /&gt;&lt;BR /&gt;and with&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN&gt;{{baseUrl}}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;/crm/v3/objects/companies/search&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"associations"&lt;/SPAN&gt;&lt;SPAN&gt;: [&lt;/SPAN&gt;&lt;SPAN&gt;"deals"&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"contacts"&lt;/SPAN&gt;&lt;SPAN&gt;]&amp;nbsp;how to pass these in the body of the CURL?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Jun 2024 16:55:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989834#M74207</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-06-10T16:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989851#M74208</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/603490"&gt;@devphoenix&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The "associations": ["deals", "contacts"] section should be included within the JSON request body, not as a separate parameter in the URL&lt;BR /&gt;Can you try the below one and give a try-&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -X POST \&lt;BR /&gt;-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \&lt;BR /&gt;-H "Content-Type: application/json" \&lt;BR /&gt;-d '{&lt;BR /&gt;"filterGroups": [&lt;BR /&gt;{ "filters": [ { "propertyName": "name", "operator": "EQ", "value": "Company Name" } ] } ### Replace "Company Name" with your search criteria&lt;BR /&gt;],&lt;BR /&gt;"associations": ["deals", "contacts"]&lt;BR /&gt;}' \&lt;BR /&gt;"{{baseUrl}}/crm/v3/objects/companies/search"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 17:19:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989851#M74208</guid>
      <dc:creator>Humashankar</dc:creator>
      <dc:date>2024-06-10T17:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: GET companies and deals more details in the API</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989870#M74211</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="devphoenix_0-1718040966888.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/119397iD287BC2542C503C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="devphoenix_0-1718040966888.png" alt="devphoenix_0-1718040966888.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/711889"&gt;@Humashankar&lt;/a&gt;&amp;nbsp;Don't worked out this one too.&lt;BR /&gt;&lt;BR /&gt;search API curl&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;url &lt;/SPAN&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;location &lt;/SPAN&gt;&lt;SPAN&gt;'&lt;A href="https://api.hubapi.com/crm/v3/objects/companies/search" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/companies/search&lt;/A&gt;'&lt;/SPAN&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;header &lt;/SPAN&gt;&lt;SPAN&gt;'Content-Type: application/json'&lt;/SPAN&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;header &lt;/SPAN&gt;&lt;SPAN&gt;'Accept: application/json'&lt;/SPAN&gt;&lt;SPAN&gt; \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--header 'Authorization: Bearer {{key}}' \&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;--&lt;/SPAN&gt;&lt;SPAN&gt;data&lt;/SPAN&gt; &lt;SPAN&gt;'{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"filterGroups"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"filters"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"propertyName"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"hs_lastmodifieddate"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"operator"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"GT"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"value"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"1980-06-10T00:00:00.000Z"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"associations"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"deals"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"contacts"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;'&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Companies API&lt;BR /&gt;&lt;BR /&gt;curl --location '&lt;A href="https://api.hubapi.com/crm/v3/objects/companies/16682150262?properties=name%2Cindustry%2Cnumberofemployees%2Chubspot_owner_id%2Cphone%2Cannualrevenue%2Cdomain&amp;amp;associations=contacts(id%2Cemail" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/objects/companies/16682150262?properties=name%2Cindustry%2Cnumberofemployees%2Chubspot_owner_id%2Cphone%2Cannualrevenue%2Cdomain&amp;amp;associations=contacts(id%2Cemail&lt;/A&gt;)' \&lt;BR /&gt;--header 'Accept: application/json' \&lt;BR /&gt;--header 'Authorization: Bearer {{key}}'&lt;BR /&gt;&lt;BR /&gt;"It would be very helpful if these APIs work as expected, allowing me to retrieve the necessary details, including the associated contact ID and email, as well as the associated deal ID and deal name."&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 10 Jun 2024 17:41:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/GET-companies-and-deals-more-details-in-the-API/m-p/989870#M74211</guid>
      <dc:creator>devphoenix</dc:creator>
      <dc:date>2024-06-10T17:41:20Z</dc:date>
    </item>
  </channel>
</rss>

