ServiceM8

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

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

// redirect the user to the auhtorizationUrl

Models

Generic

Custom

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

Webhooks

Proxy

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