HubSpot API Documentation
This is the complete API documentation for connecting to the HubSpot API using MindCloud's Universal API. If you are new to MindCloud, start with the Introduction to see how one API can sit in front of many different apps.
MindCloud is an integration company that offers one normalized API to access 3,100+ apps from a single place. It cleans up provider-specific quirks, keeps requests and responses consistent, and centralizes authentication so you do not need to manage separate flows for every app. Browse other apps.
Meet HubSpot: HubSpot CRM. Keep reading to get started.
Quickstart
Before you run your first HubSpot request, you need three things:
- A MindCloud account — sign in or create an account at MindCloud.
- A MindCloud API Key — create one in API Keys. Keep it on your server.
- At least one HubSpot connection — create or choose one in Connections. Note its
connectionId.
Every HubSpot action uses the same URL pattern:
https://connect.mindcloud.co/v1/universal/hubspot/latest/actions/{actionSlug}You need a MindCloud API Key and a HubSpot connection. Then call an action such as Batch Read Contacts:
curl --request GET \
--url "https://connect.mindcloud.co/v1/universal/hubspot/latest/actions/batch-read-contacts" \
--header "Authorization: Bearer $MINDCLOUD_API_KEY" \
--get \
--data-urlencode "connectionId=$CONNECTION_ID"Every response comes back in the same envelope, with your rows in a data array:
{
"success": true,
"data": [
{ "id": "1042", "name": "Ava" }
],
"meta": {}
}After your first request works, use Shape your requests to control arguments, pagination, filtering, fields, and errors.
Authentication
Authentication has two layers. Your MindCloud API Key authenticates the request to MindCloud, sent as a Bearer token in the Authorization header. The connectionId selects the connected HubSpot account that should run the action. MindCloud stores and refreshes the HubSpot credentials behind that connection, so you never send provider tokens with your requests.
Pass connectionId in the query string for GET and DELETE actions, and in the JSON body for POST, PUT, and PATCH actions. Keep your MindCloud API Key on your server; do not ship it in browser code, mobile apps, public repositories, or logs.
HubSpot actions
All 85 published actions for this HubSpot version. Each page documents the endpoint, arguments, and response controls.
- PUTAssociate Records
- GETBatch Read Contacts
- GETBatch Read Engagements
- POSTCreate a Site Page
- POSTCreate Association
- POSTCreate Company
- POSTCreate Contact
- POSTCreate Custom Object
- POSTCreate Deal
- POSTCreate Deal Open
- POSTCreate Engagement
- POSTCreate Line Item
- POSTCreate Object Schema
- POSTCreate Site Pages
- DELETEDelete an Association
- DELETEDelete Company by ID
- DELETEDelete Contact by ID
- GETDelete oAuth 2.0 Refresh Token
- DELETEDelete Ticket by ID
- GETFetch List by Name
- GETGet Account Info
- GETGet All Forms
- GETGet All Properties
- POSTGet Assocations (Batch)
- GETGet Association Definitions
- GETGet Associations
- GETGet Brands by user
- GETGet Companies
- GETGet Company by ID
- GETGet Company Contacts
- GETGet Company Industries
- GETGet Contact by ID
- GETGet Contact Companies
- GETGet Contacts
- GETGet Custom Object
- GETGet Custom Object Properties
- GETGet Deal by ID
- GETGet Deal Line Items
- GETGet Email
- GETGet Emails
- GETGet File Details
- GETGet Invoice Contacts
- GETGet Invoice Line Items
- GETGet Invoice Payments
- GETGet Invoices List
- GETGet Line Item
- POSTGet Line Items Batch
- GETGet List Memberships
- GETGet Notes
- GETGet Object Types
- GETGet Owner
- GETGet Owners
- GETGet Pipeline By ID
- GETGet Pipeline Stage by Id
- GETGet Pipelines
- GETGet Products
- GETGet Quote
- GETGet Shipping Method
- GETGet Ticket by Id
- GETGet Tickets (Batch)
- GETGet User
- GETList Custom Objects
- GETList Properties
- GETList Users
- GETRead a Batch of Notes
- GETSearch Companies
- GETSearch Contacts
- GETSearch Custom Object
- GETSearch Deals
- GETSearch Engagements
- GETSearch Line Item
- GETSearch Orders
- POSTSearch Products
- POSTSearch Projects
- GETSearch Tickets
- PUTSet Marketing Contact Status
- PUTUpdate Company
- PUTUpdate Contact
- PUTUpdate Custom Object
- PUTUpdate Deal by ID
- PUTUpdate Engagement by Id
- PUTUpdate Invoice by ID
- PATCHUpdate Line Item
- PUTUpdate Ticket by Id
- POSTUpload File
Related apps
More Sales & CRM apps on the Universal API, behind the same REST shape. Or browse all apps.