Creates a manual activity for an athlete. Requires activity:write scope. This endpoint is for manually entered activities only. To upload activity files (FIT, TCX, GPX), use the Upload Activity endpoint instead. Required parameters: name, sport_type, start_date_local, elapsed_ti…
nameRequiredstringThe name/title of the activity (required).
typestringDeprecated activity type. Use sport_type instead. If both are provided, type is ignored. Common values: Run, Ride, Swim, Walk, Hike, Workout.
commuteintegerSet to 1 to mark the activity as a commute. Set to 0 or omit for non-commute activities.
trainerintegerSet to 1 to mark the activity as done on a trainer/indoor. Set to 0 or omit for outdoor activities.
distancenumberDistance in meters. Example: 5000.0 for 5km.
sport_typeRequiredstringSport type of the activity (required). Common values include: Run, TrailRun, Walk, Hike, Ride, MountainBikeRide, GravelRide, VirtualRide, Swim, Workout, WeightTraining, Yoga, CrossFit, Rowing, Kayaking, Skiing, Snowboarding.
descriptionstringOptional text description of the activity.
elapsed_timeRequiredintegerTotal elapsed time of the activity in seconds (required). Example: 3600 for 1 hour.
start_date_localRequiredstringISO 8601 formatted local date-time when the activity started (required). Example: '2024-01-15T09:30:00Z' or '2024-01-15T09:30:00+00:00'.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.