Read bookings, customers, services and payments, create bookings, booking notes, customers and leads, and subscribe to webhooks. A REST API with JSON in and out, one key per app, and nothing that moves money.
Send the key as a bearer token on every request: Authorization: Bearer qk_live_…. A key is qk_live_ followed by 43 letters and digits, and it works for one workspace only.
Keys are created and revoked by a workspace admin under Integrations, API keys, on a plan that includes the API. A workspace can have 20 active keys. The full key is shown once; afterwards only its first characters are.
Revoking a key stops it at once (401) and turns off every webhook subscription it created.
Requests with a missing or invalid key are limited to 120 a minute per client IP; past that they answer 429.
Scopes
Scope
Allows
Endpoints
bookings:read
Read bookings
GET /bookingsGET /bookings/{id}
bookings:write
Create bookings and notes
POST /bookingsPOST /bookings/{id}/notes
customers:read
Read customers
GET /customersGET /customers/{id}
customers:write
Create customers and edit their tags
POST /customersPATCH /customers/{id}
leads:write
Create leads
POST /leads
services:read
Read services
GET /servicesGET /services/{id}/questions
payments:read
Read payments
GET /paymentsGET /payments/{booking_id}
webhooks:manage
Subscribe to webhooks
GET /hooksPOST /hooksDELETE /hooks/{id}
Every key can call GET /me and GET /locations.
Presets in the admin screen:
Zapier / Make — full access: bookings:read, bookings:write, customers:read, customers:write, leads:write, services:read, payments:read, webhooks:manage
JSON in and out (Content-Type: application/json). There are no CORS headers: call the API from a server, never from a browser.
Money is an object: { "amount": "149.00", "currency": "MXN" }, a decimal string in major units, in the currency of the location.
Dates are YYYY-MM-DD and times HH:MM, both in the location’s time zone (each booking carries timezone). Instants such as created_at are ISO 8601 in UTC.
Ids are UUIDs. An id of another workspace answers 404, the same as an id that does not exist.
Payments are read-only. No endpoint charges, refunds or records a payment, and creating a booking never takes money.
Pagination
Lists answer { "data": [...], "next_cursor": "…" | null }, ordered by last change, newest first (updated_at, then id).
Pass limit (1 to 100, default 25) and, for the next page, cursor set to the previous next_cursor. A null cursor is the last page. The cursor is opaque; send it back unchanged.
Paging is keyset-based: records you have not reached are never shifted or repeated, but a record that changes while you page moves ahead of your cursor and is not returned in this pass. To catch those changes, page again with updated_since set to when this pass started; to sync later changes, use the time your last sync started.
Idempotency
Every POST accepts an Idempotency-Key header (up to 255 printable characters). Retrying with the same key and the same body returns the first answer again, with Idempotent-Replayed: true, for 24 hours.
The same key with another body, another endpoint or another API key answers 409 idempotency_conflict; while the first request is still running it answers 409 conflict. A failed request (5xx) frees the key, so retry with it.
Use one key per thing you create, for example the id of the record in your system.
Per API key: 120 reads (GET) and 30 writes (POST, DELETE) a minute. Per workspace, all keys together: 600 requests a minute.
Every authenticated answer carries X-RateLimit-Limit and X-RateLimit-Remaining for the key's bucket. Over a limit the answer is 429 rate_limited with Retry-After in seconds.
Errors
Errors answer with an HTTP status and { "error": { "code", "message", "details"? } }. Branch on code; message is for people and may change.
Code
Status
Meaning
unauthorized
401
The Authorization header is missing or malformed, or the key is unknown or revoked.
forbidden_scope
403
The key lacks the scope this operation needs (details.required_scope).
plan_required
403
The workspace's plan does not include the API (or, for POST /hooks, webhooks; for POST /customers, room for another active client).
tenant_unavailable
403
The workspace is suspended, archived or inactive.
not_found
404
No such object in this workspace. Ids of other workspaces are a 404 too, never a 403.
validation_failed
422
The query or body is not valid. details.issues lists every problem as { path, message }.
conflict
409
A request with the same Idempotency-Key is still running, or the workspace already has 100 webhook endpoints (POST /hooks).
slot_unavailable
409
POST /bookings: that date and time is taken, closed or not offered.
idempotency_conflict
409
The Idempotency-Key was already used with another body, route or API key.
rate_limited
429
Too many requests. Wait the Retry-After seconds.
internal
500
Something failed on our side. Retry later; POSTs are safe to retry with the same Idempotency-Key.
Example: a body with an invalid email · 422
{
"error": {
"code": "validation_failed",
"message": "The request is not valid.",
"details": {
"issues": [
{
"path": "email",
"message": "Must be an email address."
}
]
}
}
}
Versioning
/v1 only changes additively: new endpoints, new fields, new events and new enum values can appear at any time, so ignore what you do not know.
Removing or renaming anything needs a new version (/v2) and six months of notice. Webhook payloads carry "version": 1 and follow the same rule.
Endpoints
Generated from the same table as the OpenAPI document. Request bodies and answers below are real outputs of the API code for sample data. The OpenAPI document describes every schema in full.
Account
GET/me
The key's workspace and the key itself (connection test)
Scope: any key
Responses
200 The workspace and key
401 Missing, malformed, unknown or revoked API key (unauthorized)
403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
Create a booking (priced and checked like a calculator booking; no payment is taken)
Scope: bookings:write
Parameters
Name
In
Type
Description
Idempotency-Key
header
string
Retry safely: the same key and body replay the first answer for 24 hours.
Body
Name
Type
Description
location_id
uuid
required.
service_id
uuid
required.
date
date
required. YYYY-MM-DD, location time.
time
string
required. HH:MM, location time: an offered slot.
customer_id
uuid
optional.
customer
object
optional. Matched to an existing customer by email, else created with these fields (as POST /customers).
address
object
required. The service address. A known building can also be named in answers.building_id, as in the calculator.
answers
object
optional. The calculator answers for this service, same keys as the calculator (e.g. bedrooms, addons). Each answer is converted to the type of its question before pricing ("2" → 2 for a counter, 24 → "24" for a select).
notes
string
optional. Instructions for the team (shown as special instructions).
notify_client
boolean
optional. Send the client the booking confirmation (and, when the business requires a card, the card request).
Responses
201 The booking
401 Missing, malformed, unknown or revoked API key (unauthorized)
403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
404 location_id, service_id or customer_id is not one of this workspace (not_found)
409 The date and time is taken, closed or not offered (slot_unavailable), or the Idempotency-Key reused with another body (idempotency_conflict) or still in progress (conflict)
422 The body is not valid (validation_failed); missing required answers are listed in details.missing_answers
List or find customers, most recently changed first
Scope: customers:read
Parameters
Name
In
Type
Description
email
query
email
Exact email address (case-insensitive).
phone
query
E.164
Exact phone number in E.164 format.
updated_since
query
date-time
Only customers changed at or after this instant.
tag
query
string
Only customers who have this tag. Case, accents and extra spaces are ignored where the workspace uses managed client tags; an unknown tag gives an empty list.
limit
query
integer 1–100
Page size, 25 by default.
cursor
query
string
The next_cursor of the previous page.
Responses
200 A page of customers
401 Missing, malformed, unknown or revoked API key (unauthorized)
403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
422 A query parameter, limit or cursor is not valid (validation_failed)
Retry safely: the same key and body replay the first answer for 24 hours.
Body
Name
Type
Description
first_name
string
required.
last_name
string
optional.
email
email
required.
phone
E.164
optional.
preferred_lang
en | es
optional.
location_id
uuid
optional.
tags
string[]
optional.
source
string
optional. Where the person came from, in your own words (e.g. facebook, google, spring_flyer). A known name is recorded as that source; anything else is recorded as an integration source with your label. Only a customer this call creates gets it.
Responses
200 A customer with this email already exists: that customer, unchanged (created: false). Without the customers:read scope only id, object and created are returned.
201 The new customer (created: true)
401 Missing, malformed, unknown or revoked API key (unauthorized)
403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
404 location_id is not one of this workspace (not_found)
409 The Idempotency-Key reused with another body (idempotency_conflict) or still in progress (conflict)
Retry safely: the same key and body replay the first answer for 24 hours.
Body
Name
Type
Description
add_tags
string[]
optional.
remove_tags
string[]
optional.
Responses
200 The customer with the tags added and removed. tags_added and tags_removed count the changes that really happened (a repeated request answers 0 and 0). Without the customers:read scope only id, object and the counts are returned.
401 Missing, malformed, unknown or revoked API key (unauthorized)
403 The key lacks the scope (forbidden_scope), the plan lacks the API (plan_required) or the workspace is suspended (tenant_unavailable)
404 No such customer (not_found)
409 The tags changed while the request ran, or the Idempotency-Key reused with another body (idempotency_conflict) or still in progress (conflict)
422 The body is not valid, or the change would give a customer more than 50 tags or the workspace more than 300 active tags (validation_failed)