# How to get all contacts subscribe with API

**URL:** <https://community.hubspot.com/t/how-to-get-all-contacts-subscribe-with-api/74010>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [January 30, 2023, 10:27am UTC](https://community.hubspot.com/t/how-to-get-all-contacts-subscribe-with-api/74010 "2023-01-30T10:27:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AGautheyrou](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@AGautheyrou](https://community.hubspot.com/u/AGautheyrou)\
**Post date:** [January 30, 2023, 10:27am UTC](https://community.hubspot.com/t/how-to-get-all-contacts-subscribe-with-api/74010/1 "2023-01-30T10:27:27Z")

</div>

Hi,  
I want to get all my subscribed contact with API, but with the doc I can see it’s a call one by one with the Email. Is there a way to get all contact with one call and not contact by contact (batch, search)?  
Thanks

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [January 30, 2023, 11:49pm UTC](https://community.hubspot.com/t/how-to-get-all-contacts-subscribe-with-api/74010/2 "2023-01-30T23:49:35Z")

</div>

Hi, @AGautheyrou 👋 Thanks for the question. You are correct that there is not a batch endpoint for this request.

Have you considered leveraging the List tool and API?

You can create an active list of subscribers and then query the list to get the contacts from the list, either all contacts on a list or only contacts recently add to a list:

- [Get contacts in a list](https://legacydocs.hubspot.com/docs/methods/lists/get_list_contacts)
- [Get recently added contacts from a list](https://legacydocs.hubspot.com/docs/methods/lists/get_list_contacts_recent?_ga=2.191038894.526945371.1675096861-1548983703.1675096861)

An example of the list filter might look like this:

 ![CleanShot 2023-01-30 at 16.46.21.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/3/b/3b10ce2043efe3ff584be08f3f2edabe297ae705.png)

This [knowledge base article](https://knowledge.hubspot.com/contacts/how-do-subscription-preferences-and-types-work#:~:text=Based%20on%20whether%20you%20have%20GDPR%20enabled) gives more detail into _opted-in_ and _not-opted-in_ statues.

Have fun building!

— Jaycee
