I am currently migrating out hub spot integration to the new API. I have created an app, and replaced the old nodejs module with the new that you have provided on your api page. I replaced some of or logic that writes contacts into hubspot.
However, I cannot find any way to add or update the secondary mail of our contacts over the new API.
I searched the documentation but could not find anything about it.
Can I still use the v1 endpoint without the nodejs package ? Will it also be shut down, or will it stay after the 30th november 2022? If yes, how to retrieve the secondary email over the nodejs package? What property name to use?
HubSpot, can you please reply to this post and inform us when managing additional emails through the live API version will be possible? It is not sufficient to rely on a non-stable depreciated API end point.
The Developer Preview — Secondary Email Addresses endpoints already work with OAuth and Private Apps. Please be aware these endpoints are all part of the developer preview program and are subject to the following:
“This endpoint is part of our developer preview program, and should be considered as a non-stable release that will be subject to bugs and breaking changes while under development. Please take this into account as you build against a release. Please subscribe to our changelog for updates.”
But the new node package @hubspot/api-client does not have this property. So I wanted to know if I can use the API endpoint from the Developer Preview — Secondary Email Addresses endpoints, and if it is usable with OAuth.
It would be nice if the new node package would have a method to add a secondary email address or something similar. I now had to use axios: