API Overview
The Syntropy Health platform exposes two API surfaces:Extension API (/api/ext/*)
REST endpoints consumed by the Chrome extension and mobile app. All endpoints require Clerk JWT authentication.
Key endpoints:
GET /api/ext/profile— User profile and health dataPOST /api/ext/checkin— Log a health check-inPOST /api/ext/food— Log food with AI analysisGET /api/ext/diet/score— Current diet score and gapsPOST /api/ext/chat— Chat with Shrine AI
MCP Server (/mcp)
Model Context Protocol endpoint for AI client integrations. Exposes 10 Shrine AI tools via Streamable HTTP transport with Clerk JWT auth.
See the MCP Developer Guide for setup and tool documentation.
Authentication
All API endpoints use Clerk JWT tokens. Include the token in theAuthorization header: