Skip to content
Developer docsYour data

API reference

Your data

The read routes a personal key can call: your profile, coaching links, programmes, schedule and workouts.

These operations take a personal key (wwp_) and read only the data of the person who created it. Base URL https://api.wristworkout.com. Authentication and keys explains keys and scopes.

Your profile

GET/v1/me

Your own profile. csrfToken is only for the web portal and never comes back to a key.

Key
Personal key, wwp_
Scope
profile:read
Plans
Pro and Trainer/Gym. Plans and limits

Response 200 · Your profile (a browser session also gets its CSRF token)

userobjectRequired
12 fields
idstringRequired
displayNamestringRequired
emailstring or nullRequired
unitstringRequired

One ofkglb

tzstringRequired

IANA time zone, such as Pacific/Auckland.

dayStartHourintegerRequired

The hour a training day starts, so a workout after midnight counts for the evening it began.

shareHrbooleanRequired
detectorModestringRequired

One ofserver_defaultoffassistauto

traceEnabledbooleanRequired
effortstringRequired

One ofoffrperir

effortLastSetOnlybooleanRequired
progressionAutobooleanRequired
csrfTokenstring

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/me \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/me', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

Your gyms and trainers, and the programmes they assigned to you

GET/v1/me/coaching

Your links to gyms and trainers, and the programmes they assigned to you with what each one lets you do.

Key
Personal key, wwp_
Scope
profile:read
Plans
Pro and Trainer/Gym. Plans and limits

Response 200 · Links and active assignments

linksarray of objectsRequired
6 fields in each item
orgIdstringRequired
orgNamestringRequired
orgKindstringRequired

gym: any number of trainers. solo: an independent trainer, one member.

One ofgymsolo

coachNamestring or nullRequired
shareResultsbooleanRequired
sinceintegerRequired

Unix time in seconds

assignmentsarray of objectsRequired
6 fields in each item
programmeIdstringRequired
orgIdstringRequired
orgNamestringRequired
customerCanEditbooleanRequired
customerCanCopybooleanRequired
sinceintegerRequired

Unix time in seconds

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/me/coaching \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/me/coaching', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

Your exercises, with the built-in ones

GET/v1/exercises

By name. scope picks your own exercises (mine), the built-in ones (global) or both (all, the default).

Key
Personal key, wwp_
Scope
programmes:read
Plans
Pro and Trainer/Gym. Plans and limits

Query parameters

cursorstring

nextCursor from the previous page.

At most 400 characters.

limitinteger

Page size, 20 when left out.

1 to 50.

qstring

Text to find in exercise names.

At most 100 characters.

musclestring

Only exercises with this muscle.

At most 40 characters.

rolestring

One ofprimaryany

equipmentstring

Only exercises with this equipment.

One ofbarbelldumbbellmachineplate_loadedcablebodyweightkettlebellbandother

patternstring

One ofsquathingelungehip_thrusthorizontal_pushvertical_pushhorizontal_pullvertical_pullchest_flyshoulder_raiserear_flyshrugelbow_flexionelbow_extensionwristknee_extensionknee_flexionhip_abductionhip_adductioncalf_raiseback_extensioncore_flexioncore_rotationlateral_flexionanti_extensionanti_rotationcarryolympicjumpthrowconditioningmobility

gearstring

One ofbarbellez_bartrap_bardumbbellkettlebellplatesbenchincline_benchracksmith_machinecablemachineplate_loaded_machinepull_up_bardip_stationcaptains_chairhyperextension_benchpreacher_benchglute_ham_developerlandminebandmedicine_ballstability_ballsuspension_trainergymnastic_ringsab_wheelboxsledsandbagbattle_ropejump_ropeweight_beltrowerbiketreadmillski_machinestair_climberellipticalmatfoam_roller

levelstring

One ofbeginnerintermediateadvanced

favouritesstring

One of01

gymstring

An ID of 12 letters and digits.

scopestring

mine: your own. global: built in. all, the default: both.

One ofallmineglobal

