HubSpot
A marketing, sales, and service platform that helps businesses attract, convert, and retain customers with integrated tools.
https://api.hubapi.com
Proxy
const bundleup = new BundleUp('Zw7Lt7...');
const proxy = bundleup.proxy('conn_abc123');
const response = await proxy.get('/[...]'); MCP
import { Agent, run, hostedMcpTool } from '@openai/agents';
const bundleup = new BundleUp('Zw7Lt7...');
const { url, token } = bundleup.mcp('conn_abc123').hosted();
const agent = new Agent({
name: 'Assistant',
tools: [
hostedMcpTool({
serverLabel: 'hubspot',
serverUrl: url,
authorization: token
})
],
}); Unified API
const bundleup = new BundleUp('Zw7Lt7...');
const unify = bundleup.unify('conn_abc123');
const response = await unify.me();Unified API Endpoints
/me
Retrieve the HubSpot account this connection is authenticated as. HubSpot tokens identify a portal rather than a user, so this returns the portal ID and its UI domain.
/crm/companies
Retrieve a list of companies from HubSpot.
/crm/contacts
Retrieve a list of contacts from HubSpot.
