> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://apidocs.polytomic.com/2024-02-08/guides/configuring-your-connections/connections/hubspot/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server. # HubSpot Supports: * ✅ Models * ✅ Model sync destination * ✅ Bulk sync source * ✅ Connection Proxy ## Connection ### Configuration
NameTypeDescriptionRequired
client_id string optional
client_secret string optional
include_static_list_support boolean Enable segment (list) support optional
oauth_refresh_token string optional
use_search_api boolean Use HubSpot incremental API for bulk syncs optional
Read-only propertyTypeDescription
hub_domain string HubSpot domain
hub_user string HubSpot user
#### Example ```json { "name": "HubSpot connection", "type": "hubspot", "configuration": { "client_id": "a45gadsfdsaf47byor2ugfbhsgllpf12gf56gfds", "client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq", "include_static_list_support": false, "oauth_refresh_token": "dasfdasz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq", "use_search_api": false } } ``` ## Model Sync ### Source #### Configuration
NameTypeDescriptionRequired
list_id string Records optional
stream_id string optional
#### Example ```json { ... "configuration": { "list_id": "", "stream_id": "companies" } } ``` ### Target HubSpot connections may be used as the destination in a model sync. Some destinations support additional configuration. #### Companies Applies to: * `companies` ##### Configuration
NameTypeDescriptionRequired
create_with_empty_identity boolean Sync records with an empty identity value

Do not omit records with an empty identity value from create or create and update mode syncs when hs_object_id is the identity mapping.
optional
ingestion_api string Ingestion API

Accepted values: `automatic`, `object`
optional
invalid_relationships string Records with invalid relationship IDs

Accepted values: `error`, `omit_values`, `omit_records`
optional
match_additional_domains boolean Match against HubSpot's 'Additional domains' field optional
replace_associations boolean Replace existing relationships optional
write_null_values boolean Copy null values optional
##### Example ```json { ... "target": { "configuration": { "create_with_empty_identity": false, "ingestion_api": "automatic", "invalid_relationships": "omit_values", "match_additional_domains": false, "replace_associations": false, "write_null_values": false } } } ``` #### Contacts Applies to: * `contacts` ##### Configuration
NameTypeDescriptionRequired
create_with_empty_identity boolean Sync records with an empty identity value

Do not omit records with an empty identity value from create or create and update mode syncs when hs_object_id is the identity mapping.
optional
ignore_additional_emails boolean Ignore HubSpot's 'Additional emails' field optional
ingestion_api string Ingestion API

Accepted values: `automatic`, `object`
optional
invalid_relationships string Records with invalid relationship IDs

Accepted values: `error`, `omit_values`, `omit_records`
optional
replace_associations boolean Replace existing relationships optional
write_null_values boolean Copy null values optional
##### Example ```json { ... "target": { "configuration": { "create_with_empty_identity": false, "ignore_additional_emails": true, "ingestion_api": "automatic", "invalid_relationships": "omit_values", "replace_associations": false, "write_null_values": false } } } ``` #### Other targets ##### Configuration
NameTypeDescriptionRequired
create_with_empty_identity boolean Sync records with an empty identity value

Do not omit records with an empty identity value from create or create and update mode syncs when hs_object_id is the identity mapping.
optional
ingestion_api string Ingestion API

Accepted values: `automatic`, `object`
optional
invalid_relationships string Records with invalid relationship IDs

Accepted values: `error`, `omit_values`, `omit_records`
optional
replace_associations boolean Replace existing relationships optional
write_null_values boolean Copy null values optional
##### Example ```json { ... "target": { "configuration": { "create_with_empty_identity": false, "ingestion_api": "automatic", "invalid_relationships": "omit_values", "replace_associations": false, "write_null_values": false } } } ``` ## Bulk Sync ### Source #### Configuration
NameTypeDescriptionRequired
include_archived boolean Include archived HubSpot records optional
#### Example ```json { ... "source_configuration": { "include_archived": false } } ```