✓ API online

WingMan Local Alpha API

This is the visible API status/index page for the WingMan transformation engine.

Target: middle-aged men facing emotional imbalance, body decline, relationship drift, forgotten commitments, loss of purpose, midlife crisis and body/mind/soul disconnection.

Product role: WingMan is the man’s personal CRM for daily life — people, promises, body state, emotional state, purpose, actions and weekly review in one local-first command system.

The app and API are served from the same origin so mobile browsers only need one reachable URL.

Health JSON: /api/health

MethodEndpointPurpose
GET/api/healthBridge health JSON
GET/api/membershipFounding Pro status (501 while FOUNDING_PRO_ENABLED is off)
POST/api/membership/checkoutPolar checkout when POLAR_ENABLED is on; Stripe skeleton stays unpaid
POST/api/membership/webhookPolar webhook signature check (public route; 501 while POLAR_ENABLED is off)
GET/rewire-test.htmlPhone-testable REWIRE anxiety/freeze/decision algorithm HTML
POST/api/onboarding/intakeOnboarding intake engine
POST/api/user-pack/next-7-daysNext 7 recommendations
POST/api/weekly-review/cycle-adaptationCycle adaptation
POST/api/cycle-history/strategy30-day strategy from cycle history
POST/api/strategy/refine-from-performanceStrategy refinement
POST/api/orchestrator/daily-commandDaily Command Center
POST/api/orchestrator/weekly-reviewWeekly Review Orchestrator
POST/api/goal-revision/analyzeGoal revision transformation map
POST/api/gratitude/planGratitude / reframe plan
POST/api/masculinity/planMasculinity frame and boundary plan
POST/api/action-queue/export-pdfDownload today's action queue as PDF
POST/api/action-queue/executeClose or shrink one Action Queue item
POST/api/dopamine/planDopamine and urge regulation plan
POST/api/awareness/planAwareness tolerance-window and pattern plan
POST/api/life-vision/planFinding Life Purpose / Yaşam amacı yön planı
POST/api/goals-90-day/plan90 gün misyon + 21 gün kimlik kanıtı
POST/api/tracking-progress/planTracking Progress OS + 21 günlük kimlik kanıtı
GET/api/rewire/schemaREWIRE field schema
POST/api/rewire/checkinREWIRE daily old-code check-in
POST/api/rewire/planREWIRE neuroplasticity plan
POST/api/rewire/emotional-granularityDuygusal Ayrıştırma + Kal & Sön protocol
POST/api/rewire/hedonic-adaptationHedonik Adaptasyon Eksiklik Ağı REWIRE protocol
POST/api/rewire/inner-voiceInner voice transformation protocol
POST/api/rewire/weekly-reviewWeekly REWIRE integration review
POST/api/limiting-beliefs/planDüşünce kalıbı ve küçük adım rehberi
POST/api/decision-matrix/planBirleşik zihin: gerçek, karar ve küçük eylem
GET/api/financial/schemaFinancial Planner input schema
POST/api/financial/planFinancial plan: cash flow, net worth, debt, health score
GET/api/financial-analysis/schemaFinancial Analysis input/output schema
POST/api/financial-analysis/analyzeFinancial Analysis: 30/60/90 decision support from a Planner snapshot
POST/api/meals/logLog a meal for today's nutrition tracking
GET/api/meals/todayRead today's logged meals
POST/api/foundation/events/logLog Diet/Exercise/Supplements/Nature tracking events
GET/api/foundation/events/todayRead today's Foundation tracking events
GET/api/foundation/report?period=dailyFoundation daily/weekly/monthly report summary
POST/api/foundation/daily-planFoundation Daily Plan aggregator
POST/api/chatbot/messageWingMan chatbot prompt intake and routing
POST/api/contact/registerCorporate contact and user registration form; stores lead and emails WingMan
GET/api/crmPersonal CRM people list
GET/api/crm/dashboardPersonal CRM dashboard
GET/api/crm/activityPersonal CRM contact activity
POST/api/crmAdd a Personal CRM contact
GET/api/today/stateToday Dashboard current state
POST/api/today/generateGenerate today's Foundation timeline
POST/api/diet/planPersonalized diet plan (21-day reset + IF)
POST/api/exercise/planPersonalized exercise plan (weekly + readiness)
POST/api/recovery/planPersonalized recovery + supplements safety plan
POST/api/nature/planPersonalized Nature Reset plan
GET/api/heartbeatServer + user heartbeat health
GET/api/heartbeat/userUser engagement snapshot + drift status
GET/api/heartbeat/serverServer pulse (uptime, requests, threads)
POST/api/heartbeat/checkinRecord user check-in (mood, energy, note)
GET/api/scheduler/statusScheduler engine status
GET/api/scheduler/jobsList all scheduled jobs
POST/api/scheduler/triggerManually trigger a scheduled job
POST/api/scheduler/toggleEnable/disable a scheduled job
GET/api/hooks/listList registered event hooks
POST/api/hooks/dispatchDispatch an event to hooks
GET/api/hooks/logRecent hook dispatch history
GET/v1/healthVersioned liveness. Public. Same JSON as /api/health.
GET/v1/readyReadiness: data directory writable, and whether an LLM key is set. Public. No secrets.
POST/v1/abilities/planAbilities inventory plan. API key only.
POST/v1/service/planService and legacy plan. API key only.
POST/v1/intending/planDaily intention plan. API key only.
POST/v1/coaching/checkinDeterministic coaching check-in. API key only. Not the chatbot.
POST/v1/reminders/planReminders plan only. Does not send or schedule. API key only.
POST/v1/calendar/planCalendar plan. No external calendar. API key only.
POST/v1/action-items/planAction items plan. API key only.
POST/v1/action-items/scheduleSchedule action items. API key only. Not chained from /plan.
POST/v1/gratitude/planGratitude plan alias of /api/gratitude/plan plus api_version. API key only.
GET/v1/profileRead one user's coaching profile. API key only. Fields follow the bot policy.
PUT/v1/profileCreate or update one user's coaching profile. API key only.
DELETE/v1/profileErase one user's coaching records. reset or admin key. dry_run=1 counts only.
DELETE/v1/contact-registrationsErase contact-form rows by email and/or phone. Named admin key only. dry_run=1 counts only.
GET/v1/profile/exportExport one user's coaching data as JSON. reset or admin key.
POST/v1/checkinsAppend a check-in. API key only. Crisis notes are not stored.
GET/v1/checkinsList check-ins for user_id between from and to. API key only.
GET/v1/crisis-configCountry emergency numbers. API key, including mobile. country query, no geolocation.
POST endpoints are called by the WingMan web app buttons. Opening them directly in the browser may show an error because they expect JSON input.