How to get subscription status of my customers through API

DeepakKataria
Member

Hi Team,

 

Hope you are doing good.

 

We are integrating hubspot api into our application. We want to pull contacts along with subscription, trail statuses from HUBSPOT. Can you please provide the specific API which can provide contact details.

 

Thanks in Adavnce!!

0 Upvotes
2 Replies 2
SNigam
Contributor

Hello @DeepakKataria ,

 

This API endpoint will help you to get subscription status of contacts please refer this - click here

 

If this helps you please mark this as a solution.

 

Thank you

0 Upvotes
DeepakKataria
Member

Hi @SNigam,

 

Thank you for your response.

 

I am getting error i.e. 404 Not Found while making request on this API (https://api.hubapi.com/communication-preferences/v3/status/email/?hapikey=XXX)

 

DeepakKataria_0-1631676663417.png

 

Below is the scenario need to achive

1. Total Contact Count

2. Subscribed Contact Count

3. Unsubscribed Contact

 

Further, Do you know about engaged and unengaged contacts in HubSpot?

 

Thanks in Advance!!

 

 

0 Upvotes