Create Activity
strava_create_activityCreate a manual activity entry (one API request). Requires activity:write scope and intent. Do not blindly retry a lost response; duplicate creation is possible.
Instructions
Create a manual activity entry (one API request). Requires activity:write scope and intent. Do not blindly retry a lost response; duplicate creation is possible.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the activity | |
| commute | No | Whether this was a commute | |
| trainer | No | Whether this was a trainer/indoor activity | |
| distance | No | Distance in meters | |
| sport_type | Yes | The sport type (e.g. Run, Ride, Swim, Hike) | |
| description | No | Activity description | |
| elapsed_time | Yes | Total elapsed time in seconds | |
| start_date_local | Yes | ISO 8601 date/time for activity start in local timezone (e.g. 2024-01-15T08:30:00Z) |