Export activity FIT file
garmin_download_activity_fitDownload an activity's original FIT file to the exports folder and get its file path, ready to import into Intervals.icu, Golden Cheetah, or a converter.
Instructions
Save the original FIT file of an activity to the server's exports folder and return its path, e.g. to import it into another tool (Intervals.icu, Golden Cheetah, a spreadsheet converter).
The file is exactly what the device recorded. Saved as /exports/<activity_id>.fit; an existing export is kept, not overwritten. For a multisport leg, exports the whole multisport file.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activity_id | Yes | Garmin activity ID from garmin_list_activities |