archivedstring

1 includes archived ones.

One of01

Response 200 · Own and global exercises by name

itemsarray of objectsRequired
30 fields in each item
idstringRequired
namestringRequired
watchLabelstringRequired

The name the watch shows, in plain ASCII.

musclestringRequired
equipmentstringRequired

One ofbarbelldumbbellmachineplate_loadedcablebodyweightkettlebellbandother

modestringRequired

One ofrepstimedistance

loadKindstringRequired

One ofexternalbodyweightbodyweight_plusassisted

loadBasisstringRequired

One oftotalper_handper_side

wriststringRequired

One ofdynamicstatic

unilateralbooleanRequired
loadStepX100integerRequired

How much one press changes the load on the watch, in hundredths of the unit.

fitCategoryinteger or nullRequired
fitNameinteger or nullRequired
primaryMusclesarray of stringsRequired
secondaryMusclesarray of stringsRequired
patternstring or nullRequired

One ofsquathingelungehip_thrusthorizontal_pushvertical_pushhorizontal_pullvertical_pullchest_flyshoulder_raiserear_flyshrugelbow_flexionelbow_extensionwristknee_extensionknee_flexionhip_abductionhip_adductioncalf_raiseback_extensioncore_flexioncore_rotationlateral_flexionanti_extensionanti_rotationcarryolympicjumpthrowconditioningmobility

mechanicsstring or nullRequired

One ofcompoundisolation

levelstring or nullRequired

One ofbeginnerintermediateadvanced

lateralitystringRequired

One ofbilateralunilateralalternating

geararray of stringsRequired
aliasesarray of stringsRequired
stepsarray of stringsRequired
cuesarray of stringsRequired
mistakesarray of stringsRequired
watchCuestring or nullRequired
mediaobject or nullRequired
2 fields
stillobjectRequired
4 fields
urlstringRequired
widthintegerRequired
heightintegerRequired
altstringRequired
loopobject or nullRequired
6 fields
urlstringRequired
widthintegerRequired
heightintegerRequired
altstringRequired
durationMsintegerRequired
captionstringRequired
favouritebooleanRequired
globalbooleanRequired
archivedbooleanRequired
updatedAtintegerRequired

Unix time in seconds.

nextCursorstring or nullRequired

Send it as cursor for the next page. Null on the last page.

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/exercises \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/exercises', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

One exercise

GET/v1/exercises/{id}

A built-in exercise or one of your own.

Key
Personal key, wwp_
Scope
programmes:read
Plans
Pro and Trainer/Gym. Plans and limits

Path parameters

idstringRequired

The exercise’s ID.

1 to 64 characters.

Response 200 · Exercise

idstringRequired
namestringRequired
watchLabelstringRequired

The name the watch shows, in plain ASCII.

musclestringRequired
equipmentstringRequired

One ofbarbelldumbbellmachineplate_loadedcablebodyweightkettlebellbandother

modestringRequired

One ofrepstimedistance

loadKindstringRequired

One ofexternalbodyweightbodyweight_plusassisted

loadBasisstringRequired

One oftotalper_handper_side

wriststringRequired

One ofdynamicstatic

unilateralbooleanRequired
loadStepX100integerRequired

How much one press changes the load on the watch, in hundredths of the unit.

fitCategoryinteger or nullRequired
fitNameinteger or nullRequired
primaryMusclesarray of stringsRequired
secondaryMusclesarray of stringsRequired
patternstring or nullRequired

One ofsquathingelungehip_thrusthorizontal_pushvertical_pushhorizontal_pullvertical_pullchest_flyshoulder_raiserear_flyshrugelbow_flexionelbow_extensionwristknee_extensionknee_flexionhip_abductionhip_adductioncalf_raiseback_extensioncore_flexioncore_rotationlateral_flexionanti_extensionanti_rotationcarryolympicjumpthrowconditioningmobility

mechanicsstring or nullRequired

One ofcompoundisolation

levelstring or nullRequired

One ofbeginnerintermediateadvanced

