Hi all,
When I try to fetch a list using its ILS ID, I keep getting an error that it does not exist. I’m using the following curl command to fetch it. I’m removing my access-token here but I do add it while making it request.
curl --request GET \
--url 'https://api.hubapi.com/crm/v3/lists/listIds=2098?includeFilters=false’ \
--header 'authorization: Bearer ‘’
This is the response that I’m getting:
Hey, @Sumedh21d
Thanks for your post. One question, does it work if you remove the `includeFilters` param from your request? — Jaycee
I think there is an issue with how your query is structured. Using an ILS from my portal and looking at the documentation, I think your request URL should look like this:
https://api.hubapi.com/crm/v3/lists/?listIds=151&includeFilters=false
And if you are only querying one list at a time, you can use the format:
/crm/v3/lists/{listId}
I hope this helps! — Jaycee
Hi Jaycee,
Thanks for the response. When I made those changes, the error resolved but it just returns an empty list.
