Hi. When I try to get a company by id or a list of companies I get a response without some fields ("state", "phone", "city"). Why did it happen? How to get all the needed fields? They are present in response examples in API documentation
Hey, @MSkorbatiuk👋 In my experience, you'll need to include the JSON and Response along with the exact endpoint you are using, in order for our Community members to be able to help. Without more details, the Community will not be able to understand if there is an error or is there is some confusion that can be resolved with your use case.
Hubspot has an API method for getting the list of companies
We can use our API key for API method testing. We can call any API method from the Docs page
Screenshot 1: API method and API key using
Regarding the documentation, we expect to get data on the next format (Screenshot 2 - response example)
But when we call this method we receive the next data (Screenshot 3 - actually response):
As you can see we didn`t get a few needed and expected fields like “Phone”, “State”, “City”
When we try to call this API method from our application, using the Hubspot API client (Screenshot 4 - how we call API from code), we get the same response (Screenshot 5 - response)