API Docs
Operational API reference for investor funnel, CRM, and admin workflows.
| Method | Path | Purpose |
|---|---|---|
| POST | /api/auth/login | Admin authentication |
| GET | /api/auth/me | Current authenticated user |
| GET,POST | /api/applications | Create and list franchise applications |
| GET,PATCH | /api/applications/:id | Application detail and status updates |
| GET | /api/applications/stats | Dashboard analytics payload |
| GET,PATCH | /api/leads | Lead list and quick updates |
| GET,PATCH | /api/pipeline | Kanban pipeline data |
| POST | /api/upload | Secure document upload |
| GET,POST | /api/cms | CMS content management |
| GET,POST | /api/meetings | Consultation scheduling |
| GET | /api/export/excel | Excel export |
| GET | /api/export/pdf | PDF export |
| GET | /api/notifications | Notification logs |