Skip to main content
GET
Get a workout

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

wodup-gym
string

Only used by platform integrations
ID of gym to execute on behalf of

Example:

"gym_123abc"

Path Parameters

id
integer
required

ID of workout to retrieve

Example:

123

Response

Workout

Workout object

description
string
required

A human readable description of the workout

details
AmrapDetails · object
required

A workout's structure, one object shape per workout type, discriminated by type. The AccessoryWorkDetails and WeightliftingTotalDetails members are deprecated and appear only in historical workouts.

movements
Movement · object[]
required

Movement objects referenced by this workout

type
enum<string>
required

Workout type. AccessoryWork and WeightliftingTotal are deprecated legacy types returned only for historical workouts; they cannot be created.

Available options:
Amrap,
Cardio,
CardioIntervals,
DeathBy,
Emom,
Fgb,
ForTime,
FranStyle,
Generic,
MaxReps,
RoundsForTime,
Strength,
Tabata,
TwelveDays,
WarmUp,
AccessoryWork,
WeightliftingTotal
name
string | null

An official name for the workout