Health Dummy APIs

All endpoints accept POST with a JSON body: { "member_code": "MBR-123456" }

Endpoints

EndpointMethodAuthReturns
/api/biomarkersPOSTAll 10 biomarkers for the member
/api/member-profilePOSTMember demographics (name, age, sex, ethnicity)
/api/critical-biomarkersPOSTOnly the 4 critical-flagged biomarkers
/api/health-summaryPOSTx-api-key header requiredOverall health risk score, risk factors & recommendations

Example Request (public endpoint)

curl -X POST /api/biomarkers \
  -H "Content-Type: application/json" \
  -d '{ "member_code": "MBR-123456" }'

Example Request (protected endpoint)

curl -X POST /api/health-summary \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_SECRET_KEY" \
  -d '{ "member_code": "MBR-123456" }'

Validation