Get the Subscription Data

Hi,

Any API endpoint I can get the current Subscription status of all channels of all contacts?

The “email event” API https://legacydocs.hubspot.com/docs/methods/email/get_events

gets all the history of opt in / opt out which I dont need that much of data.

The “Subscription Preference” API

is getting one contact [by email] only

Thanks & Regards,

Kai

Hey, @KChan88 :waving_hand: you’re on the right track! Unfortunately, there isn’t a direct batch option with the Subscriptions API. The Events API, as you noted, is probably too verbose for your use case, though you could try processing the data externally if you still want to go that route.

Otherwise, you’ll need to extract all contacts from your portal (with their email addresses) and write a script to handle this in batches. For example, you could process 100 contacts at a time, introduce a small delay (like 10 seconds), and loop through the emails that way.

Unfortunately, there’s no single batch request solution for the Subscriptions API at this time.

Best,

Jaycee

Hi @Jaycee_Lewis thanks for the confirmation!