HubSpot

The HubSpot connector enables easy and secure data synchronization between your application and your customers’ HubSpot accounts through unified data models.

Authorization

import { Morph } from "@runmorph/cloud";

const morph = Morph({ publicKey: "pk_demo_xxxxxxxxxxxxxxx", secretKey: "sk_demo_xxxxxxxxxxxxxxx"}); 

// create a new connection
const connection = morph.connections({ connectorId: "hubspot", ownerId: "demo" });
await connection.create({ operations:[ "genericContact::list" ]});

// auhtorize the connection
const { auhtorizationUrl } = await connection.authorize();

// redirect the user to the auhtorizationUrl

Models

Generic

CRM

Ticketing

Widget

Custom

Supported
Can’t find the unified model you need? The HubSpot connector supports your own custom model.

Webhooks

Proxy

Supported
The HubSpot connector supports our Proxy Request feature, allowing you to directly call any endpoints from HubSpot’s public API without needing to handle authentication. Your customer’s token will be automatically set and refreshed as needed, enabling quick implementation of custom connector behaviors. View API Reference.