APIs & Integrations

Not applicable

Manage newsletter subscription through API

We are building a site with a login (nothing to do with hubspot) and there has been a request for users to be able to manage there newsletter subscription on the my account page. Subscription status being something stored in hubspot.

I can see in the API documentation a way to unsubscribe someone based on email address https://developers.hubspot.com/docs/methods/email/update_status but nothing about how the could be subscribed again.

Is this possible and if so how?

Thanks

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Manage newsletter subscription through API

Hi @timgriff84,

It's not possible to opt-in an email address that has previously opted out via the API. This is to help prevent abuse by parties trying to opt in contacts that do not want to be opted back in. You can allow contacts to opt out of email types via a custom subscription page, but to opt back in contacts would need to navigate to the default HubSpot subscription page.

0 Upvotes