Foundation
API Reference
All callable endpoints. Status-coded by implementation state.
API Reference
Every endpoint callable by AI sessions, workforce, and automation. Status reflects current production state.
Install Pipeline
| Endpoint | Status | Purpose |
|---|---|---|
POST /api/brand-os/intake | 🟢 locked | Insert brand row · auto-fire foundation |
POST /api/install/generate-foundation | 🟢 locked | 4-step Claude Opus chain → 13-key foundation JSON |
POST /api/install/generate-components | 🟢 locked | 14 components in parallel from foundation |
POST /api/install/sync-edits | 🟢 locked | Doc suggesting-mode edits → Supabase content_json patches |
POST /api/install/lock-component | 🟢 locked | Copy or HIFI lock per stage |
POST /api/install/build-doc | 🔴 stub | Auto LOFI Google Doc generation |
POST /api/install/render-hifi | 🔴 stub | Build HIFI from locked copy via master template |
POST /api/install/publish | 🔴 stub | Vercel alias flip · DNS pre-flight check |
Lead Capture
| Endpoint | Status | Purpose |
|---|---|---|
POST /api/landing/capture | 🟢 locked | Million Verifier email validation · Twilio phone lookup · Resend delivery |
AI Agent / Chat
| Endpoint | Status | Purpose |
|---|---|---|
POST /api/chat/turn | 🔴 stub | AI chat widget turn handler |
POST /api/chat/capture | 🔴 stub | Lead capture from chat |
POST /api/chat/escalate | 🔴 stub | Human transfer trigger |
POST /api/chat/poc-reply | 🔴 stub | POC response injection |
POST /api/agent/voice-call | 🔴 stub | VAPI voice agent integration |
Integrations
| Service | Status | Notes |
|---|---|---|
| Anthropic | 🟢 locked | Claude Opus 4.7 · foundation + component gen + extraction |
| Supabase | 🟢 locked | Brand · contacts · library · plan.tasks · jsonb |
| Resend | 🟡 partial | Domain verification pending for mcmprivatecare.com |
| Million Verifier | 🟢 locked | Email validation · fail-open |
| Twilio Lookup | 🟡 partial | Phone validation · untested with real numbers |
| Google Docs | 🟢 locked | LOFI review surface · sync-edits source |
| Vercel | 🟡 partial | Deploy · multi-tenant alias pattern |
| VAPI | 🔴 stub | Voice agent · not wired |
| cal.com | 🔴 stub | Default calendar embed (locked preference: cal.com > Calendly) |