lateralitystringRequired

One ofbilateralunilateralalternating

geararray of stringsRequired
aliasesarray of stringsRequired
stepsarray of stringsRequired
cuesarray of stringsRequired
mistakesarray of stringsRequired
watchCuestring or nullRequired
mediaobject or nullRequired
2 fields
stillobjectRequired
4 fields
urlstringRequired
widthintegerRequired
heightintegerRequired
altstringRequired
loopobject or nullRequired
6 fields
urlstringRequired
widthintegerRequired
heightintegerRequired
altstringRequired
durationMsintegerRequired
captionstringRequired
favouritebooleanRequired
globalbooleanRequired
archivedbooleanRequired
updatedAtintegerRequired

Unix time in seconds.

Errors

404NOT_FOUNDNo exercise with that ID that you can see.
Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/exercises/exercise_id \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/exercises/exercise_id', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

favouriteExercise

PUT/v1/exercises/{id}/favourite

Key
Personal key, wwp_
Scope
programmes:read
Plans
Pro and Trainer/Gym. Plans and limits

Path parameters

idstringRequired

The exercise’s ID.

1 to 64 characters.

Response 200 · Marked as a favourite

The same fields as One exercise.

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl -X PUT https://api.wristworkout.com/v1/exercises/exercise_id/favourite \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/exercises/exercise_id/favourite', {
  method: 'PUT',
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

unfavouriteExercise

DELETE/v1/exercises/{id}/favourite

Key
Personal key, wwp_
Scope
programmes:read
Plans
Pro and Trainer/Gym. Plans and limits

Path parameters

idstringRequired

The exercise’s ID.

1 to 64 characters.

Response 200 · No longer a favourite

The same fields as One exercise.

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl -X DELETE \
  https://api.wristworkout.com/v1/exercises/exercise_id/favourite \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/exercises/exercise_id/favourite', {
  method: 'DELETE',
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

Your machines

GET/v1/machines

Your machines, by name.

Key
Personal key, wwp_
Scope
programmes:read
Plans
Pro and Trainer/Gym. Plans and limits

Query parameters

cursorstring

nextCursor from the previous page.

At most 400 characters.

limitinteger

Page size, 20 when left out.

1 to 50.

archivedstring

1 includes archived ones.

One of01

gymstring

1 to 64 characters.

Response 200 · Own machines by name

itemsarray of objectsRequired
8 fields in each item
idstringRequired
namestringRequired
labelstringRequired
notesstring or nullRequired
gymIdstring or nullRequired
exerciseIdsarray of stringsRequired
archivedbooleanRequired
updatedAtintegerRequired

Unix time in seconds.

nextCursorstring or nullRequired

Send it as cursor for the next page. Null on the last page.

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/machines \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/machines', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

Your programmes, and those assigned to you

GET/v1/programmes

By name. Assigned programmes belong to a gym or trainer; GET /v1/me/coaching says which and what you may do with them.

Key
Personal key, wwp_
Scope
programmes:read
Plans
Pro and Trainer/Gym. Plans and limits

Query parameters

cursorstring

nextCursor from the previous page.

At most 400 characters.

limitinteger

Page size, 20 when left out.

1 to 50.

archivedstring

1 lists your archived programmes instead of your active ones.

One of01

Response 200 · Programmes by name

itemsarray of objectsRequired
9 fields in each item
idstringRequired
namestringRequired
watchNamestringRequired

The name the watch shows, in plain ASCII.

revintegerRequired

Revision number. Every save publishes the next one; earlier revisions never change.

stationsintegerRequired
watchBytesintegerRequired

Size of the plan the watch downloads, in bytes. At most 6,000.

weekdaysarray of integersRequired
updatedAtintegerRequired

Unix time in seconds.

archivedbooleanRequired
nextCursorstring or nullRequired

Send it as cursor for the next page. Null on the last page.

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/programmes \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/programmes', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

A programme at its head revision

GET/v1/programmes/{id}

Your own programme, or one a gym or trainer assigned to you.

