FitIQ · Health Sync
Apple Shortcuts (free sync)
This is the recommended no-native-app way to get Apple Health data into FitIQ. Your Shortcut reads daily totals and POSTs them to your private webhook URL.
Your webhook URL
Generate your token in /setup first.
Build the Shortcut (step-by-step)
- Open Shortcuts → tap + → New Shortcut.
- Add actions to get your daily totals (these are the most reliable ones):
- Find Health Samples (Type: Steps, Date: Today) → then Calculate Statistics (Sum) → name result steps
- Find Health Samples (Type: Active Energy, Date: Today) → Calculate Statistics (Sum) → name result active_kcal
- Find Health Samples (Type: Body Mass, Sort: Most Recent, Limit: 1) → name result weight
- Workouts: Find Workouts (Date: Today) → Repeat with Each workout → build a list of dictionaries { "type": "...", "minutes": ... }
- Add action Get Current Date → Format Date as YYYY-MM-DD → name it date.
- Add action Dictionary and set keys exactly to:
{ "date": "YYYY-MM-DD", "steps": 1234, "active_kcal": 456, "workouts": [ { "type": "strength", "minutes": 45 } ], "weight": 180.2 } - Add action Get Contents of URL:
- URL: paste your webhook URL (above)
- Method: POST
- Request Body: JSON
- JSON: choose the Dictionary you built
- Headers: set Content-Type = application/json
- Tap ▶ to run once and confirm FitIQ receives it (it should return { "ok": true, ... }).
Make it automatic (daily)
- In Shortcuts, go to Automation → New Automation.
- Choose Time of Day (e.g., 9:00 PM) → Daily.
- Select Run Shortcut → pick your FitIQ Health Sync shortcut.
- Turn off Ask Before Running if iOS allows it for your setup.