laravelhubspothubspot-crmhubspot-api

Hubspot documentation does not have proper documentation for specific tech


I tried to use the documentation indicated here, but unfortunately the example code is really difficult to follow.

For example:

enter image description here

The code from the image above returns 400 error. However, if I tried the one from the repo it works. Like so:

$response = $hubspot->crm()->companies()->basicApi()->getPage();

The toObjectType does not have description on how to use it too. Maybe there is a separate documentation?

Any idea with this?


Solution

  • Just for future reference, don't get mad at me.