APIs & Integrations

wouterdegroote
Member

not-opted? subscription API

Hi 

We have a B2B platform for our customers where they can add extra contacts from their company and also indicate which kind of email they wish to receive. This also means they can subscribe or unsubscribe to a particular subscription as much as they want.

We are currently starting to link hubspot to this platform but I wonder which "optState" i need to use in the API. Especially because it says you cannot undo an OPT OUT. So do I always use NOT_OPTED? 

0 Upvotes
1 Reply 1
WendyGoh
HubSpot Employee
HubSpot Employee

not-opted? subscription API

Hey @wouterdegroote,

 

As mentioned in this documentation: Set up email subscription types:

 

`If you have GDPR tools enabled in your account and selected the Only allow marketing emails to be sent to contacts who have a legal basis to communicate checkbox in your account settings, emails can only be sent to contacts who have an Opted in status.

 

If you aren't using GDPR tools in your account, emails can be sent to contacts with an Opted in or a Not opted in or out status`

0 Upvotes