First of all - this is not an idea. It’s a bug in Hubspot!
I don’t understand why Hubspot is deliberately blocking re-subscription via API only?
Basically, you can subscribe and unsubscribe with Marketing API once. After you unsubscribe a customer via API and try to subscribe again then API returns error:
However, if you find a marketing e-mail from Hubspot and click on Manage Preferences then you can subscribe again!
Moreover, in Manage Preferences there is unsubscribe from all e-mails option, which is not available through API!
Marketing API only returns two subscriptions - there is no ID for unsubscribe from all:
Thus, Marketing API should allow re-subscription (as you can do this through Manage Preferenes page) and should allow unsubscribe from all (again as Manage Preferences page).
This is connected to another good idea aka missing functionality in Hubspot - there is no way to retrieve/generate Manage Preferences URL:



