Actions41
- Activity Actions
- Athlete Actions
- Club Actions
- Gear Actions
- Route Actions
- Segment Actions
- Segment Effort Actions
- Stream Actions
- Upload Actions
- Web Session (Undocumented) Actions
Activity → Create Activity
AI-generatedSummary
Creates a manual activity for the authenticated Strava athlete by submitting its details to Strava’s API. Requires Strava’s activity:write permission.
Inputs
- Name (required) — Activity name.
- Sport Type (required) — Activity sport type, such as Run, Ride, or MountainBikeRide.
- Start Date (Local) (required) — Local start time in ISO 8601 format.
- Elapsed Time (Seconds) (required) — Activity duration in seconds.
- Additional Fields — Optional commute and trainer flags, description, distance in meters, and deprecated Type (use Sport Type instead). Boolean flags are sent to Strava as 1 or 0; empty optional values are omitted.
Output shape
A single JSON item containing Strava’s created activity response.
The operation sends a form-encoded POST request to Strava’s
/activitiesendpoint for each input item.