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?
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?
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
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
}
}
}
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
}
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