Developer access

A clear API outline for case, document, appointment, and payment workflows.

The current build ships env-backed route handlers for Prisma, Stripe, and Resend, with temporary inline document storage and the core product flows exposed through the App Router API layer.

API outline
POST   /api/auth/callback/credentials
GET    /api/cases/lookup
POST   /api/documents/upload
PATCH  /api/documents/:id/verify
GET    /api/appointments/availability
POST   /api/payments/intent
POST   /api/payments/webhook

Current integration state

Contact capture, onboarding intake, auth, dashboard queries, document uploads, and payment intents are backed by live service clients and persisted through Prisma.

Remaining local stubs

Redis caching and Twilio messaging stay mocked in this repository by design. Everything else now expects real environment variables and external services.