APIs & Integrations

TFredricks
Member

/crm/v3/lists/ returns empty array

I have lists in my hubspot instance however every way I have tried to call /crm/v3/lists/ just returns an empty array

 

Passing a list id and all other list endpoints are working as expected

 

Has anyone encoutered this?

0 Upvotes
1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

/crm/v3/lists/ returns empty array

Hey, @TFredricks 👋 Thanks for your post. Can you double-check that you are using the list's ILS 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.

The List

CleanShot 2025-02-10 at 08.44.24@2x.png

  • Get List by ILS:
https://api.hubapi.com/crm/v3/lists/47
{
    "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
        }
    }
}
  • Search for List:
POST https://api.hubapi.com/crm/v3/lists/search

Body

{
  "query": "Owner"
}
{
    "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
}
  •  Search by list name
https://api.hubapi.com/crm/v3/lists/object-type-id/0-1/name/Owner Test
{
    "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
        }
    }
}

 

Adding an example of your request can help the community troubleshoot along with you.

 

Best,

Jaycee


Join us on March 27th at 12 PM for the Digital Essentials Lab, an interactive session designed to redefine your digital strategy!
Engage with expert Jourdan Guyton to gain actionable insights, participate in live Q&A, and learn strategies to boost your business success.
Don't miss this opportunity to connect and grow—reserve your spot today!


Did you know that the Community is available in other languages?
Join regional conversations by changing your language settings !
0 Upvotes