API allcontacts not showing Unsubscribe or Bounce information

Hello,

I have made use of the allcontacts api (https://developers.hubspot.com/docs/methods/contacts/get_contacts) but am having issues figuring out how to get Bounce counts and subscription status (unsubscribe status). Anybody able to provide information to get this information. I know it can be done for a single contact using the get_status(https://developers.hubspot.com/docs/methods/email/get_status) but I essentially need to do this for All contacts and have not found a way to do this.

Hi @cyberjudge,

Per David’s comment in this post

Get subscription status for multiple emails using a single API request Email

Hi @dmytro Currently the API only supports getting the subscription details for a single email at a time. As an alternative to using the Email API, you can use the Contacts API to get the contact properties for multiple email addresses in a single request, and look at the hs_email_optout to get the status of the contact (if that property is true, the contact is opted out of email). You’ll also have other hs_email_optout_[subscription id] properties for each subscription type you have set up t…

— there is no “all contacts” version of this endpoint, but you can include properties like hs_email_bounce, hs_email_optout, and hs_email_optout_[subscription id] in Get all contacts requests and it should return values if they exist. I just confirmed this behavior in my own portal.