Client libraries are designed to help you interact with the HubSpot APIs with less friction. They are written in several different languages and help bridge the gap between your application and HubSpot’s APIs. They take away the need to know the exact URL and HTTP method to use for each API call among other things leaving you more time to focus on making your application.
Starting from the source code that powers the HubSpot application, HubSpot generate documents that describe our APIs using the Open API format. Those documents are fed into the Open API code generator, these generated files end up in the libraries, but this isn’t the end of the story. A team of developers at HubSpot take the output of this code generation and add more value to it by adding utility functions to help with things like rate limiting as well as number of example applications to show how to use the libraries in practice. These examples cover a wide range of use cases so be sure to take advantage of them.
Use the endpoint below to access the available Open API specifications
To start using these client libraries, you'll need a HubSpot account, either a standard account or an app developer account. This will enable you to create a private app so that you can use the private app token to authenticate your calls. You can also create a HubSpot developer account and use OAuth to authenticate your calls.
Once you have a HubSpot account and a private app access token or OAuth token, you can install the library. Below, see an example of installing the Node.JS client, instantiating the client, and general usage.
Thank you for your feedback, it means a lot to us.