Commencer maintenant
Strava Tools

Strava Create An Activity

Utilisez Strava Create An Activity avec Strava Tools via Aident Loadout. Vérifiez les entrées, sorties, la configuration, le tarif et le risque avant exécution.

Action d'écritureNiveau de risque 2 sur 5Connexion OAuth

Description du fournisseur

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…

Tarifs et limites

Tarif
Action gratuite
Paiement unifié
Non pris en charge actuellement

Entrées

  • namestring
    Obligatoire
    The name/title of the activity (required).
  • typestring
    Deprecated activity type. Use sport_type instead. If both are provided, type is ignored. Common values: Run, Ride, Swim, Walk, Hike, Workout.
  • commuteinteger
    Set to 1 to mark the activity as a commute. Set to 0 or omit for non-commute activities.
  • trainerinteger
    Set to 1 to mark the activity as done on a trainer/indoor. Set to 0 or omit for outdoor activities.
  • distancenumber
    Distance in meters. Example: 5000.0 for 5km.
  • sport_typestring
    Obligatoire
    Sport 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.
  • descriptionstring
    Optional text description of the activity.
  • elapsed_timeinteger
    Obligatoire
    Total elapsed time of the activity in seconds (required). Example: 3600 for 1 hour.
  • start_date_localstring
    Obligatoire
    ISO 8601 formatted local date-time when the activity started (required). Example: '2024-01-15T09:30:00Z' or '2024-01-15T09:30:00+00:00'.

Sortie observable

  • data
    Obligatoire
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    Obligatoire
    Whether or not the action execution was successful or not

Skills qui utilisent cette Action

Cas d’usage associés

Aucun cas d’usage associé et vérifié pour le moment.

Source officielle

Source du fournisseur