Skip to navigation

Getting started

The Moxie scheduling API serves the customer booking site and the admin portal. This reference is generated from the API contract (openapi.yaml), the same file the backend is tested against, so it always matches what is deployed.

Environments

EnvironmentBase URL
Devhttps://schedule-api-dev.moxieservices.com
Prodhttps://schedule-api.moxieservices.com

How callers are checked

AreaHow
Admin portal (/v1/admin/...)A bearer token from POST /v1/admin/session, which only accepts active company Google accounts. Every route checks the user’s permissions and offices on the server.
Customer signup (/v1/signup/...)Starting a signup needs a Cloudflare Turnstile check; each signup then needs its own link token in the X-Link-Token header.
Public catalog and termsOpen, rate-limited.

There are no cookies. Money is in whole cents. Every editable record carries a version; a stale one returns 409 version_conflict. Errors share one shape: code, message, requestId and, where relevant, fieldErrors.

Keeping up to date

What is live in dev, and its known behaviors, is listed in the backend repository’s docs/frontend/api-status.md.