Hi team,
I have encountered an issue where the GET contacts API is giving wrong response message.
API: https://api.hubapi.com/contacts/v1/lists/1/contacts/all
Correct response when listId available but when listId is not present it still gives 200 response with empty contact.Ideally it should be 404 with response of `List Id not deleted` something like that.
Reference recording : Private claap
Can you please fix this issue in your API.
Thanks
Hi @devphoenix,
Thank you for reaching out to the Community!
I’ve asked our technical team for advice and it seems that you are using a legacy endpoint (v1).
Could you try using a more recent endpoint (v3) and see if the problem persists? Accounts Dashboard | HubSpot
Thank you,
Mia, Community team
Hi @MiaSrebrnjak
Thanks for the response, may you please share the latest API postman curl.
Also, please share the correct API which I can use to achieve the same goal to fetch all the contacts from a specific list.
Thanks