Skip to main contentDeskDev API
api.desk.dev

Sites API

HTTP surface for DeskDev Sites. JSON routes live under /sites/*; this page is a Carbon status shell so the app is runnable like the others.

Health

GET /sites/health returns ok: true.

Open health

Operator provision

POST /sites/operator/provision inserts a draft sites.tenants row when Supabase env is set; empty env still returns 202 without persisting. GET /sites/operator/tenants/[slug] reads the store (503 without secrets). No Platforms attach.

Open provision

Leads

POST /sites/leads is a 202 stub for Service Pro quote forms. Validation only — no email or CRM yet.

Open leads stub

Webhooks

POST /sites/webhooks is a 202 stub. Signature verification is not implemented.

Open webhook stub