Creating or Updating a Contact with multiple Emails

Hello,

I have a use case where I want to programmatically add or update contacts on HubSpot.

  1. While creating new contacts, I may have multiple emails of the same person, so I’d want to add all those to the contact in the same API call.
  2. While updating an existing contact, I may have additional email of the same person, so I’d want to add this new email to the existing contact.

As of now I’m not able to achieve this. Any hints on how can I go about doing this?

Any help is appreciated.

@sakshamsaxena - It appears that there is no current generation endpoin to do this - see thread: https://community.hubspot.com/t5/APIs-Integrations/Add-Secondary-Emails/m-p/789383#M63671

In response to a previous question on adding a seondary email address, I also suggested a hack that involves creating a new contact with just the additional email and then doing a merge operation.

Good luck!

Steve