Following this changes: [Coming 11/13] A Better Way to Associate Activities to Deals, the activities created through the API against a contact/company are not automatically associated with the deals in progress. Is there (or will there be) a way to associate the incoming activity to the deals automatically using the API?
Just to make sure that we’re on the same page, are you referring to creating engagements via the API? These engagements will not be automatically associated with any records, since creating engagements via the API doesn’t have the same context as creating engagements in the UI (i.e. if you create an activity on a contact record, HubSpot knows the contact record and it’s associated company and deal(s). When creating engagements via the API, this isn’t the case). If you’d like to associate an engagement with an object via the API, you can include the object id in the engagement’s
associations field. I’m not aware of any plans to auto-associate engagements with any secondary associated records (e.g. an engagement that is associated with a contact will not be auto-associated with a deal that was previously associated with that contact).