SelfSync

Goal message

Goal messages describe the targets set by the user: a number of steps per day, a distance or a duration per week, a number of activities per month and so on.

FIT name
goal
Global message number
15
JavaScript SDK key
goalMesgs
Fields
14

Fields

  • Index of the message among the messages of the same kind in the file, starting at 0. Other messages use it to reference this one.

  • sportEnum

    Main sport, such as running, cycling, swimming, hiking or training.

    82 possible values
    • all
    • running
    • transition
    • generic
    • cycling
    • fitnessEquipment
    • swimming
    • basketball
    • soccer
    • tennis
    • americanFootball
    • training
    • walking
    • crossCountrySkiing
    • alpineSkiing
    • snowboarding
    • rowing
    • mountaineering
    • hiking
    • multisport
    • paddling
    • flying
    • eBiking
    • motorcycling
    • boating
    • driving
    • golf
    • hangGliding
    • horsebackRiding
    • hunting
    • fishing
    • inlineSkating
    • rockClimbing
    • sailing
    • iceSkating
    • skyDiving
    • snowshoeing
    • snowmobiling
    • standUpPaddleboarding
    • surfing
    • wakeboarding
    • waterSkiing
    • kayaking
    • rafting
    • windsurfing
    • kitesurfing
    • tactical
    • jumpmaster
    • boxing
    • floorClimbing
    • baseball
    • diving
    • shooting
    • winterSport
    • grinding
    • hiit
    • videoGaming
    • racket
    • wheelchairPushWalk
    • wheelchairPushRun
    • meditation
    • paraSport
    • discGolf
    • teamSport
    • cricket
    • rugby
    • hockey
    • lacrosse
    • volleyball
    • waterTubing
    • wakesurfing
    • waterSport
    • archery
    • mixedMartialArts
    • motorSports
    • snorkeling
    • dance
    • jumpRope
    • poolApnea
    • mobility
    • geocaching
    • canoeing
  • Refinement of the sport, such as trail, treadmill or track for running, road, mountain or indoor for cycling, lapSwimming or openWater for swimming.

    112 possible values
    • match
    • map
    • platform
    • all
    • track
    • navigate
    • field
    • generic
    • hiit
    • treadmill
    • street
    • trail
    • spin
    • indoorCycling
    • road
    • mountain
    • downhill
    • recumbent
    • cyclocross
    • handCycling
    • trackCycling
    • indoorRowing
    • elliptical
    • stairClimbing
    • lapSwimming
    • openWater
    • flexibilityTraining
    • strengthTraining
    • warmUp
    • exercise
    • challenge
    • indoorSkiing
    • cardioTraining
    • indoorWalking
    • eBikeFitness
    • bmx
    • casualWalking
    • speedWalking
    • bikeToRunTransition
    • runToBikeTransition
    • swimToBikeTransition
    • atv
    • motocross
    • backcountry
    • resort
    • rcDrone
    • wingsuit
    • whitewater
    • skateSkiing
    • yoga
    • pilates
    • indoorRunning
    • gravelCycling
    • eBikeMountain
    • commuting
    • mixedSurface
    • trackMe
    • singleGasDiving
    • multiGasDiving
    • gaugeDiving
    • apneaDiving
    • apneaHunting
    • virtualActivity
    • obstacle
    • breathing
    • ccrDiving
    • sailRace
    • expedition
    • ultra
    • indoorClimbing
    • bouldering
    • indoorGrinding
    • huntingWithDogs
    • amrap
    • emom
    • tabata
    • esport
    • triathlon
    • duathlon
    • brick
    • swimRun
    • adventureRace
    • truckerWorkout
    • pickleball
    • padel
    • indoorWheelchairWalk
    • indoorWheelchairRun
    • indoorHandCycling
    • ice
    • ultimate
    • squash
    • badminton
    • racquetball
    • tableTennis
    • overland
    • trollingMotor
    • flyCanopy
    • flyParaglide
    • flyParamotor
    • flyPressurized
    • flyNavigate
    • flyTimer
    • flyAltimeter
    • flyWx
    • flyVfr
    • flyIfr
    • dynamicApnea
    • enduro
    • rucking
    • rally
    • poolTriathlon
    • eBikeEnduro
  • startDateDateTime

    Moment the goal starts.

  • endDateDateTime

    Moment the goal ends.

  • typeEnum

    What the goal is about: time, distance, calories, frequency, steps, ascent or active minutes.

    7 possible values
    • frequency
    • time
    • distance
    • calories
    • steps
    • ascent
    • activeMinutes
  • valueUint32

    Value reached so far.

  • repeatBool

    Whether the goal starts over once its period ends.

  • Value to reach.

  • How often the goal repeats: daily, weekly, monthly, yearly, custom or never.

    6 possible values
    • custom
    • off
    • daily
    • weekly
    • monthly
    • yearly
  • Number of days of the recurrence, for custom recurrences.

  • Whether the goal is active.

  • sourceEnum

    Who set the goal: the device automatically, the user or the community.

    3 possible values
    • auto
    • user
    • community
  • mesgNumString

    Global message number identifying the kind of message. Decoders use it to know which profile to apply to the data.

Other courses, segments and workouts messages

See all the FIT messages