HubSpot
Official documentation: HubSpot API docs
Authentication
HubSpot uses OAuth 2.0 for authentication. hibase handles the authorization flow automatically.
- Go to the Connections page and create a New Connection
- Select HubSpot API from the Connector dropdown
- Enter a Connection name
- Click Authenticate with OAuth — you will be redirected to HubSpot's authorization page
- Grant the requested permissions and you will be redirected back to hibase
- Click Save
hibase stores the access token securely and refreshes it automatically when it expires.
Endpoints
List Associations (API docs)
Retrieve associations between CRM objects (e.g. contacts linked to companies or deals).
| Parameter | Description | Required |
|---|---|---|
object_type |
The CRM object type to query associations for. Values: contacts, companies, deals, tickets, line_items, products, quotes |
✅ |
association_type |
The type of association to retrieve (e.g. contact_to_company). | ✅ |
archived |
Whether to include archived associations. Values: true, false |
— |
after |
Pagination cursor for the next page of results. | — |
Returned Data
Schema depends on the query. All fields from the API response are flattened into columns.
| Column | Type |
|---|---|
id |
integer |
created_at |
datetime |
updated_at |
datetime |
archived |
boolean |
associated_item_id |
integer |
associated_item_type |
string |
List Form Submissions (API docs)
Retrieve all submissions for a specific HubSpot marketing form.
| Parameter | Description | Required |
|---|---|---|
form_id |
The ID of the HubSpot form to retrieve submissions for. | ✅ |
Returned Data
| Column | Type |
|---|---|
conversion_id |
string |
submitted_at |
integer |
values |
json |
page_url |
string |
List Forms (API docs)
Retrieve all marketing forms in the HubSpot account.
Returned Data
| Column | Type |
|---|---|
id |
string |
name |
string |
created_at |
datetime |
updated_at |
datetime |
archived |
boolean |
field_groups |
json |
configuration |
json |
display_options |
json |
legal_consent_options |
json |
form_type |
string |
List Items (API docs)
Retrieve CRM object records (contacts, companies, deals, etc.) with optional property selection.
| Parameter | Description | Required |
|---|---|---|
object_type |
The CRM object type to retrieve. Values: contacts, companies, deals, tickets, line_items, products, quotes, calls, emails, meetings, notes, tasks |
✅ |
properties |
Comma-separated list of properties to include in the response. | — |
properties_with_history |
Comma-separated list of properties to include with their change history. | — |
archived |
Whether to include archived records. Values: true, false |
— |
Returned Data: Schema depends on the query. All fields from the API response are flattened into columns.
List Owners (API docs)
Retrieve all owners (users who can be assigned to CRM objects) in the HubSpot account.
Returned Data
| Column | Type |
|---|---|
id |
string |
email |
string |
first_name |
string |
last_name |
string |
user_id |
integer |
created_at |
datetime |
updated_at |
datetime |
archived |
boolean |
teams |
json |
List Pipelines (API docs)
Retrieve deal or ticket pipelines and their stages.
| Parameter | Description | Required |
|---|---|---|
object_type |
The pipeline object type. Values: deals, tickets |
✅ |
Returned Data
| Column | Type |
|---|---|
label |
string |
display_order |
integer |
created_at |
datetime |
updated_at |
datetime |
archived |
boolean |
id |
string |
stages |
json |
List Properties (API docs)
Retrieve all properties defined for a CRM object type, including custom properties.
| Parameter | Description | Required |
|---|---|---|
object_type |
The CRM object type. Values: contacts, companies, deals, tickets, line_items, products |
✅ |
archived |
Whether to include archived properties. Values: true, false |
— |
Returned Data: All fields from the API response are automatically flattened into columns.
Search Engagements (API docs)
Search engagement records (calls, emails, meetings, notes, tasks) using filters and full-text query.
| Parameter | Description | Required |
|---|---|---|
object_type |
The engagement object type. Values: calls, emails, meetings, notes, tasks |
✅ |
properties |
Comma-separated list of properties to return. | ✅ |
sorts |
JSON array of sort objects, e.g. [{"propertyName":"createdate","direction":"DESCENDING"}]. | ✅ |
query |
Full-text search query string. | — |
filter_groups |
JSON array of filter group objects for advanced filtering. | ✅ |
Returned Data: Schema depends on the query. All fields from the API response are flattened into columns.
Search Items (API docs)
Search CRM objects using filters, full-text query, and sorting.
| Parameter | Description | Required |
|---|---|---|
object_type |
The CRM object type to search. Values: contacts, companies, deals, tickets, line_items, products |
✅ |
properties |
Comma-separated list of properties to return. | ✅ |
sorts |
JSON array of sort objects. | ✅ |
query |
Full-text search query string. | — |
filter_groups |
JSON array of filter group objects for advanced filtering. | ✅ |
Returned Data: Schema depends on the query. All fields from the API response are flattened into columns.