Skip to main content

How Peak Leverage connects to ServiceM8

ServiceM8 is a cloud-based job management platform designed specifically for small trades and service businesses. It streamlines the entire workflow from initial customer inquiry and quoting through to field scheduling, dispatching via their iOS-exclusive app, and final invoicing.

Auth model

ServiceM8 supports two authentication paths. For public integrations serving multiple customers, it strictly uses the OAuth 2.0 Authorization Code flow. For single-account, private integrations (like a single company connecting their own website), developers can generate a dedicated API token via the ServiceM8 settings to use with HTTP Basic Auth.

API model

Data primarily flows from the website form via POST requests to the `/api_1.0/company.json` and `/api_1.0/job.json` endpoints. To keep the website's CRM in sync with ServiceM8, the integration should rely on webhook subscriptions rather than continuous API polling.