<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: /crm/v3/lists/ returns empty array in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/crm-v3-lists-returns-empty-array/m-p/1106747#M80207</link>
    <description>&lt;P&gt;Hey, &lt;SPAN class="mention" data-mention="@TFredricks"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/896422"&gt;@TFredricks&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your post. Can you double-check that you are using the &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/lists/overview?_ga=2.4003888.1098323361.1739201253-1651796304.1738965583#search-for-a-list:~:text=To%20retrieve%20an,list%20ID%20below." target="_blank"&gt;&lt;STRONG&gt;list's ILS&lt;/STRONG&gt;&lt;/A&gt; and not it's ID when making your requests? I just tested and was able to retrieve the same list using all three provided methods.&lt;/P&gt;
&lt;P&gt;The List&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2025-02-10 at 08.44.24@2x.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/138062i52032E5A729319FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2025-02-10 at 08.44.24@2x.png" alt="CleanShot 2025-02-10 at 08.44.24@2x.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Get List by ILS:&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI-CODE lang="javascript"&gt;https://api.hubapi.com/crm/v3/lists/47&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;{
    "list": {
        "listId": "47",
        "listVersion": 1,
        "createdAt": "2023-04-07T18:20:25.044Z",
        "updatedAt": "2024-05-22T05:40:01.999Z",
        "filtersUpdatedAt": "2023-04-07T18:20:25.044Z",
        "processingStatus": "COMPLETE",
        "createdById": "10233975",
        "processingType": "DYNAMIC",
        "objectTypeId": "0-1",
        "name": "Owner test",
        "size": 15,
        "listPermissions": {
            "teamsWithEditAccess": [],
            "usersWithEditAccess": []
        },
        "membershipSettings": {
            "membershipTeamId": null,
            "includeUnassigned": null
        }
    }
}&lt;/LI-CODE&gt;
&lt;UL&gt;
&lt;LI&gt;Search for List:&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI-CODE lang="javascript"&gt;POST https://api.hubapi.com/crm/v3/lists/search&lt;/LI-CODE&gt;
&lt;P&gt;Body&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
  "query": "Owner"
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;{
    "offset": 1,
    "hasMore": false,
    "lists": [
        {
            "listId": "47",
            "listVersion": 1,
            "createdAt": "2023-04-07T18:20:25.044Z",
            "updatedAt": "2024-05-22T05:40:01.999Z",
            "filtersUpdatedAt": "2023-04-07T18:20:25.044Z",
            "processingStatus": "COMPLETE",
            "createdById": "10233975",
            "processingType": "DYNAMIC",
            "objectTypeId": "0-1",
            "name": "Owner test",
            "additionalProperties": {
                "hs_list_reference_count": "0",
                "hs_last_record_added_at": "1734039926585",
                "hs_list_size": "15"
            }
        }
    ],
    "total": 1
}&lt;/LI-CODE&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;nbsp;Search by list name&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI-CODE lang="javascript"&gt;https://api.hubapi.com/crm/v3/lists/object-type-id/0-1/name/Owner Test&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;{
    "list": {
        "listId": "47",
        "listVersion": 1,
        "createdAt": "2023-04-07T18:20:25.044Z",
        "updatedAt": "2024-05-22T05:40:01.999Z",
        "filtersUpdatedAt": "2023-04-07T18:20:25.044Z",
        "processingStatus": "COMPLETE",
        "createdById": "10233975",
        "processingType": "DYNAMIC",
        "objectTypeId": "0-1",
        "name": "Owner test",
        "size": 15,
        "listPermissions": {
            "teamsWithEditAccess": [],
            "usersWithEditAccess": []
        },
        "membershipSettings": {
            "membershipTeamId": null,
            "includeUnassigned": null
        }
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding an example of your request can help the community troubleshoot along with you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
    <pubDate>Mon, 10 Feb 2025 15:55:08 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2025-02-10T15:55:08Z</dc:date>
    <item>
      <title>/crm/v3/lists/ returns empty array</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/crm-v3-lists-returns-empty-array/m-p/1105952#M80190</link>
      <description>&lt;P&gt;I have lists in my hubspot instance however every way I have tried to call&amp;nbsp;/crm/v3/lists/ just returns an empty array&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Passing a list id and all other list endpoints are working as expected&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone encoutered this?&lt;/P&gt;</description>
      <pubDate>Sat, 08 Feb 2025 02:01:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/crm-v3-lists-returns-empty-array/m-p/1105952#M80190</guid>
      <dc:creator>TFredricks</dc:creator>
      <dc:date>2025-02-08T02:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: /crm/v3/lists/ returns empty array</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/crm-v3-lists-returns-empty-array/m-p/1106747#M80207</link>
      <description>&lt;P&gt;Hey, &lt;SPAN class="mention" data-mention="@TFredricks"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/896422"&gt;@TFredricks&lt;/a&gt;&lt;/SPAN&gt; &lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for your post. Can you double-check that you are using the &lt;A href="https://developers.hubspot.com/docs/guides/api/crm/lists/overview?_ga=2.4003888.1098323361.1739201253-1651796304.1738965583#search-for-a-list:~:text=To%20retrieve%20an,list%20ID%20below." target="_blank"&gt;&lt;STRONG&gt;list's ILS&lt;/STRONG&gt;&lt;/A&gt; and not it's ID when making your requests? I just tested and was able to retrieve the same list using all three provided methods.&lt;/P&gt;
&lt;P&gt;The List&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2025-02-10 at 08.44.24@2x.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/138062i52032E5A729319FD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2025-02-10 at 08.44.24@2x.png" alt="CleanShot 2025-02-10 at 08.44.24@2x.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Get List by ILS:&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI-CODE lang="javascript"&gt;https://api.hubapi.com/crm/v3/lists/47&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;{
    "list": {
        "listId": "47",
        "listVersion": 1,
        "createdAt": "2023-04-07T18:20:25.044Z",
        "updatedAt": "2024-05-22T05:40:01.999Z",
        "filtersUpdatedAt": "2023-04-07T18:20:25.044Z",
        "processingStatus": "COMPLETE",
        "createdById": "10233975",
        "processingType": "DYNAMIC",
        "objectTypeId": "0-1",
        "name": "Owner test",
        "size": 15,
        "listPermissions": {
            "teamsWithEditAccess": [],
            "usersWithEditAccess": []
        },
        "membershipSettings": {
            "membershipTeamId": null,
            "includeUnassigned": null
        }
    }
}&lt;/LI-CODE&gt;
&lt;UL&gt;
&lt;LI&gt;Search for List:&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI-CODE lang="javascript"&gt;POST https://api.hubapi.com/crm/v3/lists/search&lt;/LI-CODE&gt;
&lt;P&gt;Body&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
  "query": "Owner"
}&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;{
    "offset": 1,
    "hasMore": false,
    "lists": [
        {
            "listId": "47",
            "listVersion": 1,
            "createdAt": "2023-04-07T18:20:25.044Z",
            "updatedAt": "2024-05-22T05:40:01.999Z",
            "filtersUpdatedAt": "2023-04-07T18:20:25.044Z",
            "processingStatus": "COMPLETE",
            "createdById": "10233975",
            "processingType": "DYNAMIC",
            "objectTypeId": "0-1",
            "name": "Owner test",
            "additionalProperties": {
                "hs_list_reference_count": "0",
                "hs_last_record_added_at": "1734039926585",
                "hs_list_size": "15"
            }
        }
    ],
    "total": 1
}&lt;/LI-CODE&gt;
&lt;UL&gt;
&lt;LI&gt;&amp;nbsp;Search by list name&lt;/LI&gt;
&lt;/UL&gt;
&lt;LI-CODE lang="javascript"&gt;https://api.hubapi.com/crm/v3/lists/object-type-id/0-1/name/Owner Test&lt;/LI-CODE&gt;&lt;LI-CODE lang="javascript"&gt;{
    "list": {
        "listId": "47",
        "listVersion": 1,
        "createdAt": "2023-04-07T18:20:25.044Z",
        "updatedAt": "2024-05-22T05:40:01.999Z",
        "filtersUpdatedAt": "2023-04-07T18:20:25.044Z",
        "processingStatus": "COMPLETE",
        "createdById": "10233975",
        "processingType": "DYNAMIC",
        "objectTypeId": "0-1",
        "name": "Owner test",
        "size": 15,
        "listPermissions": {
            "teamsWithEditAccess": [],
            "usersWithEditAccess": []
        },
        "membershipSettings": {
            "membershipTeamId": null,
            "includeUnassigned": null
        }
    }
}&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Adding an example of your request can help the community troubleshoot along with you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best,&lt;/P&gt;
&lt;P&gt;Jaycee&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 15:55:08 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/crm-v3-lists-returns-empty-array/m-p/1106747#M80207</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2025-02-10T15:55:08Z</dc:date>
    </item>
  </channel>
</rss>