Key
Personal key, wwp_
Scope
programmes:read
Plans
Pro and Trainer/Gym. Plans and limits

Path parameters

idstringRequired

The programme’s ID.

1 to 64 characters.

Response 200 · Head revision

revintegerRequired

Revision number. Every save publishes the next one; earlier revisions never change.

namestringRequired
watchNamestringRequired

The name the watch shows, in plain ASCII.

unitstringRequired

One ofkglb

notesstring
progressionobject

Progression: double (repMin, repMax), linear (incrementX100), percentage (pct on each work set) or effort (each work set's effort target); missed reps hold or reduce by reducePct after two in a row; deloadEvery sessions (0 = off) a deload lighter by deloadPct.

8 fields
rulestringRequired

One ofdoublelinearpercentageeffort

repMininteger
repMaxinteger
incrementX100integer
onMissstringRequired

One ofholdreduce

reducePctintegerRequired
deloadEveryintegerRequired
deloadPctintegerRequired
stationsarray of objectsRequired
19 fields in each item
stationIdstringRequired

The station’s ID within its programme, kept across edits.

exerciseIdstringRequired

A built-in exercise (g_…) or one of the owner’s own.

machineIdstring

One of the owner’s machines. Left out when there is none.

namestringRequired
watchLabelstringRequired

The name the watch shows, in plain ASCII.

machineLabelstring

The machine’s short label on the watch.

modestringRequired

One ofrepstimedistance

wriststringRequired

One ofdynamicstatic

unilateralbooleanRequired
loadKindstringRequired

One ofexternalbodyweightbodyweight_plusassisted

loadBasisstringRequired

One oftotalper_handper_side

loadStepX100integerRequired

How much one press changes the load on the watch, in hundredths of the unit.

fitCategoryinteger
fitNameinteger
setsarray of objectsRequired
6 fields in each item
kindstringRequired

One ofworkwarmupdropfailureamraprest_pause

targetintegerRequired

Target reps, or seconds for a time exercise.

loadX100integer or nullRequired

Load in hundredths of the unit: 16000 is 160 kg or 160 lb. Null for no external load.

effortinteger
stepsarray of integers
pctinteger
restSintegerRequired

Rest after a set, in seconds.

restHrinteger

Rest can end early once heart rate falls to this many beats per minute. Left out when not set.

notestring
progressionobject or string

Progression: double (repMin, repMax), linear (incrementX100), percentage (pct on each work set) or effort (each work set's effort target); missed reps hold or reduce by reducePct after two in a row; deloadEvery sessions (0 = off) a deload lighter by deloadPct.

Valuenone

groupsarray of objects
8 fields in each item
kindstringRequired

One ofsupersetgiantcircuitemomamrapintervals

firstintegerRequired
sizeintegerRequired
restBetweenSintegerRequired
restRoundSintegerRequired
everySinteger
capSinteger
workSinteger

Seconds the set was timed for; 0 when it was ended without starting its timer.

idstringRequired
watchBytesintegerRequired

Size of the plan the watch downloads, in bytes. At most 6,000.

updatedAtintegerRequired

Unix time in seconds.

archivedbooleanRequired

Errors

404NOT_FOUNDNo programme with that ID that you own or have assigned.
Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/programmes/programme_id \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/programmes/programme_id', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

A programme at an earlier revision

GET/v1/programmes/{id}/revisions/{rev}

Earlier revisions never change.

Key
Personal key, wwp_
Scope
programmes:read
Plans
Pro and Trainer/Gym. Plans and limits

Path parameters

idstringRequired

The programme’s ID.

1 to 64 characters.

revintegerRequired

A revision number, from 1.

At least 1.

Response 200 · Immutable snapshot

The same fields as A programme at its head revision.

Errors

404NOT_FOUNDNo such programme, or no such revision.
Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/programmes/programme_id/revisions/2 \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/programmes/programme_id/revisions/2', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

Programme templates

GET/v1/templates

Well-known plan shapes at three levels, built from global exercises. Each day becomes a programme when the template is used.

Key
Personal key, wwp_
Scope
programmes:read
Plans
Pro and Trainer/Gym. Plans and limits

Response 200 · Every template

itemsarray of objectsRequired
7 fields in each item
idstringRequired
namestringRequired
summarystringRequired
shapestringRequired

One offull_bodyupper_lowerppl

levelstringRequired

One ofbeginnerintermediateadvanced

daysPerWeekintegerRequired
daysarray of objectsRequired
2 fields in each item
namestringRequired
stationsarray of objectsRequired
6 fields in each item
exerciseIdstringRequired

A built-in exercise (g_…) or one of the owner’s own.

setsintegerRequired
targetintegerRequired

Target reps, or seconds for a time exercise.

restSintegerRequired

Rest after a set, in seconds.

namestringRequired
modestringRequired

One ofrepstime

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/templates \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/templates', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

Your weekly schedule and changed days

GET/v1/schedule

Your weekly slots and the days you changed, from today to 89 days ahead.

Key
Personal key, wwp_
Scope
schedule:read
Plans
Pro and Trainer/Gym. Plans and limits

Response 200 · The weekly schedule, the changed days of the next 90 days, and `calendarRev`

slotsarray of objectsRequired
2 fields in each item
isoDowintegerRequired

ISO weekday: 1 is Monday, 7 is Sunday.

programmeIdstringRequired
overridesarray of objectsRequired
2 fields in each item
datestringRequired
programmeIdstring or nullRequired
calendarRevintegerRequired

Changes whenever the schedule changes.

windowobjectRequired
2 fields
fromstringRequired
tostringRequired

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/schedule \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/schedule', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

Today and the next 7 days

GET/v1/today

What each day resolves to: a changed day first, then the weekly slot, then nothing.

Key
Personal key, wwp_
Scope
schedule:read
Plans
Pro and Trainer/Gym. Plans and limits

Response 200 · Today and the next 7 days: a changed day first, then the weekly schedule, else nothing planned

tzstringRequired

IANA time zone, such as Pacific/Auckland.

dayStartHourintegerRequired

The hour a training day starts, so a workout after midnight counts for the evening it began.

daysarray of objectsRequired
7 fields in each item
datestringRequired
startUtcintegerRequired

Start of the day, Unix time in seconds (inclusive).

endUtcintegerRequired

End of the day, Unix time in seconds (exclusive).

sourcestringRequired

One ofoverrideplanschedulenone

restbooleanRequired
programmeobject or nullRequired
3 fields
idstringRequired
namestringRequired
revintegerRequired

Revision number. Every save publishes the next one; earlier revisions never change.

planobject or nullRequired
5 fields
idstringRequired
namestringRequired
weekintegerRequired
weeksintegerRequired
kindstringRequired

One ofnormaldeloadtest

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/today \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/today', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

Your workouts, newest first

GET/v1/sessions

Your recorded workouts, newest first.

Key
Personal key, wwp_
Scope
sessions:read
Plans
Pro and Trainer/Gym. Plans and limits

Query parameters

cursorstring

nextCursor from the previous page.

At most 400 characters.

limitinteger

Page size, 20 when left out.

1 to 50.

Response 200 · Workouts, the most recent first

itemsarray of objectsRequired
20 fields in each item
idstringRequired
programmeIdstring or nullRequired
programmeRevinteger or nullRequired

The revision of the programme the workout followed.

programmeNamestringRequired
sourcestringRequired

One ofscheduleoverridewristpickerquickmanual

notestring or nullRequired
localDatestringRequired

The training day, YYYY-MM-DD, in the person’s time zone.

unitstringRequired

One ofkglb

startedAtintegerRequired

Unix time in seconds.

endedAtintegerRequired

Unix time in seconds.

activeSintegerRequired

Time not paused, in seconds, rest included.

pausedSintegerRequired

Time paused, in seconds.

statusstringRequired

One ofcompletedpartial

setCountintegerRequired

Sets done in the workout.

volumeKgX100integerRequired

Volume in hundredths of a kilogram: actual reps times external load, over work sets. Bodyweight and time sets add nothing.

defersintegerRequired

Times a machine was marked busy and left for later.

hrobject or nullRequired

Lowest, average and highest heart rate, in beats per minute. Null unless heart-rate sharing was on.

3 fields
mininteger or nullRequired
avginteger or nullRequired
maxinteger or nullRequired
kcalinteger or nullRequired

The watch’s calorie estimate.

nativeFitSavedbooleanRequired

The watch also saved its own copy: a strength activity in Garmin Connect, or a workout in Apple Health. Always false on Wear OS, which keeps none.

recordedOnstringRequired

What recorded the session: a paired watch, the phone app, the web gym app in a browser, or manual: added by hand afterwards.

One ofwatchphonewebmanual

nextCursorstring or nullRequired

Send it as cursor for the next page. Null on the last page.

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/sessions \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/sessions', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

One workout, station by station

GET/v1/sessions/{id}

Stations in the order you did them, with each set’s target, what you did, and any corrections.

Key
Personal key, wwp_
Scope
sessions:read
Plans
Pro and Trainer/Gym. Plans and limits

Path parameters

idstringRequired

The workout’s ID.

At most 40 characters.

Response 200 · The workout: stations in the order they were done, each set with its target and what was done

idstringRequired
programmeIdstring or nullRequired
programmeRevinteger or nullRequired

The revision of the programme the workout followed.

programmeNamestringRequired
sourcestringRequired

One ofscheduleoverridewristpickerquickmanual

notestring or nullRequired
localDatestringRequired

The training day, YYYY-MM-DD, in the person’s time zone.

unitstringRequired

One ofkglb

startedAtintegerRequired

Unix time in seconds.

endedAtintegerRequired

Unix time in seconds.

activeSintegerRequired

Time not paused, in seconds, rest included.

pausedSintegerRequired

Time paused, in seconds.

statusstringRequired

One ofcompletedpartial

setCountintegerRequired

Sets done in the workout.

volumeKgX100integerRequired

Volume in hundredths of a kilogram: actual reps times external load, over work sets. Bodyweight and time sets add nothing.

defersintegerRequired

Times a machine was marked busy and left for later.

hrobject or nullRequired

Lowest, average and highest heart rate, in beats per minute. Null unless heart-rate sharing was on.

3 fields
mininteger or nullRequired
avginteger or nullRequired
maxinteger or nullRequired
kcalinteger or nullRequired

The watch’s calorie estimate.

nativeFitSavedbooleanRequired

The watch also saved its own copy: a strength activity in Garmin Connect, or a workout in Apple Health. Always false on Wear OS, which keeps none.

recordedOnstringRequired

What recorded the session: a paired watch, the phone app, the web gym app in a browser, or manual: added by hand afterwards.

One ofwatchphonewebmanual

groupsarray of objectsRequired
8 fields in each item
kindstringRequired

One ofsupersetgiantcircuitemomamrapintervals

firstintegerRequired
sizeintegerRequired
restBetweenSintegerRequired
restRoundSintegerRequired
everySinteger
capSinteger
workSinteger

Seconds the set was timed for; 0 when it was ended without starting its timer.

stationsarray of objectsRequired
17 fields in each item
ordintegerRequired
stationIdstringRequired

The station’s ID within its programme, kept across edits.

exerciseIdstringRequired

A built-in exercise (g_…) or one of the owner’s own.

namestringRequired
machineLabelstring or nullRequired

The machine’s short label on the watch.

machineIdstring or nullRequired

One of the owner’s machines. Left out when there is none.

firstRankinteger or nullRequired
defersintegerRequired

Times a machine was marked busy and left for later.

outcomestringRequired

One ofdonepartialskippeduntouched

groupinteger or nullRequired
modestringRequired

One ofrepstimedistance

changestring or nullRequired

One ofswap_todayswap_forwardswap_kept_todayadded

swappedFromobject or nullRequired
2 fields
exerciseIdstringRequired

A built-in exercise (g_…) or one of the owner’s own.

namestringRequired
laterintegerRequired
setsTotalinteger or nullRequired
skippedSetsarray of integersRequired
setsarray of objectsRequired
19 fields in each item
seqintegerRequired
setIdxintegerRequired
kindstringRequired

One ofworkwarmupdropfailureamraprest_pause

targetintegerRequired

Target reps, or seconds for a time exercise.

targetLoadX100integer or nullRequired

The planned load in hundredths of the unit. Null for no external load.

actualintegerRequired

Reps done, or seconds for a time exercise.

loadX100integer or nullRequired

Load in hundredths of the unit: 16000 is 160 kg or 160 lb. Null for no external load.

originalobjectRequired

What the watch uploaded, kept when the set is corrected.

2 fields
actualintegerRequired

Reps done, or seconds for a time exercise.

loadX100integer or nullRequired

Load in hundredths of the unit: 16000 is 160 kg or 160 lb. Null for no external load.

editedbooleanRequired

The set was corrected after it was uploaded.

startedAtintegerRequired

Unix time in seconds.

workSintegerRequired

Seconds the set was timed for; 0 when it was ended without starting its timer.

restSinteger or nullRequired

Rest after a set, in seconds.

hrPeakinteger or nullRequired
hrEndinteger or nullRequired
detectstringRequired

One ofmanualassistautoauto_edited

effortintegerRequired
tagsintegerRequired
stepsarray of objectsRequired
2 fields in each item
actualintegerRequired

Reps done, or seconds for a time exercise.

loadX100integer or nullRequired

Load in hundredths of the unit: 16000 is 160 kg or 160 lb. Null for no external load.

notestring or nullRequired

Errors

404NOT_FOUNDNo workout with that ID.
Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/sessions/session_id \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/sessions/session_id', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();

Progress on one exercise

GET/v1/exercises/{id}/progress

One point per workout: the best set’s load, an estimated one-rep maximum (Epley, sets of 12 reps or fewer) and the volume.

Key
Personal key, wwp_
Scope
sessions:read
Plans
Pro and Trainer/Gym. Plans and limits

Path parameters

idstringRequired

The exercise’s ID.

At most 64 characters.

Query parameters

limitinteger

How many workouts, 100 when left out.

1 to 200.

Response 200 · Per session: best set load, estimated 1RM (Epley, reps ≤ 12), volume

exerciseIdstringRequired

A built-in exercise (g_…) or one of the owner’s own.

pointsarray of objectsRequired
8 fields in each item
sessionIdstringRequired
localDatestringRequired

The training day, YYYY-MM-DD, in the person’s time zone.

endedAtintegerRequired

Unix time in seconds.

unitstringRequired

One ofkglb

bestLoadX100integer or nullRequired

The heaviest set’s load, in hundredths of the unit.

e1rmX100integer or nullRequired

Estimated one-rep maximum, in hundredths of the unit.

volumeKgX100integerRequired

Volume in hundredths of a kilogram: actual reps times external load, over work sets. Bodyweight and time sets add nothing.

addedByHandbooleanRequired

Errors

Errors any call can get: 401, 403, 422, 429
401UNAUTHENTICATEDThe key is missing, unknown, expired or revoked.
403FORBIDDENinsufficient_scopeThe key lacks the scope, or is an organisation key.
403FORBIDDENThe request came from a web page (it has an Origin header). Call the API from your server.
422VALIDATIONA parameter or the body breaks the schema.
429RATE_LIMITEDThe key is over its limit for this minute, or over the service-wide 120 requests a minute (then with Retry-After: 60 and no RateLimit headers).

Example

curl https://api.wristworkout.com/v1/exercises/exercise_id/progress \
  -H "Authorization: Bearer wwp_your_key"
const res = await fetch('https://api.wristworkout.com/v1/exercises/exercise_id/progress', {
  headers: { Authorization: 'Bearer wwp_your_key' },
});
const data = await res.json();