APIs & Integrations

NicRaw1
Member

Unsubscribe API confusion

SOLVE

Hello all, I'm trying to figure out how to opt a contact out of _all_ communication from my hub via the API.

 

When reviewing this documentation: https://developers.hubspot.com/docs/api/marketing-api/subscriptions-preferences it seems as though you can only opt-out by specifying a specific "subscriptionId", of which my options seem to only be "One to One" and not _All_.

 

It also mentions "This API is not valid to use for unsubscribing a contact at a brand or portal level and will return an error." which sounds like what I'm trying to achieve, what is the correct API for that?

 

Thanks in advance,

Nic.

 

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Unsubscribe API confusion

SOLVE

Hey @NicRaw1 

I would recommend taking a look at the this endpoint.  What you want doesn't appear to be baked into the cake just yet

View solution in original post

1 Reply 1
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Unsubscribe API confusion

SOLVE

Hey @NicRaw1 

I would recommend taking a look at the this endpoint.  What you want doesn't appear to be baked into the cake just yet