Hubspot implementation through API

Hello, I am currently working on an implementation with an application that requires consuming information from HubSpot via APIs. Specifically, I need to obtain information on the registered Deals. For this, I require the following information:

  1. Name of the company associated with the deal.
  2. Information on the activities associated with the deal:
    • Notes content
    • Emails
    • Calls
    • Tasks
    • Meetings

I have tried using various APIs that HubSpot provides, but I have not been able to obtain the information I need. Could an expert assist me in verifying whether it is possible to obtain this information from HubSpot? It is worth mentioning that I need the description of each of the activities recorded for the Lead.

Hey, @OswaldoSforce :waving_hand: Can you share more about what isn’t working for you when using the Engagements API endpoints? Are you not getting back all the properties you need, for example? If you aren’t specifying the properties you want returned, you’ll only get back a small subset of default properties. You can get all the properties for an object or engagement from the Properties API and use the internal value for a property in your request. If there are other issues, please let us know, so our community members can try to help.

Thanks for additional information! — Jaycee

Hi Jaycee, we are facing an issue while trying to extract the company ID associated with a deal. The endpoint we are using is the following:

https://api.hubapi.com/crm/v3/objects/deals/22816239788?properties=associatedCompanyIds

However, the response only returns the following information:

This is the Deal configuration within HubSpot:

We are currently not receiving the IDs of the companies associated with the Deal. Could you please guide us on how to resolve this issue?

Thanks and Regards.