Skip to content

HubSpot ​

Chat with CRM data for contacts, deals, and insights.

FamilyCategorySub-typeAuth type
Productivityproductivitycrmbearer_token

Overview ​

Product URLAPI docsSupported features
https://www.hubspot.com/products/crmhttps://developers.hubspot.com/docstool_discovery, health_check, approval_gated_writes

Setup ​

  1. Install the connector instance.
  2. Store the provider token or connection secret.
  3. Sync the tools and test the connection.
  4. Review approval-gated write tools before running them.

Auth & Configuration ​

This connector does not require additional instance config.

Available Tools ​

ToolRequires approvalDescription
list_contactsNoList CRM contacts.
search_contactsNoSearch contacts by a CRM property.
get_contactNoRetrieve a contact by ID.
list_dealsNoList CRM deals.
create_contactYesCreate a new HubSpot contact.
update_contactYesUpdate an existing contact.

Use list_contacts for the main execution example below because it is safe to run without approval.

Examples ​

Install ​

curl -X POST "https://api.chainabit.com/api/v1/connectors/instances" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "connectorKey": "hubspot",
  "displayName": "HubSpot"
}'

Credentials ​

curl -X POST "https://api.chainabit.com/api/v1/connectors/instances/$INSTANCE_ID/credentials" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "credType": "bearer_token",
  "credentials": {
    "token": "YOUR_BEARER_TOKEN"
  }
}'

Execute ​

curl -X POST "https://api.chainabit.com/api/v1/connectors/instances/$INSTANCE_ID/tools/tool_list_contacts/execute" \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {}
}'

Security Notes ​

  • Keep tokens, API keys, and connection strings in the encrypted credentials vault.
  • Do not allow arbitrary server URLs for remote MCP connectors.
  • Mutating tools are approval-gated. Review the payload before executing them.

Troubleshooting ​

  • If the health check fails, verify the token scope or credential payload and try again.
  • If the tool list is empty, re-run sync-tools after storing the latest credentials.

Back to the catalog

Built with purpose. chainabit.com