FreshBooks

The FreshBooks connector enables easy and secure data synchronization between your application and your customers’ FreshBooks 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: "freshbooks", ownerId: "demo" });
await connection.create({ operations:[ "genericContact::list" ]});

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

// redirect the user to the auhtorizationUrl

Models

Generic

Accounting

Custom

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

Webhooks

Proxy

Supported
The FreshBooks connector supports our Proxy Request feature, allowing you to directly call any endpoints from FreshBooks’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.