We want to give our users the ability to edit the non primary emails for a HubSpot Contact from our app. We need you (HubSpot) to support the adding/edit/removal of these secondary emails through the API to do so !
This functionality would greatly simplify and streamline integrations with other platforms!
Possible ideas for HS Devs: If there was a way to post to the current read_only property ‘hs_additional_emails’, or including a similar property when using any of the create/update contact endpoints? Otherwise, maybe including some functionality directly through the identity profiles when using any of the create/update contact endpoints?
Our client is also asking for this. We are trying to integrate an existing database.
I’m surprised this functionality is missing from the current API as the hs_additional_emails is read only. Please either make it writeable or provide additional methods to support full access to this core feature.
Yeah this is huge as well for us! We need a way to remove one or more email address. A in-place replace would be the most ideal.
Also, webhooks should be a bit more informative about this as well. Otherwise we end up pushing or replacing existing email addresses, not knowing if they’re updated, deleted or what.
I really need Hubspot Devs to allow subscribe event change value of hs_additional_emails.
Currently, it shows in webhook config but doesn’t work.
This is really important to us. We are an email provider, so every contact that becomes a customer winds up with multiple email addresses, and we need to manipulate those with the API!
This is one of the (multiple) cases where the API is not in line with the App.
Giving the ability to have multiple email addresses in a contact (quite normall these days) would asume that you can use it productwide. But apperently you guys make a difference between the App and the API.
Please get the API up to date with all the functionality you offer. And also don’t forget how you handle these multiple emailadresses in combination with the Transactional Email API.
Yes, please! super important for our customers as well.
This is a major roadblock for us and we need HubSpot to pull through on this idea ASAP to make the platform work for us. We already built a custom object in Salesforce to track multiple contact emails per contact and need to sync these emails with the HubSpot emails field. For some reason, the updated primary email in HubSpot cannot be synced back to Salesforce in our current implementation as that led to other problems, so we have to push the updates into HubSpot from Salesforce and vice versa.
We really need this too, we have 2k+ contacts with several email addresses pending to be updated.
Formerly, we had cookies turned on for our forms. But that meant that if a mailing list subscriber forwarded one of our emails to another person--and that person filled out a form on our site to sign up for the mailing list… then that new person’s email address becomes associated with the original subscriber’s contact record.
While we wait for a solution, we have had to turn off cookies for all of our forms (so no longer benefiting from any analytics, tracking, form fills, or otherwise) and have to manually sift through 1,000’s of records to remove inaccurately associated secondary addresses--as we cannot create new, unique records for those addresses until they’ve been removed from their currently associated accounts. And while we work on this, the new contacts are not receiving our communications, which is hurting our reach and impact.
Please prioritize this--either via the API or through the import process within the app itself. See https://community.hubspot.com/t5/APIs-Integrations/Is-there-a-way-to-delete-secondary-email-address-via-API/m-p/221562 for a similar request.
I’m currently working on integrating our membership site, which has multiple email addresses for users, with HubSpot to sync contact details. Really disappointing that I can’t add those email addresses through the API when that feature is available in the frontend.
The lack of this feature may sink our attempt to migrate to HubSpot. Why management doesn’t prioritize issues that make it hard (or impossible) for companies to migrate to HubSpot I just don’t understand.
We’re in a similar situation as bkirkland, We’re trying to sync our user database with hubspot however some of our users have multiple accounts on our end, each with their own email, which are all in a single hubspot contact with multiple email addresses.
As the API stands we can only sync the single user on our end with the primary email and have no way to link up those other users to the same contact.
This is absolutely critical for a process we’re attempting to automate. It’s really amazing that this doesn’t exist.
Don’t hold your breath @brk21
Here’s how to implement this in C#
var contactByEmail = new RestClient($"https://api.hubapi.com/crm/v3/objects/contacts/{email}/?idProperty=email&hapikey={GetApiKey()}");var contactRequest = new RestRequest(Method.GET);contactRequest.AddHeader("accept", "application/json");var contactResponse = contactByEmail.Execute(contactRequest);
Hi All,
I had to code around this solution myself, so I thought I would share the way I did so:
Basically, the gist above provides Python functions for “Add secondary email to contact” and “Delete secondary email from contact” and “Update primary email on contact”.
If you have feedback or questions, please feel free to ping me on Linkedin or by email.
Ross
here is a Ruby/Rails solution Hubspot CRM API Delete a secondary email address · GitHub
Only dependancy is HTTParty (no hubspot gem)
Uses hubspot v1 API endpoint “https://api.hubapi.com/contacts/v1/secondary-email/…” with “private apps token” (meaning it will work after Nov 2022)