post_create_upload
Upload a data file (FIT, TCX, GPX) to create a Strava activity. Set the activity name, type, and optional details like commute or trainer status.
Instructions
Upload Activity
Endpoint: POST /uploads
Description: Uploads a new data file to create an activity from. Requires activity:write scope.
This operation modifies Strava data. Scopes: required: activity:write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | The uploaded file. | |
| name | No | The desired name of the resulting activity. | |
| commute | No | Whether the resulting activity should be tagged as a commute. | |
| trainer | No | Whether the resulting activity should be marked as having been performed on a trainer. | |
| data_type | No | The format of the uploaded file. | |
| description | No | The desired description of the resulting activity. | |
| external_id | No | The desired external identifier of the resulting activity. |