We have used the API to create new contacts (or open existing contacts), and add new leads depending on different projects our client has in progress.
We also create a meeting under the Contact to mark the time of contact with this Contact/Lead.
Hubspot if we have more than one Lead associated with a Contact, and we try to log a meeting via the API, Hubspot always seems to associate the meeting to ALL of that Contact’s leads by default. In the Hubspot backend we can obviously check off which associatioons should be there, but I don’t see a way to correctly associate a Meeting to a specific Lead via the API.
Does anyone have any ideas on how this can be achieved?
Hi @GMoon! Welcome to the Community-- happy to have you here
I’d like to tag in @Teun, @Anton, and @WesQ to see if they have any insight! Hey y’all-- do you know of any way to associate activities with a specific lead via the API?
Hi @GMoon and @VBrandel !
Great news! We did some research and found the solution to your lead association challenge. The key is understanding that leads are separate CRM objects in HubSpot, which means you need to use lead-specific association type IDs rather than contact association type IDs. Check out this article that covers the Leads API endpoint
Let us know how this works out for you! If you run into any other issues, feel free to ask.