APIs & Integrations

Cygnus
Member

Engagement - Create new on batch

Hi all,

 

I am creating contacts by batch from my app. I want to also be able to communicate the notes at the same time but I understand that this can only be done by the seperate engagements api. Can I use the contact email address instead of the contact_id? The batch api doesnt pass back the vid's of each contact so the matching process of notes to contacts is one I dont want to struggle getting my head around.

 

EngagementsAPI.png

0 Upvotes
1 Reply 1
cbarley
HubSpot Alumni
HubSpot Alumni

Engagement - Create new on batch

Hi @Cygnus , that's a good point you bring up. Unfortunately right now you have to pass in the ID of the contact. You could make requests to the get recently created contacts endpoint here: https://developers.hubspot.com/docs/methods/contacts/get_recently_created_contacts to get the ids after creation, but I understand the pain in that. I'm going to pass this along to my team. If you're inclined, I'd also suggest creating a post in our ideas forum so that other users can upvote the idea, and we can get our product team's eyes on that via that channel as well. 

0 Upvotes