Skip to main content
This guide walks you through everything you need to make your first successful API call.

Prerequisites Checklist

Before you can call any endpoint, you need the following:
  • A Partner Account provisioned by the CleanLife integration team
  • An API Key issued for your partner account
  • The correct permissions granted to your API Key for the operations you intend to perform
Contact the CleanLife partner integration team to obtain these.

Step 1 — Obtain Your API Key

API Keys are provisioned by the CleanLife platform and are tied directly to your partner account. You cannot self-register through the API. Once provisioned, you will receive:
  • An opaque API key string
  • A list of permissions granted to the key
  • An optional rate limit (requests per minute)
Security: Treat your API Key like a password. Never embed it in client-side code (browser JavaScript, mobile apps). Always call the Partner API from your backend servers.

Step 2 — Set Required Headers

Every request to the Partner API requires the following header:

Example


Step 3 — Make Your First Call

The simplest call to verify your credentials is listing pricing tiers (no address required):
A successful response looks like:
To list bookable services by category, register a contact with address coordinates first via POST /partners/contacts, then call GET /partners/services?addressId=.... Each category in the response includes a services array — use services[].id as serviceId when booking and services[].price as the amount to charge your customer. See List Services for details. If your API key is invalid or missing, you will receive:

Step 4 — Understand Your Payment Responsibility

Every partner account has a paymentResponsibility configuration, which determines how payments for bookings are handled: This affects which endpoints are available to you and how the booking workflow behaves. Know your paymentResponsibility before integrating.

Environments

Start all integration work against the Sandbox environment. Your sandbox API key is separate from your production key — contact the CleanLife integration team to obtain both.
Example endpoint paths:

Quick Reference