Hello, I’m just starting to use HubSpot. I pulled the source code from GitHub, Master branch, and made a call to HubSpot APi Contact.List(). The code was trying to get data from https://api.hubapi.com/contacts/v1/lists/all/contacts/allcount=20
But then it returns 404 Page not found. Is this the correct url for getting contact list?
Also, when I tried to call HupSpotAPI Company.ListI(), the code was trying to get data from https://api.hubapi.com/companies/v2/companies/pagedcount=20
and I got “unauthorized”. The code does not seem to send Bearer Token in the header.
Is there a HubSpot branch in GitHub that I should pull from, because this is coming out of the Master branch (GitHub - hubspot-net/HubSpot.NET: C# .NET Wrapper around the common HubSpot APIs. · GitHub) and it is not working. Thank you