Upload Activity File
strava_create_uploadUpload an activity file (FIT, TCX, GPX) to create a new activity (one API request plus later status polls). Requires activity:write. Maximum decoded file size 25 MiB; canonical base64 only. Do not replay a lost response; reconcile first.
Instructions
Upload an activity file (FIT, TCX, GPX) to create a new activity (one API request plus later status polls). Requires activity:write. Maximum decoded file size 25 MiB; canonical base64 only. Do not replay a lost response; reconcile first. Returns an upload ID for strava_get_upload.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Activity name | |
| commute | No | Whether this is a commute | |
| trainer | No | Whether this is a trainer/indoor activity | |
| data_type | Yes | File format: fit, fit.gz, tcx, tcx.gz, gpx, gpx.gz | |
| description | No | Activity description | |
| external_id | No | External identifier for deduplication | |
| file_content | Yes | Base64-encoded file content (maximum decoded size 25 MiB) |