# Can't get all lists

**URL:** <https://community.hubspot.com/t/cant-get-all-lists/106559>\
**Category:** APIs & Integrations\
**Tags:** php, developer-tools\
**Created:** [May 6, 2024, 8:02pm UTC](https://community.hubspot.com/t/cant-get-all-lists/106559 "2024-05-06T20:02:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DLijin](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@DLijin](https://community.hubspot.com/u/DLijin)\
**Post date:** [May 6, 2024, 8:02pm UTC](https://community.hubspot.com/t/cant-get-all-lists/106559/1 "2024-05-06T20:02:50Z")

</div>

Hi. I’m developing a system that will receive and send data to hubspot via an API. I have a problem with endpoint:

**GET** /crm/v3/lists/

I have several lists, when requesting this point I get an empty response. But if I do a search through the ID, then the API gives me the found list. What could be the problem?

 ![2024-05-07_00-32-15.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/8/285c7a8e8d158acaa83a4a5230b3617c42a0a0c0.png)

 ![2024-05-07_00-42-04.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/5/529b38337e6b47da1a7ae59e2badfbca7c74f57a.png)

---

<div class="post-metadata">

**Author:** ![DanielPicklo](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/danielpicklo/32/64110_2.png) [@DanielPicklo](https://community.hubspot.com/u/DanielPicklo)\
**Post date:** [May 7, 2024, 2:55pm UTC](https://community.hubspot.com/t/cant-get-all-lists/106559/2 "2024-05-07T14:55:17Z")

</div>

Hello!  
This particular endpoint will need the “listIds” parameter in order to function and does not return all lists on an account if it is not provided. If you are looking to get all lists on an account, there is a legacy endpoint that will do so for contact-based lists:  
[https://legacydocs.hubspot.com/docs/methods/lists/get\_lists](https://legacydocs.hubspot.com/docs/methods/lists/get_lists)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![exitdump](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/exitdump/32/34870_2.png) [@exitdump](https://community.hubspot.com/u/exitdump)\
**Post date:** [June 13, 2024, 9:30am UTC](https://community.hubspot.com/t/cant-get-all-lists/106559/3 "2024-06-13T09:30:53Z")

</div>

The v1 legacy will be discontinued this August right, are there alternative endpoint to get all the list? problem is our is being used by multiple portal, so we will not be able to supply it a list of id statically
