APIs & Integrations

DashThisDev
Contributor

Contacts Lists Deprecation

Hello!

 

We are currently beginning the development of our integration to multiple Hubspot API endpoints.

 

As we're looking to retrieve mailing list subscribers count (from what I understand, this is a Contacts List), we'll probably use this endpoint:

 

https://legacydocs.hubspot.com/docs/methods/lists/get_list_contacts

 

From what I understand, though, this is a deprecated API. No sunset announced yet but as we're striving to develop for the future, is there any other endpoint we could use? Or will this endpoint be sunsetted eventually?

 

Thanks 🙂

0 Upvotes
2 Replies 2
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Contacts Lists Deprecation

Hey @DashThisDev ,

 

That endpoint isn't planned for sunset in the near future; many of our APIs currently have new versions in development, which can be found in our new docs here, but that doesn't mean that all of the exisitng APIs are deprecated just yet.

 

There currently isn't a new Contact Lists API, so for now the endpoint you've linked to is the best way to get the contacs in a list. Stay tuned for updates by subscribing to our changelog.

0 Upvotes
DashThisDev
Contributor

Contacts Lists Deprecation

Hi Derek,

 

Thanks for the answer 🙂

 

Great to know!

 

I'll subscribe, for sure.