I am writing an Hubspot API integration application that syncs data between Hubspot and my companies internal application. For example, I’m wanting the functionality to pull all deals that are marked as ‘closed-won’ and insert that data into my application.
I have a working draft of my application that fires HTTP requests at specified endpoints to gather the data I need. However, I have been made aware of an official Hubspot PHP library. My questions is; would it be better for me to use the HTTP requests fired at specified endpoints method or should I be starting again and using the library. I am concerned with:
Long term support for the end-points
Any security concerns that make the PHP library method a better option
Any difference in the ease of keeping up with updates
Id prefer the endpoints method as I have found a lot of helpful support online using this method.
@MBarley While this is not a direct answer to your question, you are right to be concerned about the ease of maintaining the integration app you are building.
A possible alternative to consider is using an existing integration app in the HubSpot App Marketplace called MS SQL Server for HubSpot . (Disclosure: my firm provides this app, as well as 11 other HubSpot apps, to hundreds of companies.) The app pulls your HubSpot data into a SQL data warehouse via prebuilt API connectors. A SQL data warehouse in Azure is included in the cost. Once your HubSpot data is in the data warehouse, it automatically refreshes on a scheduled basis. You can connect the SQL data warehouse to any other application that has a SQL connector. We take care of maintaining the API endpoints so you don’t have to.