HubSpot
The simplest HubSpot API you have ever seen!
Overview
The Stacksync HubSpot API Proxy provides secure, centralized access to HubSpot APIs through a single HTTPS endpoint. You authenticate with your Stacksync service token. Stacksync manages the underlying HubSpot connection.
Use it for on‑demand operational tasks, admin actions, and low‑volume reads/writes. For continuous, high‑volume sync, use Stacksync Syncs instead.
Operations:
Get
Retrieve the details of up to 100 records in a single request. The number of records returned matches the number of ids provided.
You can optionally specify a fields array to control which properties are returned for each record. If fields is omitted or an empty array ("fields": []), all available fields for each record are included in the response.
Supported objects:
Companies
Contacts
Deals
Feedback submissions
Line items
Products
Quotes
Discounts
Fees
Taxes
Tickets
Goals
Custom objects
Planned:
Owners
Associations
Audit Logs
Pipelines
Stages
Example response body:
Add a custom field to a HubSpot object
Add a custom field (property) to a HubSpot object. Both standard and custom objects are supported.
Required request body parameters:
name– Internal property name used by the API.label– Human‑readable label displayed in the HubSpot UI.type– Underlying data type of the property (for example, string, number, date).fieldType– How the property is rendered in HubSpot (for example, text input, dropdown).groupName– Property group to which the property will belong.
Each type supports one or more valid fieldType values. Using an incompatible combination will cause the request to fail. For the full list of supported types, fieldTypes, and valid combinations, refer to the HubSpot property settings documentation.
Example Response Body:
Example requests for different field types for the HubSpot Company object:
For enumeration, the options property is required. The options property is a list of objects with the following properties:
label(required) The display name of the option.value(required) The value of the option which will be used internally.description(optional) A text description for the option.hidden(optional) If true, the property won't be visible and can't be used in forms.
Example of full cURL request:
Pass Through
Make a request to any HubSpot API which supports OAuth by providing the URL, Request Method and the Request Body.Use the Pass Through operation to invoke any HubSpot API endpoint that supports OAuth authentication by specifying the full URL, HTTP method, and optional request body.
HubSpot’s developer documentation clearly indicates which endpoints are compatible with OAuth access tokens: https://developers.hubspot.com/docs/api/overview

When you call this operation, Stacksync sends a request to the target HubSpot URL using the method and body you provide. The request body is optional and may be omitted for methods such as GET or DELETE.
Example request:
Create a new HubSpot Contact
Example response:
Get the schema / columns of a standard HubSpot object
Get the schema / columns of custom Hubspot objects
Last updated