AtlasAtlasBack To Atlas

Coach API Reference

Version 1.99.0. Program athletes, manage reusable templates, browse and add exercises, maintain athlete PRs, meets and meet plans, run group programs, questionnaires and club documents, manage the club's coaches and athletes' guardians, message the club, and read live Oura recovery and FatSecret nutrition data. Every token acts for the coach who created it, in the one club it was created in, except the platform administrator's club-less token, which reaches only the platform routes, the roadmap, the Atlas exercise library, the account and appearance settings. Paths are relative to the base URL, and every request except the health check and the OpenAPI document sends a bearer token; see Getting Started for tokens, errors, and revisions.

https://graceful-tortoise-95.convex.site/api/v1

This page is generated from the OpenAPI document, which agents and tools can import directly:

https://graceful-tortoise-95.convex.site/api/v1/openapi.json

Account And Health

GET /health

Check API availability

Public: needs no token. Answers ok and the Coach API version the deployment serves.

Operation ID
health
Permission
None (public)

Responses

  • 200 API is available (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /account

Inspect the authenticated token, scopes, and rate limit

Answers the token owner's userId, the token's club (absent for the platform administrator's club-less token), its id and permissions, and the per-minute request limit each token gets.

Operation ID
getAgentAccount
Permission
read

Responses

  • 200 Authenticated token context (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /tokens

List the token owner's personal access tokens for the token's club

Every token the coach made for this club, newest first, as Integrations lists them, with revoked and expired ones until they age out of the list. Never a token's secret or hash, only its first characters. Creating a token stays in the console and atlas login. Needs a token issued for a club.

Operation ID
listApiTokens
Permission
read

Responses

  • 200 The tokens (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /tokens/{tokenId}

Revoke one of the token owner's personal access tokens for the token's club

The token stops working at once, as Revoke does in Integrations; revoking the calling token ends this session. Only the coach's own tokens for this club: another coach's, another club's and a platform token answer 404. Revoking one already revoked changes nothing.

Operation ID
revokeApiToken
Permission
write

Parameters

NameInTypeDetails
tokenIdRequiredpathstring

Responses

  • 200 Token revoked (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Club, Coaches And Transfers

Club Staff, Invitations And Transfers

  • Changes to the club need the admin permission (Manage Club) as well as the coach's club role: every write under /club, PUT /athletes/by-id/{athleteId}/coach, and PUT /exercise-library/settings. A write token never reaches them, and existing tokens do not gain admin.
  • Coach roles and removal, assistant coach invitations, and transfers need a Club Admin, as in the console. A club always keeps at least one Club Admin.
  • Invitation emails go out through the coach console, so invitation sends answer 503 when it cannot be reached, and the console's invitation rate limits apply.
  • A transfer archives the athlete's profile in this club and starts a fresh one in the other; programs and history stay behind. The other club's Club Admin accepts it and may pick the coach.

Club Plan

GET /club/plan answers the club's plan state, athlete and group member limits and usage, and whether the club is locked to the Free plan's limits, for any coach. ownerBilling (tier, billing period, renewal date, a pending change) is filled only for the club's owner. Card details are never part of it; the owner manages them under Billing in the coach console.

A write the plan has no room for answers 402 PLAN_LIMIT_REACHED: adding an athlete past the plan's athlete limit, or a group program member past a Free club's member limit. When a paid subscription ends and the roster is over the Free plan, the club is locked (locked: true), and coach program writes answer 402 until coaches archive athletes or the owner renews. Athletes' own logging is never refused. Read GET /club/plan before a bulk import to see the room left.

A club's own token cannot change its plan. Only the platform administrator's token for no club can, with PUT /platform/clubs/{organizationId}/plan: Free, complimentary, or custom (a price the club pays Atlas outside Stripe), with or without MeetCal. Paid Stripe plans come only from the club owner's Stripe subscription.

GET /club/plan

Read the club's plan, limits and usage

Any coach in the token's club reads the plan's state, limits, usage and whether the club is locked. ownerBilling (the subscription's tier, period, renewal date and pending change; never card details) is filled only for the club's owner, and null for everyone else. Needs a token issued for a club.

Operation ID
getClubPlan
Permission
read

Responses

  • 200 The club's plan (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/settings

Get the club's settings

Any coach of the club. Needs a token issued for a club.

Operation ID
getClubSettings
Permission
read

Responses

  • 200 Club settings (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /club/settings

Change the club's sport, whether athletes edit their own PRs, how far ahead athletes see their program, whether program edits are locked, or workout check-ins

Club Admins only. Needs a token issued for a club. sport sets the sport new athletes, group programs and coaches' own training profiles start with; athletes and group programs already in the club keep theirs. athletePersonalRecordEditing turns athletes' own PR editing on or off for every athlete whose own setting is clubDefault. programVisibility sets how many weeks past the current one athletes see in the app, for every athlete whose own setting is clubDefault. lockProgramEdits locks or unlocks program edits for every athlete and group whose own setting and coach default both follow the club. workoutCheckIns turns pre- and post-workout check-ins on or off for the whole club, as the switch in the console's Settings → Coaching does.

Operation ID
updateClubSettings
Permission
admin

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
sport"weightlifting" | "powerlifting" | "general_fitness"
athletePersonalRecordEditingboolean
programVisibility"wholeProgram" | "oneWeek" | "twoWeeks" | "threeWeeks" | "fourWeeks"
lockProgramEditsboolean
workoutCheckInsboolean

Responses

  • 200 Updated club settings (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /club/photo

Make an uploaded photo the club's photo

Club Admins only. Needs a token issued for a club. Upload the photo first with createProfilePhotoUpload, then send the storageId its upload URL answered. The photo replaces any earlier one, which is deleted, and shows beside the club's exercises everywhere they are listed. An upload that expired or does not match what createProfilePhotoUpload was told answers 400.

Operation ID
setClubPhoto
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
storageIdRequiredstring

Responses

  • 200 Club settings with the new photo (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /club/photo

Remove the club's photo

Club Admins only. Needs a token issued for a club. Deletes the photo, so the club's exercises show its initials. Removing when there is none changes nothing.

Operation ID
removeClubPhoto
Permission
admin

Responses

  • 200 Club settings without a photo (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/coaches

List the club's coaches and pending assistant coach invitations

Pending invitations are listed for a Club Admin only, and an empty list for anyone else. Other coaches' emails show to every coach in the club; their athlete counts only to a Club Admin.

Operation ID
listClubCoaches
Permission
read

Responses

  • 200 Coaches sorted by name, and pending invitations (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /club/coaches/{membershipId}

Make a coach a Club Admin, or return a Club Admin to assistant coach

Club Admins only. A club always keeps at least one Club Admin. Only the Club Owner (the primary owner) can return themselves to assistant coach; another Club Admin's token gets 403. When they do, the longest-serving remaining Club Admin becomes the primary owner and a paid plan ends with its period. A chat connector's token gets 403 for that step-down, as it does for makeClubOwner.

Operation ID
setClubCoachRole
Permission
admin

Parameters

NameInTypeDetails
membershipIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
roleRequired"owner" | "assistant"

Responses

  • 200 The coach with their new role (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /club/coaches/{membershipId}

Remove an assistant coach from the club

Club Admins only. Reassign the coach's athletes first; their templates and questionnaires pass to the primary owner and their own training profile is archived. A Club Admin must be returned to assistant coach before removal (409); the Club Owner cannot be removed by another Club Admin (403).

Operation ID
removeClubCoach
Permission
admin

Parameters

NameInTypeDetails
membershipIdRequiredpathstring

Responses

  • 200 Coach removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /club/coaches/{membershipId}/make-owner

Make a Club Admin the Club Owner

As Make Club Owner does in the console's Organization page. Club Admins only, and only the Club Owner may hand the club on; another Club Admin's token gets 403. The coach must already be a Club Admin: make them one with setClubCoachRole first (404 for an assistant coach). The former Club Owner stays a Club Admin, and a paid plan ends with its period, as when the Club Owner steps down. Naming the current Club Owner changes nothing. A chat connector's token gets 403: the club is handed over only from the console or a personal access token.

Operation ID
makeClubOwner
Permission
admin

Parameters

NameInTypeDetails
membershipIdRequiredpathstring

Responses

  • 200 The new Club Owner (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /club/coaches/{membershipId}/athletes/move

Move every athlete an assistant coach coaches to another coach

What the console does before removing a coach: each athlete and group program assigned to the assistant coach in the path moves to toMembershipId, a coach of this club from listClubCoaches; a group member follows their group. The coach's own training profile stays theirs. Club Admins only. A Club Admin's athletes cannot be moved this way (404): return them to assistant coach first. Moves up to 1000 athletes in one call; when more are left it answers 409, and calling again moves the rest.

Operation ID
moveCoachAthletes
Permission
admin

Parameters

NameInTypeDetails
membershipIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
toMembershipIdRequiredstringFrom listClubCoaches.

Responses

  • 200 Athletes moved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /club/assistant-invitations

Email a coach an invitation to the club, as an assistant coach or a Club Admin

Club Admins only, with a token that has the admin permission. A new invitation without role grants assistant. Sending to an address with a pending invitation sends it again, keeping its role unless role is given. Limited per address and per club, as in the coach console.

Operation ID
inviteAssistantCoach
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
emailRequiredstringformat email, max length 320
nameRequiredstringmin length 2, max length 100
role"owner" | "assistant"The club role the coach gets on accepting: owner is a Club Admin. A coach who is already a Club Admin of the club stays one.

Responses

  • 201 Invitation sent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 An invitation went to this address recently, or the club has sent as many as it can this hour or today (RATE_LIMITED)
  • 503 Sending invitations is not configured on this deployment, or the coach console could not complete the invitation; retry later

DELETE /club/assistant-invitations/{invitationId}

Revoke a pending assistant coach invitation

Club Admins only.

Operation ID
revokeAssistantCoachInvitation
Permission
admin

Parameters

NameInTypeDetails
invitationIdRequiredpathstring

Responses

  • 200 Invitation revoked (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
  • 503 Sending invitations is not configured on this deployment, or the coach console could not complete the invitation; retry later

GET /club/transfers

List the club's pending athlete transfers in and out

Club Admins only.

Operation ID
listClubTransfers
Permission
read

Responses

  • 200 Pending transfers (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /club/transfers

Ask another club to take one of this club's athletes

Club Admins only. The destination club's admin accepts it; until then the athlete stays here. Find destination club IDs with listTransferDestinations.

Operation ID
requestAthleteTransfer
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
athleteIdRequiredstring
destinationOrganizationIdRequiredstring

Responses

  • 201 Transfer requested (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/transfer-destinations

List the clubs an athlete can be transferred to

Club Admins only. Every other active club's ID and name, as the coach console's transfer picker lists them.

Operation ID
listTransferDestinations
Permission
read

Responses

  • 200 Clubs sorted by name (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /club/transfers/{transferId}/accept

Accept an incoming athlete transfer

Club Admins of the destination club only. The athlete joins this club coached by the coach named, or by the primary owner, and their profile in the source club is archived, which ends their 1-1 coaching and every group membership there.

Operation ID
acceptAthleteTransfer
Permission
admin

Parameters

NameInTypeDetails
transferIdRequiredpathstring

Request Body

Optional, JSON

object

FieldTypeDetails
destinationCoachMembershipIdstringA coach of this club, from listClubCoaches.

Responses

  • 200 Transfer accepted (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 The club's plan has no room for this athlete (PLAN_LIMIT_REACHED)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /club/transfers/{transferId}

Cancel a pending athlete transfer, in either direction

Club Admins only.

Operation ID
cancelAthleteTransfer
Permission
admin

Parameters

NameInTypeDetails
transferIdRequiredpathstring

Responses

  • 200 Transfer cancelled (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/retention

Read the club's athlete retention report

The console's Retention page, for Club Admins: active and past individually coached athletes with their coaching dates, package and notes, the club's totals and monthly churn, and the same totals and monthly churn per coach. Group programs, group members and coaches' own training profiles are left out. today is the token owner's local date.

Operation ID
getClubRetention
Permission
read

Parameters

NameInTypeDetails
coachquerystringOnly this coach's athletes: a coachUserId from coaches, or unassigned. totals, months, coaches and athletes then hold that coach alone. Anything else answers the whole club.

Responses

  • 200 The retention report (object)
  • 401 Missing or invalid token (Error)
  • 403 The token lacks the permission, or its owner is not a Club Admin of the token's club (FORBIDDEN) (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/athletes

List every athlete and group program in the club

The club's athlete directory, as the console's Club Athletes page shows it: every active athlete and group program with their assigned coach's name, sorted by name. opens says whether the coach may open the athlete's hub; an assistant opens only their own athletes.

Operation ID
listClubAthletes
Permission
read

Responses

  • 200 The club's athletes (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/run-leaderboards

List the club's run leaderboards

The fastest run PR at each distance across the club's general fitness athletes, as the console's Highlights page shows them. A distance nobody has run is left out.

Operation ID
listClubRunLeaderboards
Permission
read

Parameters

NameInTypeDetails
coachquerystringOnly athletes this coach is assigned to: a value from the coaches list GET /club/highlights returns. Anything else counts the whole club.

Responses

  • 200 One leaderboard per distance (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/run-leaderboards/{distance}

Rank the club's athletes by run PR at one distance

Every general fitness athlete in the club with a time at the distance, fastest first, at most 100. Tied times share a rank; the top three carry a medal.

Operation ID
getRunLeaderboard
Permission
read

Parameters

NameInTypeDetails
distanceRequiredpath"mile" | "two_mile" | "five_k" | "ten_k" | "half_marathon" | "marathon"

Responses

  • 200 The ranked run leaderboard (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/exercise-leaderboard

Rank the club's athletes on a lift by their best percentage

For a record lift or club lift, every athlete who tracks it ranked by their best completed set as a percentage of their 1RM, at most 100, as the leaderboard on a session's exercise shows it. A club lift measured in something other than weight ranks athletes by their 1RM in its measure instead, the lowest first for a time lift where faster wins. An exercise that is no tracked lift answers an empty list.

Operation ID
getExerciseLeaderboard
Permission
read

Parameters

NameInTypeDetails
exerciseNameRequiredquerystringThe exercise as it appears in a program.
exerciseCategoryquerystringThe exercise's category, which tells apart lifts that share a name.

Responses

  • 200 The ranked leaderboard (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/highlights

Read the club's highlights for a period

The console's Highlights page: the club's totals for a month, a year or all time (sessions, volume, PRs, meets), each total's change from the period before once the period has ended, a sessions chart (by month for a year, by year for all time), its leaderboards (most sessions, most PRs, biggest PR jumps, recent PRs, most-trained lifts), and the period navigation. updatedAt is when highlights were last rebuilt; they are rebuilt overnight.

Operation ID
getClubHighlights
Permission
read

Parameters

NameInTypeDetails
periodquerystringA period key from period.key, period.previousKey, period.nextKey or kindPeriods in GET /club/highlights. Left out, or not a period key, it is the current year.
coachquerystringOnly athletes this coach is assigned to: a value from the coaches list GET /club/highlights returns. Anything else counts the whole club.

Responses

  • 200 The club's highlights (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/highlights/card

Render the club's highlights as a shareable image

The highlights card the console shares: an SVG of the period's totals, and its leaderboards when includeLeaderboards is true. Leaderboards on the card name athletes only by first name and last initial.

Operation ID
getClubHighlightCard
Permission
read

Parameters

NameInTypeDetails
periodquerystringA period key from period.key, period.previousKey, period.nextKey or kindPeriods in GET /club/highlights. Left out, or not a period key, it is the current year.
coachquerystringOnly athletes this coach is assigned to: a value from the coaches list GET /club/highlights returns. Anything else counts the whole club.
formatquery"feed" | "story"feed is a square image for a feed post, story a tall one for a story. Defaults to feed.
includeLeaderboardsquerybooleanDefaults to false.

Responses

  • 200 The highlights card (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/wrapped

Read the club's Wrapped for the year

The club's year in review as slides, each with its SVG image, while Wrapped is open in December. null outside that window or when the club logged no sessions that year.

Operation ID
getClubWrapped
Permission
read

Parameters

NameInTypeDetails
formatquery"feed" | "story"feed is a square image for a feed post, story a tall one for a story. Defaults to feed.

Responses

  • 200 The club's Wrapped, or null (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /club/output-account

Read the club's Output Sports connection

Any coach in the token's club. Reports whether the club's Output Sports account is connected or needs reconnecting, its email, and how many Output athletes it lists; never the password or access tokens. Needs a token issued for a club.

Operation ID
getClubOutputAccount
Permission
read

Responses

  • 200 The connection (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /club/output-account

Connect or replace the club's Output Sports account

Atlas signs in to Output Sports with the login to check it before saving it, encrypted, as the club's account; it replaces any account the club had and ends Needs Reconnecting. Links from athletes to Output athletes the new account does not list are cleared. Any coach in the token's club may do this, as in the console. The password is never echoed, logged or returned. Sign-in attempts are rate limited per club. Answers 400 when Output Sports refuses the login. Needs a token issued for a club.

Operation ID
connectClubOutputAccount
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
emailRequiredstringformat email, max length 320
passwordRequiredstringformat password, min length 1, max length 1024

Responses

  • 200 The connected account (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 Too many Output Sports sign-in attempts for this club; try again later
  • 503 Output Sports could not be reached or answered with an error

DELETE /club/output-account

Remove the club's Output Sports account

Deletes the saved login and clears every athlete's Output link in the club. Any coach in the token's club may do this, as in the console. removed is false when the club had no account. Needs a token issued for a club.

Operation ID
removeClubOutputAccount
Permission
admin

Responses

  • 200 Whether an account was removed (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Roster

Stable Roster Identities

Page through GET /roster?limit=100 and follow continueCursor until isDone is true for the complete roster. Create or adopt a roster entry before writing a new program, and use the athleteId it returns instead of an editable name.

GET /roster

Page through the complete stable coach-owned athlete roster

The same athletes as GET /athletes, a page at a time: follow continueCursor until isDone.

Operation ID
listRoster
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
limitqueryinteger
cursorquerystring

Responses

  • 200 Paginated roster with page, continueCursor, and isDone; each page entry is an Athlete with its location (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Athletes

Name And ID Routes

Most athlete endpoints come in two forms: /athletes/{athleteName}/… for legacy name-based records and /athletes/id/{athleteId}/… for the stable roster ID. Prefer the ID form. GET /athletes is a compatibility view that also surfaces legacy name-only records.

Athlete Profiles

GET /athletes/by-id/{athleteId} returns every field of the console's Profile page, including location and the coach-only coachNotes; a token without the write permission gets null for injuryHistory and coachNotes. Send any of them to POST /athletes or PATCH /athletes/by-id/{athleteId}; omitted fields keep their value and null clears one. Profile fields never change the athlete's invitation, and a new email never sends one: an athlete never invited stays not invited, a failed invitation becomes revoked, and a pending one must be revoked first. Send it with POST /athletes/by-id/{athleteId}/invitation. A group program has no profile, so writing one to its row answers 409. Roster lists include each athlete's location.

Deleting Athlete Data

Deleting an athlete's data removes every coach-owned program, personal record, meet, meet result, meet plan, week note, session check-in, and badge for that athlete, in bounded transactions that stay safe for long histories. The response counts each kind of record deleted. The roster entry stays; archive it separately. These deletes need athlete_data_delete.

GET /athletes

List the token owner's active roster athletes, sorted by name

A club admin lists every active athlete in the club; an assistant coach, the athletes assigned to them. Each carries groupIds, the group programs they are in, and hasIndividualCoaching, whether they have a 1-1 coach; GET /athletes/by-id/{athleteId}/groups names the groups. For a large roster, page through GET /roster instead.

Operation ID
listAthletes
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.

Responses

  • 200 Coach roster (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes

Create or adopt a stable coach-owned roster entry

Body: name, an optional sport (the club's sport when left out), plus any profile fields to save on the athlete created or adopted. An athlete adopted keeps their sport. Profile fields: weightClass, height, location, occupation, athleticHistory, injuryHistory, shortTermGoals, longTermGoals, biggestWeakness, biggestStrengths, athleteIdentity, weightliftingMotivation, careerSuccess, gender, daysPerWeekAvailable, equipmentAccess, currentActivityLevel, age, birthDate, coachNotes. Send null to clear one; omitted fields keep their value. Every sport stores the same text fields; general fitness has no weightClass or gender and is the only sport with daysPerWeekAvailable, equipmentAccess and currentActivityLevel. Setting them never changes the athlete's invitation. A group program has no profile, so writing one to its row answers CONFLICT. Example: {"name":"Alex Smith","sport":"powerlifting","location":"Switzerland","weightClass":"81 kg"}

Operation ID
createAthlete
Permission
write

Request Body

Required, JSON

Responses

  • 201 Athlete created or adopted (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}

Get an athlete profile, its profile fields, and integration status

Operation ID
getAthleteById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Athlete profile (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /athletes/by-id/{athleteId}

Update an athlete name, email, Output connection, or profile fields

Body: any of name, email, outputAthleteId, and the profile fields. Changing the email never sends an invitation: an athlete never invited stays not_invited, one whose invitation failed becomes revoked, and a pending invitation must be revoked first. Send one with POST /athletes/by-id/{athleteId}/invitation. Nothing else touches the invitation. Profile fields: weightClass, height, location, occupation, athleticHistory, injuryHistory, shortTermGoals, longTermGoals, biggestWeakness, biggestStrengths, athleteIdentity, weightliftingMotivation, careerSuccess, gender, daysPerWeekAvailable, equipmentAccess, currentActivityLevel, age, birthDate, coachNotes. Send null to clear one; omitted fields keep their value. Every sport stores the same text fields; general fitness has no weightClass or gender and is the only sport with daysPerWeekAvailable, equipmentAccess and currentActivityLevel. Setting them never changes the athlete's invitation. A group program has no profile, so writing one to its row answers CONFLICT. Example: {"location":"Switzerland","weightClass":"81 kg"}

Operation ID
updateAthleteProfileById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Updated athlete profile (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/by-id/{athleteId}

Archive an athlete roster profile without deleting its history

The athlete leaves the roster and an unaccepted invitation is revoked. Their programs, records and logs stay; POST /athletes/by-id/{athleteId}/restore brings them back.

Operation ID
archiveAthleteProfileById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Athlete profile archived (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/by-id/{athleteId}/permanently

Delete an athlete's profile and everything Atlas holds for them in the club

Deletes for good, as Delete on the console's athlete settings does: the profile leaves the roster and the Archived tab, pending transfers are cancelled, the athlete's club membership ends, and their programs, personal records, meets, meet plans, week notes, check-ins, questionnaires, badges and notifications in the club are deleted in the background. It cannot be undone; DELETE /athletes/by-id/{athleteId} archives instead. A Club Admin or the athlete's assigned coach may. An athlete who also coaches in the club is refused with 400 until that role is removed, and a group program is refused with 409 (use DELETE /group-programs/{groupId}). Needs the athlete_data_delete permission.

Operation ID
deleteAthletePermanently
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Profile deleted (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/{athleteName}

Delete an athlete's programs, personal records, meets, meet plans, week notes, check-ins and badges

Only a coach who manages the athlete's profile may. The roster entry itself stays; archive it with DELETE /athletes/by-id/{athleteId}. Answers how many of each kind were deleted.

Operation ID
deleteAthleteData
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 Athlete data deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/archived

List the club's archived athletes, sorted by name

A Club Admin sees every archived athlete, an assistant coach those assigned to them. With coach, it lists only the archived athletes that coach's roster holds: their own, plus unassigned ones when a Club Admin names themselves. Lists up to 500.

Operation ID
listArchivedAthletes
Permission
read

Parameters

NameInTypeDetails
coachquerystringLists the archived athletes of one coach's roster, as the console's Roster shows them: a Club Admin names any coach of the club by their userId from listClubCoaches, or their own userId for their own roster with its unassigned athletes. Left out, it lists the club as described above. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.

Responses

  • 200 Archived athletes (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/by-id/{athleteId}/restore

Bring an archived athlete back onto the roster with their history

Operation ID
restoreArchivedAthlete
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Athlete restored (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 The club's plan has no room for this athlete (PLAN_LIMIT_REACHED)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/by-id/{athleteId}/coach

Choose which of the club's coaches coaches an athlete

Club Admins only. A group program's member follows the group's coach; reassign the group program instead.

Operation ID
assignAthleteCoach
Permission
admin

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
coachMembershipIdRequiredstringFrom listClubCoaches.

Responses

  • 200 Coach assigned (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 The club's plan has no room for this athlete (PLAN_LIMIT_REACHED)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/settings

Get an athlete's readiness, estimated record, PR editing, adding exercises, program edit lock, program visibility, sport and workout check-in settings

Operation ID
getAthleteCoachingSettings
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Athlete settings (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /athletes/by-id/{athleteId}/settings

Change an athlete's readiness, estimated record, PR editing, adding exercises, program edit lock, program visibility, sport or workout check-in setting

Coach notes are a profile field: set them with updateAthleteProfileById. The week start day is the coach's own in each club: change it with updateCoachSettings. sport changes for a coach who manages the athlete or group program, at any time, but never for a group member, who follows their group (409 while sportLocked is true). A switch gives the new sport to every one of the athlete's or group's own programs that ends today or later, running blocks included, and a group's switch carries its members' copies and the members who follow it. A member's copies of another group's programs keep that group's sport. Finished programs keep their sport. Meets, meet plans, meet results, questionnaires and MeetCal or Open Powerlifting links stay saved, hidden while no sport the athlete trains uses them. today is the caller's local date that decides which programs have finished; it defaults to the server's UTC date and must be within a day of it. workoutCheckIns turns the athlete's own pre- and post-workout check-ins on or off, only for a coach who manages the athlete's profile (403 otherwise) and never for a group program (404); the club's workoutCheckIns still wins while it is off.

Operation ID
updateAthleteCoachingSettings
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
readinessPercentAdjustmentboolean | nulltrue or false sets the athlete's own choice; null clears it so the assigned coach's default applies.
estimatedPersonalRecords"coachDefault" | "on" | "off"
personalRecordEditing"clubDefault" | "on" | "off"
canAddExercises"coachDefault" | "on" | "off"
lockProgramEdits"coachDefault" | "on" | "off"
programVisibility"clubDefault" | "wholeProgram" | "oneWeek" | "twoWeeks" | "threeWeeks" | "fourWeeks"
sport"weightlifting" | "powerlifting" | "general_fitness"
todaystringSent with sport: the caller's local date.format date
workoutCheckInsboolean

Responses

  • 200 Updated athlete settings (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/by-id/{athleteId}/invitation

Email a roster athlete an invitation to join Atlas, or send it again

Uses the email given, or the one on file; one of the two is required. An athlete who already joined, an email on another profile, or an athlete assigned to a coach who left the club is refused. Limited per address and per club, as in the coach console.

Operation ID
sendAthleteInvitation
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Optional, JSON

object

FieldTypeDetails
emailstringformat email, max length 320

Responses

  • 200 Invitation sent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 The club's plan has no room for this athlete (PLAN_LIMIT_REACHED)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 An invitation went to this address recently, or the club has sent as many as it can this hour or today (RATE_LIMITED)
  • 503 Sending invitations is not configured on this deployment, or the coach console could not complete the invitation; retry later

DELETE /athletes/by-id/{athleteId}/invitation

Revoke an athlete's unused invitation, keeping their profile

Operation ID
revokeAthleteInvitation
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Invitation revoked (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
  • 503 Sending invitations is not configured on this deployment, or the coach console could not complete the invitation; retry later

POST /athletes/through-guardian

Add an athlete under 18 who has no email of their own, and invite their parent as guardian

For a child who shares a parent's email. The athlete is added with no email, and the parent is emailed a guardian invitation. Once the parent signs in, they sign the child in on the child's own phone from Atlas (up to 3 devices); coaches never can. The birthdate is required and must be under 18. The athlete's profile reports signsInThroughGuardian until they add their own email.

Operation ID
inviteAthleteThroughGuardian
Permission
write

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringmax length 100
guardianEmailRequiredstringformat email, max length 320
birthDateRequiredstringformat date
sport"weightlifting" | "powerlifting" | "general_fitness"

Responses

  • 201 Athlete added and guardian invitation created; the email goes out in the background (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 Too many invitations to this address or from this club recently (RATE_LIMITED)

GET /athletes/by-id/{athleteId}/groups

List an athlete's group programs and whether they have a 1-1 coach

An athlete has at most one 1-1 coach in their club and is in up to 10 of its groups, listed in the order they joined. individualCoachUserId is their 1-1 coach, null when they train with their groups only. isRosterGroup marks the group whose coach is their coach of record while they have no 1-1 coach.

Operation ID
listAthleteGroups
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 The athlete's groups and 1-1 coaching (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/by-id/{athleteId}/roster

Give an athlete a 1-1 coach

As Add To Roster does in the console: coachMembershipId (a coach's club membership ID from GET /club/coaches) becomes the athlete's 1-1 coach, and their groups stay as they are. The token owner may name themselves for an athlete whose profile they manage; a Club Admin may name any coach. added is false when that coach already coaches them 1-1.

Operation ID
addAthleteToRoster
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
coachMembershipIdRequiredstring

Responses

  • 200 The athlete is on the coach's roster (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 The club's plan has no room for another athlete
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/by-id/{athleteId}/roster

End an athlete's 1-1 coaching and keep them in their groups

As Remove From Roster does in the console: the athlete keeps their groups and the work they have done, their future 1-1 sessions from today go, and the coach of their earliest group becomes their coach. An athlete in no group is refused with 409: add them to a group first, or archive them. today (YYYY-MM-DD, within a day of the server's UTC date) defaults to the server's UTC date. removed is false when they had no 1-1 coach. Needs write, since nothing is deleted.

Operation ID
removeAthleteFromRoster
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
todayquerystring

Responses

  • 200 The athlete trains with their groups only (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 The club's plan has no room for another group member
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/id/{athleteId}

Delete an athlete's programs, personal records, meets, meet plans, week notes, check-ins and badges

Only a coach who manages the athlete's profile may. The roster entry itself stays; archive it with DELETE /athletes/by-id/{athleteId}. Answers how many of each kind were deleted.

Operation ID
deleteAthleteDataById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Athlete data deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Group Programs

Group Program Members And Webhooks

  • A group program is one program many athletes follow. GET /group-programs lists the token owner's, and GET /group-programs/{groupId}/members lists one's members, each with hasIndividualCoaching.
  • An athlete belongs to one club, has at most one 1-1 coach there, and is in up to 10 of its group programs. They follow their 1-1 program and every group's program, and train every one of their sports. Athlete reads carry groupIds and hasIndividualCoaching; GET /athletes/by-id/{athleteId}/groups names each group, its sport and coach, and the athlete's 1-1 coach.
  • POST /group-programs takes { "name" } and creates one on the token owner's roster; a club admin may add coachMembershipId, that coach's club membership ID, to put it on another coach's. Its join link starts switched on. Its sport joins each member's own sports; it never replaces them.
  • GET and PATCH /group-programs/{groupId}/settings read and change its settings: joinEnabled, joinBlurb (the join page's text), visibleWeeksAhead, membersInClubChat and activityAlerts. The answer carries joinUrl, the public join page.
  • POST /group-programs/{groupId}/join-link/rotate replaces the link, so every copy shared so far stops working. DELETE /group-programs/{groupId}/join-link switches it off; it deletes nothing, so it needs only write.
  • POST /group-programs/{groupId}/members takes { "name", "email" } and sends the invitation a coach would. It answers invited with 201, or restored for a former member, who keeps their history, or already_member (both 200). The group webhook answers every success, invited included, with HTTP 200. Someone the club already coaches joins and keeps their 1-1 coach and other groups. Someone active in another club is refused until that club archives them. It needs write.
  • A club on a plan without room for another group member answers 402 PLAN_LIMIT_REACHED. A Free club includes 10 group members. The club owner can raise the limit in steps of 50, and Atlas never raises it on its own. A complimentary or custom club, and a club with no billing row yet, has no group-member limit. A group holds at most 5,000 members, and an add past that is refused.
  • The group's program is written like any other, through /programs, and every member follows it. A member's copy of it cannot be written directly (409). To program them 1-1 as well, give them a 1-1 coach and write their own program.
  • POST /group-programs/{groupId}/athletes takes { "athleteId" } and adds an athlete already in the club to the group. Their 1-1 coach, sessions, sport and other groups stay. An athlete already in 10 groups and one active in another club answer 409.
  • DELETE /group-programs/{groupId}/members/{athleteId} ends that one membership: the sessions they logged stay and the group's future ones go. It answers archived: true when that group was all that held them, so they are archived with their history kept. DELETE /group-programs/{groupId}/members?email= does the same by email, answering removed or not_member, and also cancels the invitation of someone who never joined. The older POST /group-programs/{groupId}/members/{athleteId}/make-individual is deprecated and now does the same as the delete.
  • POST /athletes/by-id/{athleteId}/roster with { "coachMembershipId" } gives an athlete a 1-1 coach, and DELETE /athletes/by-id/{athleteId}/roster ends it while they stay in their groups; an athlete in no group answers 409. These and the membership removals delete no history, so they need write.

Webhook

For a club's own signup system, each group can have a secret webhook URL. In the coach console, open the group, then Settings, then Webhook, and choose Make Webhook URL. That button gives the full address to paste into Zapier or Make. Atlas builds it from the deployment's console URL (ATLAS_CONSOLE_URL): that origin, then /api/group-webhook/, then the secret. The public coach console is https://atlas.meetcal.app. When this deployment's console URL is that host, the address starts with https://atlas.meetcal.app/api/group-webhook/. If the deployment has no console URL, the response's url is empty and the console shows the token to put after the origin you are signed in on and /api/group-webhook/. The same call is POST /group-programs/{groupId}/webhook, which returns that URL once. The URL is the credential, so it needs no token. Keep it private.

Atlas shows the URL only once. Lost it, or did it leak? Choose Make Webhook URL again (the button reads New URL once one exists) and paste the new address into every Zap or scenario. The previous URL stops working right away.

  • POST a JSON object with Content-Type: application/json: { "action": "add", "email", "name" } to add someone, or { "action": "remove", "email" } to take them off. Without an action, a delivery adds. A form-encoded body is not JSON, so Atlas answers 400 with { "error": "Invalid JSON body" }. Valid JSON that is not an object answers 400 with { "error": "Request body must be a JSON object" }.
  • A success answers HTTP 200 and { "status", "email" }. status is invited, restored, already_member, removed, or not_member. invited is 200 here. The Coach API member route answers that same invited with 201.
  • An add without a usable name (2 to 100 characters) uses one made from the email: jane.doe@example.com joins as Jane Doe. Rename them from their profile.
  • Deliveries are idempotent: adding a member twice sends no second email, and removing someone who is not a member changes nothing. Adds and removals, by webhook or API, are limited to 300 an hour per group and 10 an hour for the same email in one group, so a test loop does not send an athlete a stack of invitations.
  • The group's Settings, in the Webhook section, lists the newest 50 deliveries. The Result column reads Invited, Restored, Already A Member, Removed, Not A Member, Refused, or Rate Limited. A refused row includes the reason under that label.
AnswerMeaning
200Done. The body status is invited, restored, already_member, removed, or not_member. invited is included in this 200.
400The body was refused. { "error": "Invalid JSON body" } means the body could not be parsed as JSON, which is what a form post returns. Valid JSON that is not an object, such as an array or a string, returns { "error": "Request body must be a JSON object" }. An invalid email, an action other than add or remove, someone active in another club, or someone already in 10 groups is also 400, with the reason in error. Settings logs it. Sending the same body again is refused again.
402The plan has no room for another group member. The body is { "error": "..." }. A Free club includes 10 group members. The club owner can raise the limit in steps of 50, and Atlas never raises it on its own. A complimentary or custom club, and a club with no billing row yet, has no group-member limit. The Coach API route reports the same limit as 402 PLAN_LIMIT_REACHED.
413The body is over 16 KB. The error is Request body is too large.
404The URL was turned off or replaced, or the group has ended.
429Too many deliveries this hour. Send it again later.
500, 503Atlas could not take it. Send it again later, and contact Atlas support if it keeps failing, since it can also mean webhooks are not set up on Atlas's side.

Connect Stripe Directly

Stripe can post to Atlas with no Zapier or Make in between. The group's Stripe URL is its webhook URL followed by /stripe. Atlas checks Stripe's signature on every delivery with the signing secret you save, so nobody else can post as Stripe.

  1. Make the URL. In the coach console, open the group, then Settings, then Webhook, and choose Make Webhook URL. Under Stripe, choose Copy Stripe URL. Atlas shows it only once. If you already have a webhook URL saved somewhere, add /stripe to its end.
  2. Add the endpoint in Stripe. In the Stripe Dashboard, open Developers, then Webhooks, and add an endpoint (Stripe may call it a destination). Paste the Stripe URL and select three events: checkout.session.completed, checkout.session.async_payment_succeeded, and customer.subscription.deleted.
  3. Save the signing secret. Stripe shows the endpoint's signing secret, which starts with whsec_. Paste it into Signing Secret under Stripe in the group's Settings and choose Save Stripe. Atlas stores it encrypted and never shows it again, only its last four characters. To replace it, paste a new one and save.
  4. Choose which purchases count. A Stripe endpoint receives every purchase in your Stripe account. If you sell more than this program there, paste the program's Payment Link IDs into Payment Links. An ID starts with plink_ and is on the Payment Link's page in the Stripe Dashboard. With IDs saved, only purchases through those links add members. With none, every paid purchase does.
  5. Test it. Pay through the link in Stripe's test mode with an email that has no Atlas account, using a test endpoint and its own signing secret. Settings lists the add as Invited. Cancel the test subscription, and it lists Removed.
  • checkout.session.completed adds the buyer by the email and name they gave when paying, once the payment is complete. A payment that settles later, such as a bank debit, adds on checkout.session.async_payment_succeeded.
  • customer.subscription.deleted takes the member whose purchase started that subscription off this group only; their 1-1 coaching and other groups stay, and they are archived only when this group was all that held them. Atlas remembers which subscription each purchase started, so it needs no Stripe API key. A subscription that began before you connected Stripe is not recognized: Settings lists it as Refused, and you remove that member yourself. Someone with two subscriptions to the group stays until the last one ends.
  • Other event types are answered with HTTP 200 and ignored. Stripe retries a delivery that fails, and Atlas acts on each event once, so a retry never invites someone twice.
  • A delivery whose signature does not match is answered with HTTP 400 and listed in Settings as Refused. Check that the saved signing secret belongs to this endpoint. Test mode and live mode endpoints have different secrets.
  • A refund does not end a subscription in Stripe. Cancel the subscription to remove the member, or remove them from the group's members list.

Connect Shopify Directly

Shopify can post to Atlas too. The group's Shopify URL is its webhook URL followed by /shopify. Atlas checks Shopify's signature on every delivery with the signing secret you save.

  1. Make the URL. In the group's Settings, under Webhook, choose Make Webhook URL, then Copy Shopify URL under Shopify. If you already have a webhook URL saved somewhere, add /shopify to its end.
  2. Add two webhooks in Shopify. In the Shopify admin, open Settings, then Notifications, then Webhooks. Create one webhook for the event Order payment and one for Order cancellation, both in JSON format, both with the Shopify URL.
  3. Save the signing secret. The same Shopify page shows the secret your webhooks are signed with. Paste it into Signing Secret under Shopify in the group's Settings and choose Save Shopify. Atlas stores it encrypted and shows only its last four characters afterwards.
  4. Choose which orders count. A Shopify webhook fires for every order in the store. If you sell more than this program, paste the program's product IDs into Product IDs. A product ID is the number at the end of the product's address in the Shopify admin. With IDs saved, only orders that include one of those products add members.
  • A paid order adds the buyer to this group by the order's email and the customer's name. Cancelling that same order takes them off this group only. An order Atlas never saw paid removes nobody and is listed in Settings as Refused, and a buyer with another paid order for the group stays until that one is cancelled too.
  • Other events are answered with HTTP 200 and ignored. Atlas acts on each order once for its payment and once for its cancellation, so Shopify's retries never invite someone twice.
  • Shopify's own webhooks have no subscription-cancelled event. If a subscription app bills your members, remove a member whose subscription ends from the group's members list, or connect that app with Zapier or Make as below.
  • A refund does not cancel the order. Cancel the order in Shopify to remove the member.

Sell A Group Program On Your Website

To add everyone who buys your program on your website and take them off when their subscription ends, connect your store to the webhook. Stripe and Shopify post to Atlas directly: see Connect Stripe Directly and Connect Shopify Directly. Stores such as WooCommerce and Squarespace send a different shape of data, so connect them with Zapier, Make, or your own server.

Webhooks by Zapier is a premium Zapier app, so that action needs a paid Zapier plan or a trial. Shopify on Zapier is premium too. Make's HTTP module runs on Make's free plan, within that plan's operation limit.

  1. Make the URL. In the coach console, open the group, then Settings, then Webhook, and choose Make Webhook URL. Copy it now: Atlas shows it only once. If you lose it, make a new one and update every Zap. The old URL stops at once.
  2. Add buyers in Zapier. Make a Zap whose trigger is a paid sale, then choose Webhooks by Zapier, then POST. Set the webhook URL, payload type json, and data action to the text add, email to the buyer's email, and name to their name.
  3. Add buyers in Make. Use your store's new-sale module, then HTTP, Make a request. Method POST, URL the webhook, body content type application/JSON. The body is {"action":"add","email":"<buyer email>","name":"<buyer name>"}, with the email and name mapped from the sale.
  4. Take off those who cancel or get a refund. Make a second Zap or scenario that posts action remove and the customer's email. Only this group's membership ends, their history is kept, and adding them again later restores it. A refund uses the same remove.
  5. Test it. Run the test with an email that has no Atlas account. A plus address works on Gmail and some other providers: add +anything before the @ in your own address, as in you+atlastest@gmail.com. Mail still reaches you. Some providers do not support that. Your own coaching address is refused, because you already coach in the club. Settings should list the add as Invited and the removal as Removed.

Which store event starts each Zap:

  • Stripe: connect it directly instead, as above. In Zapier, New Payment adds and Canceled Subscription removes. A refunded charge removes the same email.
  • Shopify: New Paid Order adds. New Refund removes. Shopify's Zapier app has no subscription-cancelled trigger, so a subscription uses the subscription app's cancelled event, or New Cancelled Order when the order itself is cancelled, and then removes.
  • WooCommerce: Order paid adds. Subscription status changed to Cancelled removes a subscription. Order status changed to Refunded removes a refund. Those subscription rules need WooCommerce Subscriptions.
  • Squarespace Commerce: New Order adds. That app has no subscription-cancelled trigger. Updated Order removes when the order is cancelled or refunded. If Stripe takes the payment, Stripe's Canceled Subscription can remove instead.

What a buyer sees after paying:

  • An email invitation to Atlas. They download the app and sign in with the same email they paid with, and the group's program is there from that day. If they sign in with a different email, remove the paid address and add the one they use, from the group's members list.
  • Someone active in another club is refused until their coach there archives them. Someone your club already coaches joins the group and keeps their 1-1 coach and other groups.

Without a webhook, copy the join link from the group's Settings, under Join Link. That section also shows a QR code. Paste the link into the store's order confirmation or thank-you page. Anyone with the link can join, so use the webhook when only paying athletes should get in. If the link gets shared, choose New Link in that same section. The current link and QR code stop working. The join link only adds people. Remove members who cancel or get a refund from the group's members list yourself.

DELETE /group-programs/{groupId}

Delete a group program and its blocks

Deletes for good, as Delete on the console's athlete settings does: the group leaves the roster, and its blocks, activity and webhook deliveries are deleted in the background. It cannot be undone. A group that still has members is refused with 400: remove them first (DELETE /group-programs/{groupId}/members/{athleteId}). Only the group's coach or a Club Admin may. Needs the athlete_data_delete permission.

Operation ID
deleteGroupProgram
Permission
athlete_data_delete

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Responses

  • 200 Group program deleted (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs

List the group programs the token owner coaches, with member counts

A group program is one program many athletes follow. Counts stop at 101 and read as more than 100.

Operation ID
listGroupPrograms
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.

Responses

  • 200 Group programs, sorted by name (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /group-programs

Create a group program in the token's club

Creates it on the token owner's roster, or, for a club admin, on another coach's (coachMembershipId, that coach's club membership ID). Its name cannot be an active athlete's or another group's. sport is the group's, the club's sport when left out; a member trains it beside their own sport and their other groups' sports. A field other than name, coachMembershipId and sport is refused with 400. Answers the group with its sport, settings and join link, which starts switched on. Needs a token issued for a club.

Operation ID
createGroupProgram
Permission
write

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringmin length 2, max length 100
coachMembershipIdstring
sport"weightlifting" | "powerlifting" | "general_fitness"

Responses

  • 201 The new group program, its member count (0) and settings (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs/{groupId}/settings

Read a group program's settings and join link

joinUrl is the public join page (null where the deployment has no console address); joinEnabled says whether it takes sign-ups. A group that has never had settings gets the defaults and a new join link on its first read by its coach or a Club Admin with a write token, as opening it on the console does; a read-only token answers 409 until then.

Operation ID
getGroupProgramSettings
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Responses

  • 200 The group's settings (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /group-programs/{groupId}/settings

Change a group program's settings, or switch its join link on or off

Send any of the fields. visibleWeeksAhead must be one the console offers; joinBlurb is the join page's text (at most 600 characters, null to clear). Only the group's coach or a club admin may change it.

Operation ID
updateGroupProgramSettings
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
joinEnabledboolean
joinBlurbstring | nullmax length 600
visibleWeeksAheadinteger
membersInClubChatboolean
activityAlertsboolean
lockProgramEdits"coachDefault" | "on" | "off"Lock Program Edits for the group's member copies. coachDefault follows the group's coach's defaultLockProgramEdits, then the club; each member's own 1-1 setting never applies to the group's copies.

Responses

  • 200 The group's settings after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs/{groupId}/members

List a group program's active members, sorted by name

Lists up to 500 members; hasMore says there are more. groupJoinDate is when they joined this group, and hasIndividualCoaching whether they also have a 1-1 coach.

Operation ID
listGroupProgramMembers
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Responses

  • 200 Members and whether more exist (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /group-programs/{groupId}/members

Add someone to a group program by email and send their invitation

Invites a new address, restores a former member with their history, or does nothing for a current member (including one already invited), answering invited (201), restored or already_member (200). The body names no sport: a member trains the group's sport beside their own. Someone already in the club keeps their 1-1 coach and their other groups. An athlete active in another club is refused until that club archives them, as is an athlete already in 10 groups; each answers 400 with the reason. Limited to 300 adds and removals an hour per group and 10 per address in a group, shared with the group's webhook.

Operation ID
addGroupProgramMember
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringmax length 100
emailRequiredstringformat email

Responses

  • 200 Already a member, or restored (object)
  • 201 Invited (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 Too many adds for this group or address in the last hour
  • 503 Adding members by email is not configured on this deployment, or the coach console could not send the invitation; retry later

DELETE /group-programs/{groupId}/members

Take someone off a group program by email

Ends only their membership of this group: their 1-1 coaching and other groups stay, and they are archived, with their history kept, only when this group was all that held them. Answers removed, or not_member when the email is not in this group, so a repeat is harmless. Removing someone who never joined also cancels their invitation. To remove by athlete ID, use DELETE /group-programs/{groupId}/members/{athleteId}. Needs write, since nothing is deleted.

Operation ID
removeGroupProgramMember
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring
emailRequiredquerystring

Responses

  • 200 removed or not_member (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 Too many adds and removals for this group or address in the last hour

GET /group-programs/{groupId}/blocks

List a group program's training blocks

Each program the group has followed, newest first, with its dates. Pass a programId to GET …/blocks/{programId}/member-stats.

Operation ID
listGroupProgramBlocks
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Responses

  • 200 The group's blocks (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs/{groupId}/blocks/{programId}/member-stats

List how each member is following a group program block

The console's group analytics table: for each active member, the sessions due and completed in the block, those due this week, when they last completed one and how they rated their sessions. A member who joined after the block with nothing due is left out, so a page can hold fewer than limit members; follow the cursor until isDone.

Operation ID
listGroupProgramMemberStats
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring
programIdRequiredpathstring
todayRequiredquerystringThe coach's local date, which decides which sessions are due.
cursorquerystringcontinueCursor from the previous page.
limitqueryinteger

Responses

  • 200 A page of member stats (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs/{groupId}/activity

List a group program's recent member comments and PRs

The group's activity feed, newest first: session comments members left and PRs they set over the last 90 days, at most 100. kind narrows it to one of them.

Operation ID
listGroupProgramActivity
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring
kindquery"comment" | "personal_record"

Responses

  • 200 Group activity (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs/{groupId}/check-in-questions

List a group program's members' answers to custom check-in questions

What the group's Analytics charts plot for its check-in questions: for each member with an answer on a custom scale, the answers from their latest 90 check-ins, each dated with every scale's prompt and value. A coach who coaches only the group sees the check-ins of the group's sessions. Members without one are left out, so a page can hold fewer than limit members; follow the cursor until isDone.

Operation ID
listGroupProgramCheckInQuestions
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring
cursorquerystringcontinueCursor from the previous page.
limitqueryinteger

Responses

  • 200 A page of members' check-in question answers (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs/{groupId}/competition-reports

List the post-meet report cards of a group program's members

For each active member with a submitted post-meet questionnaire, their latest 12 report cards. Members without one are left out, so a page can hold fewer than limit members; follow the cursor until isDone.

Operation ID
listGroupProgramCompetitionReports
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring
cursorquerystringcontinueCursor from the previous page.
limitqueryinteger

Responses

  • 200 A page of members' report cards (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs/{groupId}/required-forms

List the forms a group program's members must sign

For Club Admins and the group's own coach. Roster forms do not apply to group members.

Operation ID
getGroupProgramRequiredForms
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstringThe group program.

Responses

  • 200 The group's forms (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /group-programs/{groupId}/required-forms

Choose the forms a group program's members must sign

Club Admins only. Active, published forms of the club, at most 20; an empty list requires none. A form already required keeps when it became required, and one added now gives existing members seven days.

Operation ID
setGroupProgramRequiredForms
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstringThe group program.

Request Body

Required, JSON

object

FieldTypeDetails
formIdsRequiredarray of stringmax items 20

Responses

  • 200 The group's forms after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs/{groupId}/analytics/board

Get the token owner's chart board for a group program

Each coach keeps their own board per group. data is null when this coach has not saved one, and the console shows the group presets group-weekly-volume, group-completion-rate, group-readiness. A group chart evaluates each of up to 100 members and combines them; Oura, WHOOP and nutrition variables read the first 30 members by name, and fiber, sugar and sodium are not allowed.

Operation ID
getGroupAnalyticsBoard
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Responses

  • 200 The saved board, or null (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /group-programs/{groupId}/analytics/board

Replace the token owner's chart board for a group program

Up to 64 charts: the group presets (group-weekly-volume, group-completion-rate, group-readiness) as builtin items and custom charts, each with memberAggregation to combine members. Send layoutVersion 7. A group chart evaluates each of up to 100 members and combines them; Oura, WHOOP and nutrition variables read the first 30 members by name, and fiber, sugar and sodium are not allowed.

Operation ID
saveGroupAnalyticsBoard
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
itemsRequiredarray of AnalyticsLayoutItemmax items 64
layoutVersion2 | 3 | 4 | 5 | 6 | 7

Responses

  • 200 The board as saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /group-programs/{groupId}/athletes

Add an athlete of the club to a group program

As Add To Group does in the console: the athlete gains a membership of this group and, from today on, its sessions. Their 1-1 coach, their 1-1 sessions, their sport and their other groups stay as they are; the group's sport joins theirs. A group-only athlete's coach stays the coach of their earliest group. today (YYYY-MM-DD, within a day of the server's UTC date) defaults to the server's UTC date. moved is true when the membership was added and false when they were already a member. An athlete already in 10 groups and one active in another club are refused with 409 and the reason. To add someone by email instead, use POST /group-programs/{groupId}/members.

Operation ID
moveAthleteToGroupProgram
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
athleteIdRequiredstring
todaystringformat date

Responses

  • 200 The athlete is a member (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 The club's plan has no room for another group member
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /group-programs/{groupId}/members/{athleteId}

Take an athlete off one group program

As Remove does on a group in the athlete's settings in the console: their membership of this group ends, the sessions they logged or changed stay, and the group's future sessions go. Their 1-1 coaching and other groups stay. archived is true when this group was all that held them, so they are archived with their history kept; POST /athletes/by-id/{athleteId}/restore brings them back. A coach of the group or a Club Admin may. Answers 404 when the athlete is not a member. Needs write, since nothing is deleted.

Operation ID
removeAthleteFromGroupProgram
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring
athleteIdRequiredpathstring

Responses

  • 200 The membership ended (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /group-programs/{groupId}/members/{athleteId}/make-individual

Deprecated: take an athlete off one group program

Kept for older clients. It now does what DELETE /group-programs/{groupId}/members/{athleteId} does: their membership of this group ends and nothing else changes, so it no longer gives them a 1-1 coach and archives them when this group was all that held them. individual is always true and says nothing about their coaching. Use DELETE /group-programs/{groupId}/members/{athleteId} to leave a group and POST /athletes/by-id/{athleteId}/roster to coach them 1-1.

Operation ID
makeGroupProgramMemberIndividual
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring
athleteIdRequiredpathstring

Responses

  • 200 The membership ended (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /group-programs/{groupId}/webhook

Show a group program's signup webhook and its newest deliveries

Whether the webhook is on and its newest 50 deliveries with how each ended. Never the URL: only a hash of its secret is kept.

Operation ID
getGroupProgramWebhook
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Responses

  • 200 Webhook status (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /group-programs/{groupId}/webhook

Create or replace a group program's signup webhook URL

Returns the full URL this once: the console origin, /api/group-webhook/, and the token. Any earlier URL stops working at once, so a lost URL means making a new one and updating every sender. url is null only when this deployment has no console address; then token is the secret to put on that path. Callers POST a JSON object. Keep both secret. Only the group's coach or a club admin may.

Operation ID
createGroupProgramWebhook
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Responses

  • 201 The new URL and its secret (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /group-programs/{groupId}/webhook

Turn a group program's signup webhook off

The URL stops working at once. Only the group's coach or a club admin may.

Operation ID
disableGroupProgramWebhook
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Responses

  • 200 Webhook off (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /group-programs/{groupId}/webhook/stores/{store}

Connect a Stripe or Shopify store to a group program's signup webhook

As the console's store settings: once the store sends to the webhook URL followed by /stripe or /shopify, a purchase adds the buyer to this group, keeping their 1-1 coaching and other groups, and a cancellation ends only this group's membership, archiving them only when nothing else holds them. signingSecret is the signing secret the store shows for that webhook: a Stripe one starts with whsec_. It is stored encrypted and never returned, echoed or logged; only its last characters come back as secretPreview. Leave it out to keep the saved one when changing only the filter; the first save needs it. paymentLinkIds (Stripe, each plink_…) or productIds (Shopify, each a number) limit which purchases add members, up to 20; the list replaces the saved one, and leaving it out or sending an empty list adds every buyer. Only the group's coach or a club admin may.

Operation ID
saveGroupProgramStoreWebhook
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring
storeRequiredpath"stripe" | "shopify"

Request Body

Required, JSON

object

FieldTypeDetails
signingSecretstringformat password, min length 16, max length 200
paymentLinkIdsarray of stringStripe onlymax items 20
productIdsarray of stringShopify onlymax items 20

Responses

  • 200 The webhook after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /group-programs/{groupId}/webhook/stores/{store}

Disconnect a Stripe or Shopify store from a group program's signup webhook

Deletes the store's signing secret and filter, so its deliveries stop adding and removing members. The webhook URL itself stays on. Only the group's coach or a club admin may.

Operation ID
removeGroupProgramStoreWebhook
Permission
write

Parameters

NameInTypeDetails
groupIdRequiredpathstring
storeRequiredpath"stripe" | "shopify"

Responses

  • 200 The webhook after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /group-programs/{groupId}/analytics/chart-data

Evaluate one chart across a group program's members and return the combined data

Evaluates item, a custom chart or a group preset, for each member and combines them by its memberAggregation (average when left out). members reports how many members were evaluated and how many had data. A group chart evaluates each of up to 100 members and combines them; Oura, WHOOP and nutrition variables read the first 30 members by name, and fiber, sugar and sodium are not allowed.

Operation ID
getGroupChartData
Permission
read

Parameters

NameInTypeDetails
groupIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
itemRequiredAnalyticsLayoutItem
todayRequiredstringThe viewer's date, which lastWeeks and currentBlock ranges count back fromformat date
dateRangeobjectThe board's dates, which a chart without its own range follows
FieldTypeDetails
startDateRequiredstringformat date
endDateRequiredstringformat date
weekStartDay"sunday" | "monday"The day calendar weeks start on; defaults to the coach's setting
programIdstringCounts only this program, bucketed by its program weeks
utcOffsetMinutesintegerThe viewer's offset from UTC in minutes; defaults to 0minimum -720, maximum 840

Responses

  • 200 The combined chart data (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Guardians

GET /athletes/by-id/{athleteId}/guardians

List an athlete's guardians, live invitations and, under 13, the consent

Operation ID
listAthleteGuardians
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 The athlete's guardians (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/by-id/{athleteId}/guardians

Email someone an invitation to become an athlete's guardian

Only an athlete under 18 gets guardian invitations, at most 4 guardians and live invitations together, and 10 invitations a day per athlete. Whoever signs in to Atlas with that address becomes the guardian; there is no approval step. Invitations expire after 30 days.

Operation ID
inviteAthleteGuardian
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
emailRequiredstringformat email, max length 320

Responses

  • 201 Invitation created; the email goes out in the background (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 Ten guardian invitations for this athlete today already, or an invitation to this address went out recently (RATE_LIMITED)

DELETE /athletes/by-id/{athleteId}/guardians/{linkId}

Remove one of an athlete's guardians

The athlete, their coach and their other guardians are told. Under 13, removing the guardian whose consent stands puts the athlete back to waiting for consent.

Operation ID
removeAthleteGuardian
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
linkIdRequiredpathstring

Responses

  • 200 Guardian removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Guardian Invitations

DELETE /athletes/by-id/{athleteId}/guardian-invitations/{invitationId}

Withdraw a pending guardian invitation

Operation ID
withdrawAthleteGuardianInvitation
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
invitationIdRequiredpathstring

Responses

  • 200 Invitation withdrawn (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Athlete Passwords

PUT /athletes/by-id/{athleteId}/password

Set a new password for an athlete you coach and sign them out everywhere

For an athlete who joined Atlas and is locked out. Only their assigned coach or a Club Admin may, and never for an athlete who coaches in any club, signs in through their guardian, guards anyone, belongs to or is invited to another club, has a pending coach or guardian invitation, or for yourself. The password must pass the same rules as sign-up (length and breached-password checks), or the request answers 400 with the rule it broke. Every session the athlete has ends, and the athlete and every guardian are told who changed it. Atlas never stores or returns the password. Pass it with --body - or --body-file so it stays out of shell history. 20 attempts per coach an hour. The MCP connector has no tool for this: a password should not pass through a chat.

Operation ID
setAthletePassword
Permission
athlete_passwords

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
passwordRequiredstringformat password, max length 256

Responses

  • 200 Password set and every session of the athlete ended (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 Too many password attempts by this coach recently (RATE_LIMITED)
  • 503 The sign-in service could not be reached (UPSTREAM_ERROR). The message says whether the password did not change or Atlas could not confirm the change, in which case it may already be set.

Athlete Sign-In Codes

POST /athletes/by-id/{athleteId}/sign-in-code

Create a one-time sign-in code an athlete you coach can sign in with

The athlete types the code under Sign In With My Coach's Code in the app, or scans signInLink as a QR code, and is signed in without a password or the new-device email Clerk would otherwise send (often to a parent). It works once, for a few minutes, and creating one ends any earlier code for the athlete. The athlete and every guardian are told when it is used, and who made it. The same coaches may as for setting a password, and the code stops working if that changes. 20 codes per coach an hour. The MCP connector has no tool for this: the code signs in as the athlete and should not pass through a chat.

Operation ID
createAthleteSignInCode
Permission
athlete_passwords

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 201 Code created (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 Too many sign-in codes created by this coach recently (RATE_LIMITED)
  • 503 The sign-in service could not be reached, so no code was made (UPSTREAM_ERROR).

Retention

Retention Records

The record behind the Retention section of an athlete's profile: startDate, endDate, packageDaysPerWeek and notes. Only a Club Admin or the athlete's assigned coach reads or changes it, and only for an individually coached athlete: a group program, a group member and a coach's own training profile answer 403. In PATCH, a field left out keeps its value and null clears it. While startDate is null the athlete counts from defaultStartDate, the day they were added to Atlas, so enter the real first day for an athlete who trained with the club before then. Price and lifetime value are not part of the record, and sending either answers 400.

GET /athletes/by-id/{athleteId}/retention

Get an athlete's retention record

What the Retention section of the athlete's profile shows in the console: the dates, package and notes a coach entered, and the dates that apply while none is entered. Club Admins and the athlete's assigned coach only.

Operation ID
getAthleteRetention
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 The athlete's retention record (object)
  • 401 Missing or invalid token (Error)
  • 403 The token lacks the permission, or its owner is neither a Club Admin nor the athlete's assigned coach, is the athlete, or the profile is a group program, a group member or a coach's own training profile (FORBIDDEN) (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /athletes/by-id/{athleteId}/retention

Update an athlete's retention record

Saves the record as the console's Retention section does, under the same rules. Use it to enter the real first day of an athlete who trained with the club before they were added to Atlas, so their tenure counts from then. Price and lifetime value are not part of the record.

Operation ID
updateAthleteRetention
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

Each field: left out keeps what is stored, null clears it, a value sets it.

FieldTypeDetails
startDatestring | nullFirst day coached, YYYY-MM-DD. Not after endDate when both are entered.
endDatestring | nullLast day coached, YYYY-MM-DD. Not before startDate when both are entered.
packageDaysPerWeekinteger | nullminimum 1, maximum 7
notesstring | nullStored trimmed; blank clears it.max length 2000

Responses

  • 200 The record after the update (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 The token lacks the permission, or its owner is neither a Club Admin nor the athlete's assigned coach, is the athlete, or the profile is a group program, a group member or a coach's own training profile (FORBIDDEN) (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Athlete Documents

GET /athletes/by-id/{athleteId}/documents/reminder

Read whether an athlete can be reminded now to sign their club forms

What the Remind button on the athlete's Documents tab shows. block says why Remind is unavailable (archived, not_joined for an athlete not yet on Atlas, no_packet or nothing_to_sign when there is nothing to sign, age_unknown when they have not entered their birthdate, guardian_consent for a child under 13 waiting for a guardian's consent), or null. lastRemindedAt is the last time a coach reminded them, by Remind or Remind All; nextRemindAt is when the 24-hour wait after it ends, or null when Remind works now. For the athlete's Club Admins and assigned coach.

Operation ID
getAthleteFormReminderState
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstringThe athlete's roster id

Responses

  • 200 The athlete's reminder state (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/documents

Get an athlete's required forms, signing history and files

For the athlete's Club Admins (archived athletes included) and their assigned coach.

Operation ID
getAthleteDocuments
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstringThe athlete's roster id

Responses

  • 200 The athlete's documents (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/welcome-emails

List the welcome emails sent to an athlete

For the athlete's Club Admins and assigned coach: Sent, Pending or Failed with a fixed reason.

Operation ID
listAthleteWelcomeEmailSends
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstringThe athlete's roster id

Responses

  • 200 The sends, newest first (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/by-id/{athleteId}/documents/remind

Remind an athlete now to sign their club forms

Remind on the athlete's Documents tab: one email and push naming every form they have to sign. For the athlete's Club Admins and assigned coach, at most once every 24 hours per athlete, counting Remind All (429 until then). Refused (400) for an archived athlete, one who has not joined Atlas, one with nothing to sign, one who has not entered their birthdate (their age is unknown), and a child under 13 waiting for a guardian's consent.

Operation ID
remindAthleteToSignForms
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstringThe athlete's roster id

Responses

  • 202 Reminder queued; it goes out in the background (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 Reminded too recently (RATE_LIMITED); the message says when it works again (Error)

Personal Records

Personal Record Rules

  • An athlete holds at most 100 records. A write that would add one past that returns 400; updates to existing records still succeed.
  • weight is kilograms from 0 to 1,500, and recordedAt (epoch milliseconds) defaults to the time of the write. repMax is a positive integer. A record lift or club lift takes 1 up to its top rep max, plus any rep max up to 10 opened for the athlete (…/personal-records/opened-rep-maxes); a coach's save above the top, up to 10, opens that rep max, and one past 10 is refused. Any other exercise takes any rep max.
  • Any spelling of a record lift is stored as its id: snatch, clean, jerk, clean_jerk, power_snatch, power_clean, push_press, snatch_balance, overhead_squat, back_squat, front_squat, bench_press, deadlift. Other names keep their spelling, trimmed, from 1 to 120 characters.
  • Writes and ?exerciseName= reads match a record regardless of case, spacing, punctuation, and & versus and, so records written here show up in the app's Progress tab and the coach console.
  • calculate-weights rounds working weights from an athlete's PR and the requested percentages.

GET /athletes/{athleteName}/recent-bests

Get best estimated 1RMs from completed non-miss sets in the prior three months

Operation ID
getRecentBests
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
todayRequiredquerystring

Responses

  • 200 Recent best estimated 1RM per exercise (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/{athleteName}/calculate-weights

Calculate rounded training weights from an athlete PR

Operation ID
calculateTrainingWeights
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Calculated raw and rounded weights (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/personal-records

List an athlete's personal records

Only the record lifts the athlete's sport tracks: a weightlifter's Olympic lifts and squats, a powerlifter's or general fitness athlete's back squat, bench press and deadlift. Records of a lift another sport tracks stay stored and show again if the athlete moves back. Custom-named records always show, and so do records of a club lift of one of the athlete's sports, such as a general fitness club's Snatch; a record of an archived club lift of the athlete's sport is still listed, as history, with archived: true.

Operation ID
listPersonalRecords
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
exerciseNamequerystring

Responses

  • 200 Personal records (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/personal-records

Create or update an athlete personal record

Operation ID
upsertPersonalRecord
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Personal record saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/{athleteName}/personal-records

Delete every personal record for an athlete

Operation ID
deleteAllPersonalRecords
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 Personal records deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/{athleteName}/personal-records/bulk

Create or update up to 100 personal records

Operation ID
bulkUpsertPersonalRecords
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Personal records saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/{athleteName}/personal-records/{personalRecordId}

Delete one personal record

Operation ID
deletePersonalRecord
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
personalRecordIdRequiredpathstring

Responses

  • 200 Personal record deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/run-records

List an athlete's run PRs

Only general fitness athletes track run times; any other athlete lists none, and a write answers 400 (Only General Fitness athletes track run times). A record is the time a coach or the athlete entered; training never sets one.

Operation ID
listRunRecords
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Run PRs, in distance order (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/by-id/{athleteId}/run-records

Set an athlete's run PRs

Only general fitness athletes track run times; any other athlete lists none, and a write answers 400 (Only General Fitness athletes track run times). An upsert replaces the distance's time, slower or faster; only a faster time adds a history entry. Each distance may appear once per request. Clearing a distance is DELETE …/run-records/{distance}, which needs the athlete data delete permission.

Operation ID
saveRunRecords
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Run PRs saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/by-id/{athleteId}/run-records/{distance}

Clear one of an athlete's run PRs

Only general fitness athletes track run times; any other athlete lists none, and a write answers 400 (Only General Fitness athletes track run times). The distance's history stays. Needs the athlete data delete permission.

Operation ID
clearRunRecord
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
distanceRequiredpath"mile" | "two_mile" | "five_k" | "ten_k" | "half_marathon" | "marathon"

Responses

  • 200 Whether a run PR was cleared (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/run-records/history

List an athlete's run PR history

Newest first, at most 100 entries. Only general fitness athletes track run times; any other athlete lists none, and a write answers 400 (Only General Fitness athletes track run times).

Operation ID
listRunRecordHistory
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Run PR history (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/by-id/{athleteId}/run-records/history/{entryId}

Remove one run PR history entry

The athlete's current run PRs stay as they are.

Operation ID
deleteRunRecordHistoryEntry
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
entryIdRequiredpathstring

Responses

  • 200 Whether an entry was removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/personal-records/opened-rep-maxes

List the rep maxes a coach opened for an athlete

Every record lift and club lift tracks 1RM up to its top rep max (record lifts: snatch 3, clean 3, jerk 3, clean_jerk 3, power_snatch 3, power_clean 3, push_press 5, snatch_balance 3, overhead_squat 3, back_squat 5, front_squat 5, bench_press 5, deadlift 5; a club lift: its topRepMax). A coach may open any rep max above that top, up to 10RM, for one athlete: it then counts like a tracked one, so the athlete's PRs store it and a made set at exactly that many reps raises it. An athlete keeps at most 100 opened rep maxes.

Operation ID
listOpenedRepMaxes
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 Opened rep maxes (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/personal-records/opened-rep-maxes

Open or close a rep max for an athlete

Every record lift and club lift tracks 1RM up to its top rep max (record lifts: snatch 3, clean 3, jerk 3, clean_jerk 3, power_snatch 3, power_clean 3, push_press 5, snatch_balance 3, overhead_squat 3, back_squat 5, front_squat 5, bench_press 5, deadlift 5; a club lift: its topRepMax). A coach may open any rep max above that top, up to 10RM, for one athlete: it then counts like a tracked one, so the athlete's PRs store it and a made set at exactly that many reps raises it. An athlete keeps at most 100 opened rep maxes. Opening one already open, or closing one that is closed, changes nothing. Returns the athlete's opened rep maxes.

Operation ID
setOpenedRepMax
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 The athlete's opened rep maxes (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/personal-records/history

List an athlete's personal record history, newest first

Every time a record rose, with the value it replaced, plus a baseline row for each record set before history was kept. As with the records list, only the record lifts the athlete's sport tracks show; another sport's stay stored. Custom-named records always show.

Operation ID
listPersonalRecordHistory
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 History entries (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/{athleteName}/personal-records/history/{entryId}

Delete one mistaken personal record history entry

Only entries a coach entered or a meet set can go (canDelete in the history list). Logged, estimated, athlete-entered and onboarding entries, and the entry that is still the current record, are refused with CONFLICT.

Operation ID
deletePersonalRecordHistoryEntry
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
entryIdRequiredpathstring

Responses

  • 200 Entry deleted (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/{athleteName}/personal-records/promote

Raise an athlete's personal records to their recent training and meet bests

What opening the PR page in the app or console does: estimated 1RMs from recent training and made lifts from meets replace lower records. Returns how many records changed; a group program has none. today (YYYY-MM-DD, the athlete's local date) sets the recent window and defaults to the server's UTC date. The body is optional. Coaches are not emailed about records promoted this way.

Operation ID
promotePersonalRecords
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Optional, JSON

object

FieldTypeDetails
todaystringformat date

Responses

  • 200 How many records changed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/recent-bests

Get best estimated 1RMs from completed non-miss sets in the prior three months

Operation ID
getRecentBestsById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
todayRequiredquerystring

Responses

  • 200 Recent best estimated 1RM per exercise (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/id/{athleteId}/calculate-weights

Calculate rounded training weights from an athlete PR

Operation ID
calculateTrainingWeightsById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Calculated raw and rounded weights (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/personal-records

List an athlete's personal records

Only the record lifts the athlete's sport tracks: a weightlifter's Olympic lifts and squats, a powerlifter's or general fitness athlete's back squat, bench press and deadlift. Records of a lift another sport tracks stay stored and show again if the athlete moves back. Custom-named records always show, and so do records of a club lift of one of the athlete's sports, such as a general fitness club's Snatch; a record of an archived club lift of the athlete's sport is still listed, as history, with archived: true.

Operation ID
listPersonalRecordsById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
exerciseNamequerystring

Responses

  • 200 Personal records (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/personal-records

Create or update an athlete personal record

Operation ID
upsertPersonalRecordById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Personal record saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/id/{athleteId}/personal-records

Delete every personal record for an athlete

Operation ID
deleteAllPersonalRecordsById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Personal records deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/id/{athleteId}/personal-records/bulk

Create or update up to 100 personal records

Operation ID
bulkUpsertPersonalRecordsById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Personal records saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/id/{athleteId}/personal-records/{personalRecordId}

Delete one personal record

Operation ID
deletePersonalRecordById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
personalRecordIdRequiredpathstring

Responses

  • 200 Personal record deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/personal-records/opened-rep-maxes

List the rep maxes a coach opened for an athlete

Every record lift and club lift tracks 1RM up to its top rep max (record lifts: snatch 3, clean 3, jerk 3, clean_jerk 3, power_snatch 3, power_clean 3, push_press 5, snatch_balance 3, overhead_squat 3, back_squat 5, front_squat 5, bench_press 5, deadlift 5; a club lift: its topRepMax). A coach may open any rep max above that top, up to 10RM, for one athlete: it then counts like a tracked one, so the athlete's PRs store it and a made set at exactly that many reps raises it. An athlete keeps at most 100 opened rep maxes.

Operation ID
listOpenedRepMaxesById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Opened rep maxes (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/personal-records/opened-rep-maxes

Open or close a rep max for an athlete

Every record lift and club lift tracks 1RM up to its top rep max (record lifts: snatch 3, clean 3, jerk 3, clean_jerk 3, power_snatch 3, power_clean 3, push_press 5, snatch_balance 3, overhead_squat 3, back_squat 5, front_squat 5, bench_press 5, deadlift 5; a club lift: its topRepMax). A coach may open any rep max above that top, up to 10RM, for one athlete: it then counts like a tracked one, so the athlete's PRs store it and a made set at exactly that many reps raises it. An athlete keeps at most 100 opened rep maxes. Opening one already open, or closing one that is closed, changes nothing. Returns the athlete's opened rep maxes.

Operation ID
setOpenedRepMaxById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 The athlete's opened rep maxes (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/personal-records/history

List an athlete's personal record history, newest first

Every time a record rose, with the value it replaced, plus a baseline row for each record set before history was kept. As with the records list, only the record lifts the athlete's sport tracks show; another sport's stay stored. Custom-named records always show.

Operation ID
listPersonalRecordHistoryById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 History entries (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/id/{athleteId}/personal-records/history/{entryId}

Delete one mistaken personal record history entry

Only entries a coach entered or a meet set can go (canDelete in the history list). Logged, estimated, athlete-entered and onboarding entries, and the entry that is still the current record, are refused with CONFLICT.

Operation ID
deletePersonalRecordHistoryEntryById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
entryIdRequiredpathstring

Responses

  • 200 Entry deleted (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/id/{athleteId}/personal-records/promote

Raise an athlete's personal records to their recent training and meet bests

What opening the PR page in the app or console does: estimated 1RMs from recent training and made lifts from meets replace lower records. Returns how many records changed; a group program has none. today (YYYY-MM-DD, the athlete's local date) sets the recent window and defaults to the server's UTC date. The body is optional. Coaches are not emailed about records promoted this way.

Operation ID
promotePersonalRecordsById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Optional, JSON

object

FieldTypeDetails
todaystringformat date

Responses

  • 200 How many records changed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Meets And Annual Plans

Meets And Annual Plans

Meet names are trimmed and at most 120 characters. An athlete holds at most 50 upcoming meets, so a meet list is never truncated; moving a past meet to a future date counts like a new meet. Writing meets needs the athlete's club owner or assigned coach. Annual plans return meets, overlapping programs, and the coach's week notes; meet-result overrides can create, update, hide, or delete historical results.

GET /athletes/{athleteName}/annual-plan

Get meets, overlapping programs, and week notes in an athlete's date range

Operation ID
getAnnualPlan
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
startDateRequiredquerystring
endDateRequiredquerystring

Responses

  • 200 Annual plan range (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/meet

List an athlete's meets

An athlete whose sport has no meets (general fitness) lists none; records kept from another sport stay stored, hidden, and list again if the athlete moves back.

Operation ID
getMeet
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 Meets (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/meet

Add an upcoming meet for an athlete

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this. A token whose holder does not manage the profile, such as a coach on their own training profile that someone else coaches, is refused with FORBIDDEN, as in the app. Refused with VALIDATION_ERROR ("This athlete's sport does not use meets") for an athlete whose sport has no meets (general fitness).

Operation ID
upsertMeet
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/{athleteName}/meet

Delete all upcoming meets for an athlete

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this. A token whose holder does not manage the profile, such as a coach on their own training profile that someone else coaches, is refused with FORBIDDEN, as in the app.

Operation ID
deleteMeet
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 Meets deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/meet-results

List locally managed and imported meet-result overrides

The meets of every sport the athlete trains with meets, their own sport and their groups'. A weightlifter's are stored rows with their snatch and clean & jerk attempts; a powerlifter's have sport powerlifting and their lifts in powerlifting (absent on a hidden override), without the weightlifting columns. A sport they no longer train keeps its meets stored, hidden, and they show again if the sport comes back. An athlete whose sport has no meets (general fitness) lists none; records kept from another sport stay stored, hidden, and list again if the athlete moves back.

Operation ID
listMeetResults
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 Meet results (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/meet-results

Create or update a local meet result or imported-result override

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may change or override a meet. A token whose holder does not manage the profile may only add a new local meet under the sourceKey its own fields make, as in the app: an override is refused with FORBIDDEN, and a meet already stored or imported, or a sourceKey that does not match, with VALIDATION_ERROR. Refused with VALIDATION_ERROR ("This athlete's sport does not use meets") for an athlete whose sport has no meets (general fitness).

Operation ID
upsertMeetResult
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet result saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/{athleteName}/meet-results/{sourceKey}

Delete a local result or hide an imported result

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this; any other token is refused with FORBIDDEN, as in the app. Acts only on a meet of the sport named: a stored meet of another sport under the same key is left alone, and the key hides that sport's meet instead. A powerlifter's sourceKey must have the shape date::meet name::equipment::division (a 400 otherwise).

Operation ID
removeMeetResult
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
sourceKeyRequiredpathstring
sportquery"weightlifting" | "powerlifting" | "general_fitness"Which of the athlete's sports with meets this is for: their own sport combined with their groups'. Leave it out when they have one; with more it is required (VALIDATION_ERROR "This athlete trains more than one sport, so name the sport"). A sport the athlete doesn't train is refused with VALIDATION_ERROR ("This athlete does not train that sport").

Responses

  • 200 Meet result removed or hidden (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/meet/{meetId}

Update one upcoming meet

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this. A token whose holder does not manage the profile, such as a coach on their own training profile that someone else coaches, is refused with FORBIDDEN, as in the app.

Operation ID
updateAthleteMeet
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
meetIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/{athleteName}/meet/{meetId}

Delete one upcoming meet

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this. A token whose holder does not manage the profile, such as a coach on their own training profile that someone else coaches, is refused with FORBIDDEN, as in the app.

Operation ID
deleteAthleteMeet
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
meetIdRequiredpathstring

Responses

  • 200 Meet deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/qualifying-totals

Read the totals a weightlifter needs to qualify for national meets

What the console's Qualifying Totals sheet shows: the USA Weightlifting qualifying total for each event and age category the athlete can enter, from their birth date, weight class and gender. Reading never fetches the standards; POST …/qualifying-totals/refresh does. Weightlifting athletes only; any other sport answers 400 (MeetCal only covers Olympic weightlifting athletes).

Operation ID
getQualifyingTotals
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
todayRequiredquerystringThe coach's local date, which sets the athlete's competition age.

Responses

  • 200 The qualifying totals sheet (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/by-id/{athleteId}/qualifying-totals/refresh

Fetch the latest qualifying totals from MeetCal

Starts a background fetch of the qualifying standards, shared by every athlete, when they are due. scheduled started one; fresh, in_progress, backoff and throttled mean none was needed or allowed yet; unavailable means the athlete's sport has no qualifying totals.

Operation ID
refreshQualifyingTotals
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 What the request did (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/recent-competition-lifts

Read an athlete's recent competition lifts from training

What the athlete did on their sport's competition lifts in sessions completed over the two months up to today: sessions with each lift, the heaviest weight, and reps made and missed at 90% of their 1RM or more, plus how many of those sessions had a check-in answer at the bottom or top of its scale. The same section a meet plan shows, without needing a meet plan. Athletes of sports without meets answer 400.

Operation ID
getRecentCompetitionLifts
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
todayRequiredquerystringThe coach's local date, the last day of the window.
sportquery"weightlifting" | "powerlifting" | "general_fitness"Which of the athlete's sports with meets this is for: their own sport combined with their groups'. Leave it out for the first of them, their own sport before their groups' in the order they joined. A sport the athlete doesn't train is refused with VALIDATION_ERROR ("This athlete does not train that sport").

Responses

  • 200 Recent competition lifts (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/competition-reports

List an athlete's post-meet report cards

The scores the athlete gave in each submitted Atlas post-meet questionnaire, newest meet first, at most 100. Empty for an athlete whose sport sends no questionnaires.

Operation ID
listAthleteCompetitionReports
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Post-meet report cards (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/competition-profile

Get an athlete's competition profile for one of their sports

What the competition page shows for one of the athlete's sports, which sport names. A weightlifter's profile has every result, the best snatch, clean & jerk and total, the best meet, and the trend, from cached MeetCal results merged with the meets recorded in Atlas; POST meet-results/refresh starts a MeetCal refresh. A powerlifter's has every result with its squat, bench and deadlift attempts, the best squat, bench, deadlift, total and Dots, the best meet, the trend and per-lift analysis, from their cached Open Powerlifting history merged with the meets recorded in Atlas, plus the linked username; PUT /athletes/by-id/{athleteId}/open-powerlifting links the lifter and fetches their history. A general fitness athlete's profile is empty, and meets kept from another sport never show. Reading never fetches. remote says where the registry half stands: cached, pending (a refresh is running or about to), or failed.

Operation ID
getCompetitionProfile
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
sportquery"weightlifting" | "powerlifting" | "general_fitness"Which of the athlete's sports with meets this is for: their own sport combined with their groups'. Leave it out for the first of them, their own sport before their groups' in the order they joined. A sport the athlete doesn't train is refused with VALIDATION_ERROR ("This athlete does not train that sport").

Responses

  • 200 The profile, or null with nothing to show yet (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/{athleteName}/meet-results/refresh

Fetch an athlete's MeetCal competition results again

Starts a background refresh of the athlete's cached MeetCal results, as opening their competition page does, and answers 202 with status scheduled; GET competition-profile shows the results once it lands. Otherwise it answers 200 with why nothing started: fresh (the cache is current), in_progress (a refresh is already running), backoff (MeetCal failed recently), or unavailable (the athlete's name cannot be searched). force asks for a refresh of a current cache once the minimum interval has passed, as pull-to-refresh does. Looking up an athlete with no cached results counts against a per-account limit; past it the answer is 429. The body is optional.

Operation ID
refreshMeetResults
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Optional, JSON

object

FieldTypeDetails
forceboolean

Responses

  • 200 Nothing started, and why (object)
  • 202 Refresh scheduled (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/annual-plan

Get meets, overlapping programs, and week notes in an athlete's date range

Operation ID
getAnnualPlanById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
startDateRequiredquerystring
endDateRequiredquerystring

Responses

  • 200 Annual plan range (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/meet

List an athlete's meets

An athlete whose sport has no meets (general fitness) lists none; records kept from another sport stay stored, hidden, and list again if the athlete moves back.

Operation ID
getMeetById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Meets (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/meet

Add an upcoming meet for an athlete

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this. A token whose holder does not manage the profile, such as a coach on their own training profile that someone else coaches, is refused with FORBIDDEN, as in the app. Refused with VALIDATION_ERROR ("This athlete's sport does not use meets") for an athlete whose sport has no meets (general fitness).

Operation ID
upsertMeetById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/id/{athleteId}/meet

Delete all upcoming meets for an athlete

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this. A token whose holder does not manage the profile, such as a coach on their own training profile that someone else coaches, is refused with FORBIDDEN, as in the app.

Operation ID
deleteMeetById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Meets deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/meet-results

List locally managed and imported meet-result overrides

The meets of every sport the athlete trains with meets, their own sport and their groups'. A weightlifter's are stored rows with their snatch and clean & jerk attempts; a powerlifter's have sport powerlifting and their lifts in powerlifting (absent on a hidden override), without the weightlifting columns. A sport they no longer train keeps its meets stored, hidden, and they show again if the sport comes back. An athlete whose sport has no meets (general fitness) lists none; records kept from another sport stay stored, hidden, and list again if the athlete moves back.

Operation ID
listMeetResultsById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Meet results (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/meet-results

Create or update a local meet result or imported-result override

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may change or override a meet. A token whose holder does not manage the profile may only add a new local meet under the sourceKey its own fields make, as in the app: an override is refused with FORBIDDEN, and a meet already stored or imported, or a sourceKey that does not match, with VALIDATION_ERROR. Refused with VALIDATION_ERROR ("This athlete's sport does not use meets") for an athlete whose sport has no meets (general fitness).

Operation ID
upsertMeetResultById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet result saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/id/{athleteId}/meet-results/{sourceKey}

Delete a local result or hide an imported result

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this; any other token is refused with FORBIDDEN, as in the app. Acts only on a meet of the sport named: a stored meet of another sport under the same key is left alone, and the key hides that sport's meet instead. A powerlifter's sourceKey must have the shape date::meet name::equipment::division (a 400 otherwise).

Operation ID
removeMeetResultById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
sourceKeyRequiredpathstring
sportquery"weightlifting" | "powerlifting" | "general_fitness"Which of the athlete's sports with meets this is for: their own sport combined with their groups'. Leave it out when they have one; with more it is required (VALIDATION_ERROR "This athlete trains more than one sport, so name the sport"). A sport the athlete doesn't train is refused with VALIDATION_ERROR ("This athlete does not train that sport").

Responses

  • 200 Meet result removed or hidden (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/meet/{meetId}

Update one upcoming meet

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this. A token whose holder does not manage the profile, such as a coach on their own training profile that someone else coaches, is refused with FORBIDDEN, as in the app.

Operation ID
updateAthleteMeetById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
meetIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/id/{athleteId}/meet/{meetId}

Delete one upcoming meet

Only a coach who manages the athlete's profile (a club admin or the athlete's assigned coach) may do this. A token whose holder does not manage the profile, such as a coach on their own training profile that someone else coaches, is refused with FORBIDDEN, as in the app.

Operation ID
deleteAthleteMeetById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
meetIdRequiredpathstring

Responses

  • 200 Meet deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/competition-profile

Get an athlete's competition profile for one of their sports

What the competition page shows for one of the athlete's sports, which sport names. A weightlifter's profile has every result, the best snatch, clean & jerk and total, the best meet, and the trend, from cached MeetCal results merged with the meets recorded in Atlas; POST meet-results/refresh starts a MeetCal refresh. A powerlifter's has every result with its squat, bench and deadlift attempts, the best squat, bench, deadlift, total and Dots, the best meet, the trend and per-lift analysis, from their cached Open Powerlifting history merged with the meets recorded in Atlas, plus the linked username; PUT /athletes/by-id/{athleteId}/open-powerlifting links the lifter and fetches their history. A general fitness athlete's profile is empty, and meets kept from another sport never show. Reading never fetches. remote says where the registry half stands: cached, pending (a refresh is running or about to), or failed.

Operation ID
getCompetitionProfileById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
sportquery"weightlifting" | "powerlifting" | "general_fitness"Which of the athlete's sports with meets this is for: their own sport combined with their groups'. Leave it out for the first of them, their own sport before their groups' in the order they joined. A sport the athlete doesn't train is refused with VALIDATION_ERROR ("This athlete does not train that sport").

Responses

  • 200 The profile, or null with nothing to show yet (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/id/{athleteId}/meet-results/refresh

Fetch an athlete's MeetCal competition results again

Starts a background refresh of the athlete's cached MeetCal results, as opening their competition page does, and answers 202 with status scheduled; GET competition-profile shows the results once it lands. Otherwise it answers 200 with why nothing started: fresh (the cache is current), in_progress (a refresh is already running), backoff (MeetCal failed recently), or unavailable (the athlete's name cannot be searched). force asks for a refresh of a current cache once the minimum interval has passed, as pull-to-refresh does. Looking up an athlete with no cached results counts against a per-account limit; past it the answer is 429. The body is optional.

Operation ID
refreshMeetResultsById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Optional, JSON

object

FieldTypeDetails
forceboolean

Responses

  • 200 Nothing started, and why (object)
  • 202 Refresh scheduled (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Meet Plans

GET /athletes/{athleteName}/meet-plans

List an athlete's meet-day worksheets

Lists the plans made for the athlete's current sport; plans of a sport they left stay stored and show again if they move back. An athlete whose sport has no meets (general fitness) lists none; records kept from another sport stay stored, hidden, and list again if the athlete moves back.

Operation ID
listMeetPlans
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 Meet plan summaries (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/meet-plans

Create a meet-day worksheet for an athlete

Refused with VALIDATION_ERROR ("This athlete's sport does not use meets") for an athlete whose sport has no meets (general fitness).

Operation ID
createMeetPlan
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet plan created (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/meet-plans/{meetPlanId}

Get one meet-day worksheet

Operation ID
getMeetPlan
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
meetPlanIdRequiredpathstring

Responses

  • 200 Meet plan (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/meet-plans/{meetPlanId}

Replace one meet-day worksheet

Operation ID
updateMeetPlan
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
meetPlanIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet plan saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/{athleteName}/meet-plans/{meetPlanId}

Delete one meet-day worksheet

Operation ID
deleteMeetPlan
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
meetPlanIdRequiredpathstring

Responses

  • 200 Meet plan deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/{athleteName}/meet-plans/{meetPlanId}/send

Send a meet-day worksheet to the athlete

The athlete and their guardians see the plan in the Atlas app from now on, including later edits. The first send pushes them; sending a plan already sent changes nothing and keeps its sentAt.

Operation ID
sendMeetPlan
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
meetPlanIdRequiredpathstring

Responses

  • 200 Meet plan sent (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/{athleteName}/meet-plans/{meetPlanId}/unshare

Take a sent meet-day worksheet back from the athlete

The plan becomes a draft again that only coaches see. A plan never sent is left as it is.

Operation ID
unshareMeetPlan
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
meetPlanIdRequiredpathstring

Responses

  • 200 Meet plan unshared (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/meet-plans/{meetPlanId}/export

Export the full meet-plan page (worksheet plus recent lifts, check-in flags, last meet, and two-year history) as JSON or PDF

Operation ID
exportMeetPlan
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
meetPlanIdRequiredpathstring
todayRequiredquerystringAnchor date for recent-lift and meet-history windows
formatquery"json" | "pdf"Use pdf or send Accept: application/pdf for a binary PDF download

Responses

  • 200 Meet plan page export (object) as application/pdf
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 413 The PDF would pass the 4 MB export limit (PAYLOAD_TOO_LARGE) (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/meet-plans

List an athlete's meet-day worksheets

Lists the plans made for the athlete's current sport; plans of a sport they left stay stored and show again if they move back. An athlete whose sport has no meets (general fitness) lists none; records kept from another sport stay stored, hidden, and list again if the athlete moves back.

Operation ID
listMeetPlansById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Meet plan summaries (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/meet-plans

Create a meet-day worksheet for an athlete

Refused with VALIDATION_ERROR ("This athlete's sport does not use meets") for an athlete whose sport has no meets (general fitness).

Operation ID
createMeetPlanById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet plan created (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/meet-plans/{meetPlanId}

Get one meet-day worksheet

Operation ID
getMeetPlanById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
meetPlanIdRequiredpathstring

Responses

  • 200 Meet plan (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/meet-plans/{meetPlanId}

Replace one meet-day worksheet

Operation ID
updateMeetPlanById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
meetPlanIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Meet plan saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/id/{athleteId}/meet-plans/{meetPlanId}

Delete one meet-day worksheet

Operation ID
deleteMeetPlanById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
meetPlanIdRequiredpathstring

Responses

  • 200 Meet plan deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/id/{athleteId}/meet-plans/{meetPlanId}/send

Send a meet-day worksheet to the athlete

The athlete and their guardians see the plan in the Atlas app from now on, including later edits. The first send pushes them; sending a plan already sent changes nothing and keeps its sentAt.

Operation ID
sendMeetPlanById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
meetPlanIdRequiredpathstring

Responses

  • 200 Meet plan sent (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/id/{athleteId}/meet-plans/{meetPlanId}/unshare

Take a sent meet-day worksheet back from the athlete

The plan becomes a draft again that only coaches see. A plan never sent is left as it is.

Operation ID
unshareMeetPlanById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
meetPlanIdRequiredpathstring

Responses

  • 200 Meet plan unshared (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/meet-plans/{meetPlanId}/export

Export the full meet-plan page (worksheet plus recent lifts, check-in flags, last meet, and two-year history) as JSON or PDF

Operation ID
exportMeetPlanById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
meetPlanIdRequiredpathstring
todayRequiredquerystringAnchor date for recent-lift and meet-history windows
formatquery"json" | "pdf"Use pdf or send Accept: application/pdf for a binary PDF download

Responses

  • 200 Meet plan page export (object) as application/pdf
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 413 The PDF would pass the 4 MB export limit (PAYLOAD_TOO_LARGE) (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Open Powerlifting

GET /athletes/by-id/{athleteId}/open-powerlifting/search

Search Open Powerlifting by name for the lifter to link

Up to five lifters whose name has every word of name, in Open Powerlifting's ranking order. Answers from a day-long cache. A miss asks Open Powerlifting and caches the answer, so it needs the write permission and counts against hourly searches: 20 for the caller, 40 for the athlete's club, and the deployment's. Powerlifting athletes only.

Operation ID
searchOpenPowerlifting
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
nameRequiredquerystring

Responses

  • 200 Matching lifters (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/by-id/{athleteId}/open-powerlifting/refresh

Fetch a linked powerlifter's latest Open Powerlifting meets

Starts a background fetch of the linked lifter's meet history when it is due, as the console's Refresh does. scheduled started one; fresh, in_progress, backoff and throttled mean none was needed or allowed yet; unlinked means the athlete is no powerlifter linked to a lifter. Read the result with GET …/open-powerlifting.

Operation ID
refreshOpenPowerlifting
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 What the request did (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/meetcal-search

Read a weightlifter's MeetCal search name, picked lifter and choices

What the console's MeetCal sheet shows: the name Atlas searches MeetCal with, the lifter picked when several share it, the lifters to choose from, and similar names when it finds nothing. Reading never fetches; weightlifting athletes only.

Operation ID
getMeetCalSearch
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 The search settings (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/by-id/{athleteId}/meetcal-search

Set a weightlifter's MeetCal search name and pick their lifter

searchName is the name to search MeetCal with; null searches with the roster name. lifter picks among the lifters that share it: { kind: "lifter", id } with an id from lifterChoices or suggestedLifters, { kind: "other" } for the results no lifter holds, or null (the default) for none, which a new name always resets to. By a coach who may edit the athlete's profile. Saving refreshes the athlete's MeetCal results in the background and fixes their sport.

Operation ID
setMeetCalSearch
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
searchNameRequiredstring | nullmin length 2, max length 100
lifterobject | object | null

Responses

  • 200 The search settings after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Week Notes

Week Note Rules

A week note is stored on the Sunday on or before the date you send. Any day from that Sunday through the following Saturday addresses the same note. The week start in coach settings changes the coach's training calendars, and it does not move this key. The annual plan shows the note on that Sunday's row.

A Monday-start week runs Monday through Sunday. Monday through Saturday of it share the note filed on the previous Sunday, and that Sunday is the key of the next note. For the week of Monday, November 9, 2026, November 9 through November 14 are the note stored on November 8, and November 15 is the note stored on November 15. Send that Sunday, or any day from it through Saturday, when you want a particular note.

PUT rejects a blank note; DELETE removes it and needs athlete_data_delete. Only a coach who manages the athlete may write a note, even though the athlete can read it.

PUT /athletes/{athleteName}/week-notes/{weekStartDate}

Set the coach note for the week containing a date

A note is stored on the Sunday on or before the date, and any day from that Sunday through Saturday addresses the same note. The coach's week start does not move the key. With a Monday start, Monday through Saturday share the note on the previous Sunday, and that Sunday is the key of the next note.

Operation ID
upsertAthleteWeekNote
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
weekStartDateRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Week note saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/{athleteName}/week-notes/{weekStartDate}

Remove the coach note for the week containing a date

Operation ID
deleteAthleteWeekNote
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
weekStartDateRequiredpathstring

Responses

  • 200 Week note removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/week-notes/{weekStartDate}

Set the coach note for the week containing a date

A note is stored on the Sunday on or before the date, and any day from that Sunday through Saturday addresses the same note. The coach's week start does not move the key. With a Monday start, Monday through Saturday share the note on the previous Sunday, and that Sunday is the key of the next note.

Operation ID
upsertAthleteWeekNoteById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
weekStartDateRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Week note saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /athletes/id/{athleteId}/week-notes/{weekStartDate}

Remove the coach note for the week containing a date

Operation ID
deleteAthleteWeekNoteById
Permission
athlete_data_delete

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
weekStartDateRequiredpathstring

Responses

  • 200 Week note removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Session Check-Ins

GET /athletes/{athleteName}/session-check-ins

List pre- and post-workout check-ins for an athlete

Operation ID
listSessionCheckIns
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
fromquerystring
toquerystring
limitqueryinteger

Responses

  • 200 Session check-ins newest-last (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/session-check-ins

List pre- and post-workout check-ins for an athlete

Operation ID
listSessionCheckInsById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
fromquerystring
toquerystring
limitqueryinteger

Responses

  • 200 Session check-ins newest-last (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Athlete Questionnaires

Sending And Reading Answers

  • PUT …/questionnaire-settings takes { "choice" }: default to follow the club, off, or a questionnaire ID. The read also says what the athlete's next meet will send.
  • POST …/questionnaires sends one now and pushes the athlete. Only their assigned coach or a club admin may, and an athlete holds at most 20 unanswered questionnaires; a send past that answers 400.
  • GET …/questionnaires lists sends newest first with their answers; filter with status (pending, submitted, or cancelled). Each answer sits at the same position as its question, and answers never change after the athlete submits.
  • POST /questionnaires/sends/{sendId}/cancel withdraws an unanswered send. It disappears from the athlete's app; the coach still sees it as cancelled.

GET /athletes/{athleteName}/questionnaire-settings

Get an athlete's own post-meet questionnaire choice, the club default, and what their next meet sends

Operation ID
getAthleteQuestionnaireSettings
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 Athlete post-meet setting (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/questionnaire-settings

Set an athlete's own post-meet questionnaire: default, off, or a questionnaire. Their assigned coach or a club admin may.

Operation ID
setAthleteQuestionnaireSettings
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Athlete post-meet setting saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/check-in-settings

Get an athlete's own pre- and post-workout check-ins (null follows their coach, then the club) and what they inherit

Operation ID
getAthleteCheckInSettings
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 Athlete check-ins (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/check-in-settings

Choose an athlete's own pre- or post-workout check-in, or null to follow their coach and club. Their assigned coach or a club admin may.

Operation ID
setAthleteCheckInSettings
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Athlete check-ins saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/questionnaires

List the questionnaires sent to an athlete, newest first, with their answers

An athlete whose sport has no questionnaires (general fitness) lists none; sends kept from another sport stay stored, hidden.

Operation ID
listAthleteQuestionnaires
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
statusquery"pending" | "submitted" | "cancelled"

Responses

  • 200 Questionnaire sends (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/{athleteName}/questionnaires

Send a questionnaire to an athlete now. Their assigned coach or a club admin may. The athlete gets a push.

Refused with VALIDATION_ERROR ("This athlete's sport does not use questionnaires") for an athlete whose sport has no questionnaires (general fitness). A powerlifter's copy of the Atlas Post-Meet Questionnaire offers Squat, Bench, Deadlift and About the Same for "Which lift felt better today?".

Operation ID
sendQuestionnaire
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

Responses

  • 201 Questionnaire sent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/questionnaire-settings

Get an athlete's own post-meet questionnaire choice, the club default, and what their next meet sends

Operation ID
getAthleteQuestionnaireSettingsById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Athlete post-meet setting (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/questionnaire-settings

Set an athlete's own post-meet questionnaire: default, off, or a questionnaire. Their assigned coach or a club admin may.

Operation ID
setAthleteQuestionnaireSettingsById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Athlete post-meet setting saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/check-in-settings

Get an athlete's own pre- and post-workout check-ins (null follows their coach, then the club) and what they inherit

Operation ID
getAthleteCheckInSettingsById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 Athlete check-ins (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/check-in-settings

Choose an athlete's own pre- or post-workout check-in, or null to follow their coach and club. Their assigned coach or a club admin may.

Operation ID
setAthleteCheckInSettingsById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Athlete check-ins saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/questionnaires

List the questionnaires sent to an athlete, newest first, with their answers

An athlete whose sport has no questionnaires (general fitness) lists none; sends kept from another sport stay stored, hidden.

Operation ID
listAthleteQuestionnairesById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
statusquery"pending" | "submitted" | "cancelled"

Responses

  • 200 Questionnaire sends (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/id/{athleteId}/questionnaires

Send a questionnaire to an athlete now. Their assigned coach or a club admin may. The athlete gets a push.

Refused with VALIDATION_ERROR ("This athlete's sport does not use questionnaires") for an athlete whose sport has no questionnaires (general fitness). A powerlifter's copy of the Atlas Post-Meet Questionnaire offers Squat, Bench, Deadlift and About the Same for "Which lift felt better today?".

Operation ID
sendQuestionnaireById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 201 Questionnaire sent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Athlete Check-In Scheduling

GET /athletes/by-id/{athleteId}/check-in-scheduling

Show one athlete's check-in scheduling and when their next check-in is due

The athlete's assigned coach and Club Admins only. An athlete with no assigned coach, a group program member and a coach's own training profile have none (NOT_FOUND).

Operation ID
getAthleteCheckInScheduling
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 The athlete's check-in scheduling (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /athletes/by-id/{athleteId}/check-in-scheduling

Change one athlete's check-in frequency or after-meet setting

Only the athlete's assigned coach may.

Operation ID
updateAthleteCheckInScheduling
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

Each field left out keeps what is stored.

FieldTypeDetails
frequency"coachDefault" | "off" | "everyWeek" | "every2Weeks" | "every4Weeks" | "every8Weeks" | "every12Weeks"
afterMeet"coachDefault" | "on" | "off"

Responses

  • 200 The athlete's check-in scheduling after the update (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 The token lacks the permission, or its owner is not the athlete's assigned coach ("Only the athlete's assigned coach can change their check-in scheduling.") (FORBIDDEN) (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/by-id/{athleteId}/check-in-scheduling/send

Send your check-in message to one athlete now

Sends the message and booking link as an ordinary message from the athlete's assigned coach, in their conversation with the athlete (the guardian thread for a minor), and restarts the athlete's interval. Only the assigned coach may. Refused with VALIDATION_ERROR while there is no booking link, the athlete has not joined, or a minor has no guardian.

Operation ID
sendAthleteCheckIn
Permission
messaging_write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
Idempotency-KeyRequiredheaderstringStable caller-generated key; retries return the original send; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Responses

  • 201 The check-in sent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 The token lacks the permission, or its owner is not the athlete's assigned coach ("Only the athlete's assigned coach can change their check-in scheduling.") (FORBIDDEN) (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Wearables And Nutrition

Live Health Data

These endpoints need wearables_read and read live data from services the athlete connected in the mobile app under Settings, Connections. Atlas does not store the measurements.

  • Oura: up to one year of sleep duration, HRV, heart rate, and readiness.
  • FatSecret: up to one year of daily calories, protein, carbohydrates, and fat, and the foods logged on one day with fiber, sugar, and sodium.

GET /athletes/{athleteName}/oura

Fetch live Oura sleep and readiness metrics for an athlete

Operation ID
getOuraMetrics
Permission
wearables_read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
fromRequiredquerystring
toRequiredquerystring

Responses

  • 200 Live Oura metrics, or an empty result when not connected (OuraMetricsEnvelope)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
  • 503 Oura rejected or could not complete the upstream request (Error)

GET /athletes/{athleteName}/nutrition

Fetch live daily calorie and macronutrient totals from an athlete's connected nutrition app

Returns one point per logged day from the athlete's connected food diary, FatSecret. Use it to review energy and macronutrient intake alongside training load. For the individual foods behind a day, call the entries operation.

Operation ID
getNutritionMetrics
Permission
wearables_read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
fromRequiredquerystringInclusive start date; the range may not exceed 366 days
toRequiredquerystring

Responses

  • 200 Live nutrition totals, or an empty result when not connected (NutritionMetricsEnvelope)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
  • 503 The nutrition provider rejected or could not complete the upstream request (Error)

GET /athletes/{athleteName}/nutrition/entries

Fetch the individual foods an athlete logged on one day

Returns every food-diary entry for a single date with meal slot, serving description, calories, macronutrients, fiber, sugar, and sodium. One upstream request per call.

Operation ID
getNutritionFoodEntries
Permission
wearables_read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
dateRequiredquerystring

Responses

  • 200 Live food entries for the day, or an empty result when not connected (NutritionFoodEntriesEnvelope)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
  • 503 The nutrition provider rejected or could not complete the upstream request (Error)

GET /athletes/id/{athleteId}/oura

Fetch live Oura sleep and readiness metrics for an athlete

Operation ID
getOuraMetricsById
Permission
wearables_read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
fromRequiredquerystring
toRequiredquerystring

Responses

  • 200 Live Oura metrics, or an empty result when not connected (OuraMetricsEnvelope)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
  • 503 Oura rejected or could not complete the upstream request (Error)

GET /athletes/id/{athleteId}/nutrition

Fetch live daily calorie and macronutrient totals from an athlete's connected nutrition app

Returns one point per logged day from the athlete's connected food diary, FatSecret. Use it to review energy and macronutrient intake alongside training load. For the individual foods behind a day, call the entries operation.

Operation ID
getNutritionMetricsById
Permission
wearables_read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
fromRequiredquerystringInclusive start date; the range may not exceed 366 days
toRequiredquerystring

Responses

  • 200 Live nutrition totals, or an empty result when not connected (NutritionMetricsEnvelope)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
  • 503 The nutrition provider rejected or could not complete the upstream request (Error)

GET /athletes/id/{athleteId}/nutrition/entries

Fetch the individual foods an athlete logged on one day

Returns every food-diary entry for a single date with meal slot, serving description, calories, macronutrients, fiber, sugar, and sodium. One upstream request per call.

Operation ID
getNutritionFoodEntriesById
Permission
wearables_read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
dateRequiredquerystring

Responses

  • 200 Live food entries for the day, or an empty result when not connected (NutritionFoodEntriesEnvelope)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
  • 503 The nutrition provider rejected or could not complete the upstream request (Error)

Athlete Output Sports

GET /athletes/by-id/{athleteId}/output

Read an athlete's Output Sports dashboard

What the console's Output Sports tab shows for an athlete linked to an Output Sports athlete: every exercise they tested, each session's metrics and their jump height trend, over the recent range. outputStatus says why there is no data: not_linked, account_missing (the club has no Output Sports account) or needs_reconnecting. Needs the wearables_read permission.

Operation ID
getOutputDashboard
Permission
wearables_read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 The Output Sports dashboard (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/by-id/{athleteId}/output/jump-height

Read an athlete's Output Sports jump height trend

The jump heights an athlete linked to Output Sports recorded over the recent range, oldest first, as the athlete's analytics chart them. outputStatus says why there is none, as for GET …/output. Needs the wearables_read permission.

Operation ID
getOutputJumpHeight
Permission
wearables_read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 The jump height trend (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Athlete Workouts

GET /athletes/{athleteName}/workouts

Get flattened programmed workouts for an athlete

Operation ID
getWorkoutsForAnalytics
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
programNamequerystring

Responses

  • 200 Flattened workouts (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/exercise-history

Get every logged session of one movement for an athlete, newest first

What the athlete logged each time they did this movement, as the console builder's Movement History and the app's history show it: the session's date, week, day and program, and the exercise with its logged weights, reps, set statuses and the athlete's note. Names match ignoring case, spacing and punctuation. limit defaults to 25.

Operation ID
getExerciseHistory
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
exerciseNameRequiredquerystringThe movement's name, as a program writes it, such as Snatch or Back Squat
limitqueryinteger

Responses

  • 200 Logged sessions of the movement, newest first (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/workouts

Get flattened programmed workouts for an athlete

Operation ID
getWorkoutsForAnalyticsById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
programNamequerystring

Responses

  • 200 Flattened workouts (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/exercise-history

Get every logged session of one movement for an athlete, newest first

What the athlete logged each time they did this movement, as the console builder's Movement History and the app's history show it: the session's date, week, day and program, and the exercise with its logged weights, reps, set statuses and the athlete's note. Names match ignoring case, spacing and punctuation. limit defaults to 25.

Operation ID
getExerciseHistoryById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
exerciseNameRequiredquerystringThe movement's name, as a program writes it, such as Snatch or Back Squat
limitqueryinteger

Responses

  • 200 Logged sessions of the movement, newest first (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Circuit History

GET /athletes/{athleteName}/circuit-history

Get an athlete's past completed circuits with the same name, newest first

Each entry names the session (programId, weekNumber, dayNumber, scheduledDate and completedAt), the circuit's result when the athlete logged one, and how many of its rounds they marked done. Names match ignoring case and spacing. limit defaults to 5 and is at most 20.

Operation ID
getCircuitHistory
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
circuitNameRequiredquerystring
limitqueryinteger

Responses

  • 200 Past circuits (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/circuit-history

Get an athlete's past completed circuits with the same name, newest first

Each entry names the session (programId, weekNumber, dayNumber, scheduledDate and completedAt), the circuit's result when the athlete logged one, and how many of its rounds they marked done. Names match ignoring case and spacing. limit defaults to 5 and is at most 20.

Operation ID
getCircuitHistoryById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
circuitNameRequiredquerystring
limitqueryinteger

Responses

  • 200 Past circuits (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Athlete Analytics

GET /athletes/{athleteName}/analytics/misses-by-exercise

Missed lifts by exercise: each exercise's total missed sets and weekly sums over the range

One miss is one set marked Miss, counted from the athlete's logged set statuses with no cap. Exercises group by name, ignoring case, spacing and punctuation, and each shows its most recent spelling, most missed first. weeks holds the athlete's weekly total of missed lifts and each exercise's weeks its weekly sum, keyed by the week's first day. A session with no logged sets counts the misses its post-workout check-in reported. Leave from or to out for an open range; weekStartDay defaults to monday.

Operation ID
getMissesByExercise
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
fromquerystring
toquerystring
weekStartDayquery"sunday" | "monday"

Responses

  • 200 Missed lifts by exercise (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/analytics/pace-trends

Weekly average pace per mile for each distance-and-time exercise the athlete logged

What the console's pace chart draws: for each exercise logged with a distance and a time, the average pace per mile in seconds for each week, keyed by the week's first day. Up to 12 exercises, sorted by name. The range, date and program filters work as GET /analytics's do.

Operation ID
getPaceTrends
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
rangeRequiredquery"1mo" | "3mo" | "6mo" | "1yr" | "All"
todayRequiredquerystring
startDatequerystringWith endDate, counts only sessions dated in this inclusive range instead of range's window
endDatequerystringGiven together with startDate
weekStartDayquery"sunday" | "monday"The day calendar weeks start on; defaults to monday
programIdquerystringCounts only this program, bucketed by its program weeks instead of calendar weeks

Responses

  • 200 Pace trends by exercise (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/analytics/stories

Read the analytics board's story charts: assigned vs actual load per lift, training vs recorded max, where misses start, effort, PR timing, completion by lift and missed sessions

Each story carries a verdict, the one-line finding the board shows in the chart's header, or null when the story has no data. Assigned load is the coach's prescription without readiness adjustments: an absolute load, or a percent (the midpoint of a range) of the athlete's max on the session's date, with variations calculating off their main lift's max. A set counts toward assigned vs actual only when it has both an assigned load and a logged weight; misses count at the weight attempted. Weeks are calendar weeks unless programId picks one program, which buckets by its program weeks. trainingLoad holds each week's volume for GET /athletes/{athleteName}/analytics/recovery-load.

Operation ID
getAnalyticsStories
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
todayRequiredquerystring
startDatequerystringWith endDate, counts only sessions dated in this inclusive range instead of range's window
endDatequerystringGiven together with startDate
weekStartDayquery"sunday" | "monday"The day calendar weeks start on; defaults to monday
programIdquerystringCounts only this program, bucketed by its program weeks instead of calendar weeks
utcOffsetMinutesqueryintegerThe viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0

Responses

  • 200 Story charts (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/analytics/connector-stories

Read the connector story charts: Sleep Vs Make Rate, Readiness Vs Results, Fuel Vs Results and Conditions On PR Days

Pairs each training session with the athlete's Oura, WHOOP and FatSecret data. Sleep is the record dated the session's day, banded by hours; readiness is WHOOP recovery, else Oura readiness, banded by that provider's zones; fuel is the previous day's calories and protein against the athlete's own median. A band story turns red only when two bands each hold at least 3 sessions and 10 lift sets and their make rates differ by 10 points or more. Conditions On PR Days needs 3 PR days and names the largest difference of at least 5%. Needs the wearables_read permission and the health access a club admin or the athlete's assigned coach has. Filters work as GET /athletes/{athleteName}/analytics/stories's do.

Operation ID
getConnectorStories
Permission
wearables_read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
todayRequiredquerystring
startDatequerystringWith endDate, counts only sessions dated in this inclusive range instead of range's window
endDatequerystringGiven together with startDate
weekStartDayquery"sunday" | "monday"The day calendar weeks start on; defaults to monday
programIdquerystringCounts only this program, bucketed by its program weeks instead of calendar weeks
utcOffsetMinutesqueryintegerThe viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0

Responses

  • 200 Connector story charts (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/{athleteName}/analytics/chart-data

Evaluate one custom chart for an athlete and return its data

Evaluates the chart in item, a custom chart shaped as on the analytics board (see AnalyticsLayoutItem), with the same pipeline the console draws it with, and returns its buckets and series, pie slices, scatter points and fit, heatmap cells or histogram bins. Charts reading Oura, WHOOP, nutrition or Output data need the wearables_read permission. Read-only, so it needs only the read permission otherwise. One entry per variable, in the order of the chart's variables (yField, or each series, or xMetric then yField on a scatter), up to 5. lagDays moves a value recorded on day D to day D plus the lag, 0 to 28 days or whole weeks up to 8 (weekly training metrics lag by whole weeks only). aggregation rolls days up into each bucket: average, sum, max, min, count, latest. transform changes daily values before bucketing: rollingAverage over 7, 14, 28 days, percentChange, runningTotal, or vsOwnMedian.

Operation ID
getAthleteChartData
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
itemRequiredAnalyticsLayoutItem
todayRequiredstringThe viewer's date, which lastWeeks and currentBlock ranges count back fromformat date
dateRangeobjectThe board's dates, which a chart without its own range follows
FieldTypeDetails
startDateRequiredstringformat date
endDateRequiredstringformat date
weekStartDay"sunday" | "monday"The day calendar weeks start on; defaults to the coach's setting
programIdstringCounts only this program, bucketed by its program weeks
utcOffsetMinutesintegerThe viewer's offset from UTC in minutes; defaults to 0minimum -720, maximum 840

Responses

  • 200 The chart's data (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/{athleteName}/analytics/recovery-load

Read the Recovery Vs Training Load story: weekly volume against average HRV from WHOOP, else Oura

Each week's training volume beside the athlete's average HRV that week, from WHOOP when connected, else Oura, and the verdict: HRV Dips After Heavy Weeks when a week's volume correlates at -0.3 or below with the next week's HRV over at least 4 week pairs. Needs the wearables_read permission and the health access a club admin or the athlete's assigned coach has; source is null when no wearable with HRV is connected. Filters work as GET /athletes/{athleteName}/analytics/stories's do.

Operation ID
getRecoveryLoad
Permission
wearables_read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring
todayRequiredquerystring
startDatequerystringWith endDate, counts only sessions dated in this inclusive range instead of range's window
endDatequerystringGiven together with startDate
weekStartDayquery"sunday" | "monday"The day calendar weeks start on; defaults to monday
programIdquerystringCounts only this program, bucketed by its program weeks instead of calendar weeks
utcOffsetMinutesqueryintegerThe viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0

Responses

  • 200 Recovery against training load (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/analytics/misses-by-exercise

Missed lifts by exercise: each exercise's total missed sets and weekly sums over the range

One miss is one set marked Miss, counted from the athlete's logged set statuses with no cap. Exercises group by name, ignoring case, spacing and punctuation, and each shows its most recent spelling, most missed first. weeks holds the athlete's weekly total of missed lifts and each exercise's weeks its weekly sum, keyed by the week's first day. A session with no logged sets counts the misses its post-workout check-in reported. Leave from or to out for an open range; weekStartDay defaults to monday.

Operation ID
getMissesByExerciseById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
fromquerystring
toquerystring
weekStartDayquery"sunday" | "monday"

Responses

  • 200 Missed lifts by exercise (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/analytics/pace-trends

Weekly average pace per mile for each distance-and-time exercise the athlete logged

What the console's pace chart draws: for each exercise logged with a distance and a time, the average pace per mile in seconds for each week, keyed by the week's first day. Up to 12 exercises, sorted by name. The range, date and program filters work as GET /analytics's do.

Operation ID
getPaceTrendsById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
rangeRequiredquery"1mo" | "3mo" | "6mo" | "1yr" | "All"
todayRequiredquerystring
startDatequerystringWith endDate, counts only sessions dated in this inclusive range instead of range's window
endDatequerystringGiven together with startDate
weekStartDayquery"sunday" | "monday"The day calendar weeks start on; defaults to monday
programIdquerystringCounts only this program, bucketed by its program weeks instead of calendar weeks

Responses

  • 200 Pace trends by exercise (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/analytics/stories

Read the analytics board's story charts: assigned vs actual load per lift, training vs recorded max, where misses start, effort, PR timing, completion by lift and missed sessions

Each story carries a verdict, the one-line finding the board shows in the chart's header, or null when the story has no data. Assigned load is the coach's prescription without readiness adjustments: an absolute load, or a percent (the midpoint of a range) of the athlete's max on the session's date, with variations calculating off their main lift's max. A set counts toward assigned vs actual only when it has both an assigned load and a logged weight; misses count at the weight attempted. Weeks are calendar weeks unless programId picks one program, which buckets by its program weeks. trainingLoad holds each week's volume for GET /athletes/{athleteName}/analytics/recovery-load.

Operation ID
getAnalyticsStoriesById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
todayRequiredquerystring
startDatequerystringWith endDate, counts only sessions dated in this inclusive range instead of range's window
endDatequerystringGiven together with startDate
weekStartDayquery"sunday" | "monday"The day calendar weeks start on; defaults to monday
programIdquerystringCounts only this program, bucketed by its program weeks instead of calendar weeks
utcOffsetMinutesqueryintegerThe viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0

Responses

  • 200 Story charts (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/analytics/connector-stories

Read the connector story charts: Sleep Vs Make Rate, Readiness Vs Results, Fuel Vs Results and Conditions On PR Days

Pairs each training session with the athlete's Oura, WHOOP and FatSecret data. Sleep is the record dated the session's day, banded by hours; readiness is WHOOP recovery, else Oura readiness, banded by that provider's zones; fuel is the previous day's calories and protein against the athlete's own median. A band story turns red only when two bands each hold at least 3 sessions and 10 lift sets and their make rates differ by 10 points or more. Conditions On PR Days needs 3 PR days and names the largest difference of at least 5%. Needs the wearables_read permission and the health access a club admin or the athlete's assigned coach has. Filters work as GET /athletes/{athleteName}/analytics/stories's do.

Operation ID
getConnectorStoriesById
Permission
wearables_read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
todayRequiredquerystring
startDatequerystringWith endDate, counts only sessions dated in this inclusive range instead of range's window
endDatequerystringGiven together with startDate
weekStartDayquery"sunday" | "monday"The day calendar weeks start on; defaults to monday
programIdquerystringCounts only this program, bucketed by its program weeks instead of calendar weeks
utcOffsetMinutesqueryintegerThe viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0

Responses

  • 200 Connector story charts (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /athletes/id/{athleteId}/analytics/chart-data

Evaluate one custom chart for an athlete and return its data

Evaluates the chart in item, a custom chart shaped as on the analytics board (see AnalyticsLayoutItem), with the same pipeline the console draws it with, and returns its buckets and series, pie slices, scatter points and fit, heatmap cells or histogram bins. Charts reading Oura, WHOOP, nutrition or Output data need the wearables_read permission. Read-only, so it needs only the read permission otherwise. One entry per variable, in the order of the chart's variables (yField, or each series, or xMetric then yField on a scatter), up to 5. lagDays moves a value recorded on day D to day D plus the lag, 0 to 28 days or whole weeks up to 8 (weekly training metrics lag by whole weeks only). aggregation rolls days up into each bucket: average, sum, max, min, count, latest. transform changes daily values before bucketing: rollingAverage over 7, 14, 28 days, percentChange, runningTotal, or vsOwnMedian.

Operation ID
getAthleteChartDataById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
itemRequiredAnalyticsLayoutItem
todayRequiredstringThe viewer's date, which lastWeeks and currentBlock ranges count back fromformat date
dateRangeobjectThe board's dates, which a chart without its own range follows
FieldTypeDetails
startDateRequiredstringformat date
endDateRequiredstringformat date
weekStartDay"sunday" | "monday"The day calendar weeks start on; defaults to the coach's setting
programIdstringCounts only this program, bucketed by its program weeks
utcOffsetMinutesintegerThe viewer's offset from UTC in minutes; defaults to 0minimum -720, maximum 840

Responses

  • 200 The chart's data (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/analytics/recovery-load

Read the Recovery Vs Training Load story: weekly volume against average HRV from WHOOP, else Oura

Each week's training volume beside the athlete's average HRV that week, from WHOOP when connected, else Oura, and the verdict: HRV Dips After Heavy Weeks when a week's volume correlates at -0.3 or below with the next week's HRV over at least 4 week pairs. Needs the wearables_read permission and the health access a club admin or the athlete's assigned coach has; source is null when no wearable with HRV is connected. Filters work as GET /athletes/{athleteName}/analytics/stories's do.

Operation ID
getRecoveryLoadById
Permission
wearables_read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring
todayRequiredquerystring
startDatequerystringWith endDate, counts only sessions dated in this inclusive range instead of range's window
endDatequerystringGiven together with startDate
weekStartDayquery"sunday" | "monday"The day calendar weeks start on; defaults to monday
programIdquerystringCounts only this program, bucketed by its program weeks instead of calendar weeks
utcOffsetMinutesqueryintegerThe viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0

Responses

  • 200 Recovery against training load (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Athlete Analytics Boards

GET /athletes/{athleteName}/analytics-layout

Get the token owner's analytics board for an athlete

Each coach keeps their own board per athlete. data is null when this coach has not saved one, and the console shows its default charts.

Operation ID
getAnalyticsLayout
Permission
read

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Responses

  • 200 The saved board, or null (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/{athleteName}/analytics-layout

Replace the token owner's analytics board for an athlete

Up to 64 charts, each built-in chart at most once and every id unique. Send layoutVersion 7 for a board in the current format; a board saved with 2 gets the charts added since then when it is next read, and a save with an older layoutVersion keeps each custom chart's stored range and liftFilter.

Operation ID
saveAnalyticsLayout
Permission
write

Parameters

NameInTypeDetails
athleteNameRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
itemsRequiredarray of AnalyticsLayoutItemmax items 64
layoutVersion2 | 3 | 4 | 5 | 6 | 7

Responses

  • 200 The board as saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /athletes/id/{athleteId}/analytics-layout

Get the token owner's analytics board for an athlete

Each coach keeps their own board per athlete. data is null when this coach has not saved one, and the console shows its default charts.

Operation ID
getAnalyticsLayoutById
Permission
read

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 The saved board, or null (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /athletes/id/{athleteId}/analytics-layout

Replace the token owner's analytics board for an athlete

Up to 64 charts, each built-in chart at most once and every id unique. Send layoutVersion 7 for a board in the current format; a board saved with 2 gets the charts added since then when it is next read, and a save with an older layoutVersion keeps each custom chart's stored range and liftFilter.

Operation ID
saveAnalyticsLayoutById
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
itemsRequiredarray of AnalyticsLayoutItemmax items 64
layoutVersion2 | 3 | 4 | 5 | 6 | 7

Responses

  • 200 The board as saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Programs

Program Writes

  • Create, read, replace, and delete whole programs, or check for and get the current program. Program and template list pages hold at most 10 items.
  • GET /programs/current/summary?athleteId=&today= returns the progress summary the console's athlete overview shows: the current week, completed and missed sessions, and the average session rating. It picks the active program, else the next to start, else the most recent, and returns null when the athlete has none.
  • Add, patch, move, copy, and delete weeks, days, and exercises without replacing the program. Every such write sends the program revision in If-Match.
  • Set, update, or clear a coach session note (coachNotes) on a day.
  • Complete a workout with its rating, session intensity, and duration in one revision with /complete. Do not mark work complete as a side effect of editing prescriptions.
  • Normalize and validate a draft with POST /programs/validate before saving it.
  • A replace or metadata patch that would give the program the athlete, name, and start date of another program returns 409.

Completed Sessions

Completed sessions are locked: only the athlete can change a completed day, from the app. A day, week, or exercise write that would change, move, or remove one returns 409, except moving a completed day to another date (/move), which returns 400.

  • A replace keeps every completed session exactly as the athlete logged it, in its week and day slot, even when the body leaves that day out.
  • A replace that would remove a whole week holding a completed session returns VALIDATION_ERROR. One that renumbers a week's days so a completed session's exercises land under another day number, while its own slot is left out or holds something else, returns 409.
  • A program that holds a completed day cannot move to another athlete (400) or be deleted (409). Changing its start date leaves completed days on the date they were trained.

Prescriptions

An exercise's reps is a string or an array of strings, each one of the shapes below, or blank for a set the athlete has not filled in. Text such as "10 each side", "AMRAP", "1+1", or "2 x 20m" is rejected with INVALID_FORMAT; put instructions in exerciseNotes, and write a complex such as 3+1 with complex: its parts in order, each with a name and the program category its reps count toward, and the reps per part for each set.

An exercise may instead send items, up to 3 things it tracks (such as reps, percent, weight, RPE or time), each with a target per set. When items are sent they decide the prescription, and Atlas rewrites the fields below from them for older apps. A percent item's basis names the PR it reads. The request schemas list every item and its units.

ShapeExampleMeaning
Count"3" or ["3", "2", "1"]Repetitions. A string applies to every set; an array varies by set.
Range"10-12"Inclusive repetition range.
Timed suffix"30s", "30-45s"Duration in seconds.
Timed unit{ "reps": "30", "prescriptionUnit": "seconds" }Same as "30s".
Minutes unit{ "reps": "10.5", "prescriptionUnit": "minutes" }, "10:30", "8:30-10"Minutes as a decimal or m:ss. Stored and returned in seconds ("630s", "510-600s"); any other form is rejected.
Distance suffix"100m", "100-200m"Distance in meters.
Distance unit{ "reps": "100", "prescriptionUnit": "meters" }Same as "100m". prescriptionUnit may be reps, seconds, minutes, meters, or distance_time.
Distance and time{ "reps": "1mi", "prescriptionUnit": "distance_time" }A distance in meters, miles or kilometers (400m, 1mi, 5km; a bare number is meters). targetSeconds holds an optional target time per set, and the athlete logs the time in setSeconds.

Program create and replace, validate, template create and update, add exercise, and patch exercise all accept these shapes, and reads return the fields as sent, except minutes, which come back in seconds. A patch may set prescriptionUnit to null to clear it.

An exercise's sets is a whole number from 1 to 99 on every write. An array reps and setStatuses need one entry per set; setWeights may be shorter, since it stops at the last weighed set, but never longer.

Exercise Intensity

An exercise prescribes working intensity with one of four kinds, none meaning no load. Velocity is an optional overlay that stacks with percent or RPE. Percent-only payloads stay valid, and a range is never the default and never inferred from a two-number array.

FieldTypeNotes
intensityModepercent, percent_range, rpe, rpe_range, weight, weight_range, or noneOmit or use percent for a single percent of a PR. Range modes store a lower and upper bound. none takes no percent, rpe or load, and the athlete logs no weight.
percentnumber, number array, or array of pairsGreater than 0 and at most 200, with at most one decimal. A per-set array must match sets. For percent_range, [70, 80] is one 70–80 range for every set; nested pairs vary it by set. Mutually exclusive with rpe.
loadnumber, number array, or array of pairsA weight in kilograms, from 0 to 500, for weight and weight_range. Shaped like percent. Mutually exclusive with percent and rpe.
loadUnitkg or lbThe unit the coach typed the load in, kg by default. With kg the load is whole kilograms. With lb it is whole pounds sent as pounds ÷ 2.2 to a tenth of a kilogram, so 225 lb is 102.3.
rpenumber, number array, or array of pairsRating of perceived exertion from 1 to 10, in the same shapes as percent.
velocitynumber, number array, or array of pairsOptional bar speed in m/s, greater than 0 and at most 5. Independent of intensityMode.
velocityRangebooleanWhen true, velocity stores a lower and upper bound. Without it, a two-number array is two per-set values.
loggedVelocitynumber or number arrayAthlete-measured bar speed in m/s, written by the athlete app: one entry per set, with 0 for a set that was not measured.

If only rpe is present, the API infers intensityMode: "rpe". On an exercise patch, setting rpe switches the exercise to RPE and clears percent; setting percent does the reverse; setting velocity keeps both. intensityMode, rpe, percent, velocity, and velocityRange may be null to clear them. Templates take the same fields.

Rep Target Changes

A program's or template's repTargets are its week-1 rep target percentages. repTargetChanges lists targets that take over later in the block, each from its startWeek until the next change.

  • Start weeks are whole weeks from 2 to the block's last week, strictly increasing, with at most 52 changes.
  • Percentages are strings of at most 16 characters. Categories are the RepTargets keys. Weightlifting categories left out are stored as empty strings; benchPress and deadlift are stored only when sent.
  • Reads always return the field, as [] when targets never change.
  • On create or replace, omitting the field keeps stored changes that still fall inside the block, and [] clears them. PATCH /programs/{programId} replaces the whole list.
  • Deleting or renumbering weeks drops changes past the new last week. Assigning a template copies its changes.

Notes And Names

A day's coachNotes and sessionComments and an exercise's exerciseNotes hold at most 2,000 characters; an exercise's athleteComments at most 1,000. A program or template name is required and at most 120 characters after trimming. A program or template body over a bound returns 422 with the offending path; a day, exercise, metadata, or assignment write returns 400. A longer value stored before these bounds existed is kept as long as a write leaves it unchanged.

GET /programs

List programs, optionally for one athlete

Most recently created first, a page at a time: follow continueCursor until isDone. athleteId takes precedence over athleteName.

Operation ID
listPrograms
Permission
read

Parameters

NameInTypeDetails
athleteNamequerystring
athleteIdquerystring
limitqueryinteger
cursorquerystring

Responses

  • 200 Programs (ProgramPageEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs

Create a normalized, idempotent program; numbering, completion flags, targets, and totals receive defaults

A retry with the same Idempotency-Key and body answers the original program (200); the same key with a different body, or another program with the same athlete, name and start date, answers 409. Validate a body first with POST /programs/validate.

Operation ID
createProgram
Permission
write

Parameters

NameInTypeDetails
Idempotency-KeyheaderstringOptional; a retry with the same key and body returns the first result; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

Responses

  • 200 Existing idempotent result (ProgramMutationResult)
  • 201 Program created (ProgramMutationResult)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 422 Invalid request (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /programs/{programId}/export

Export a program block as a PDF or Excel file

Writes the coach's prescription as entered, never logged results: each week, each day with its label (and calendar date for a program), each exercise's block label, name, sets, reps, intensity and notes, then the week totals and rep targets Block Settings shows. Exercises and days an athlete added are left out. The body is the file itself, never JSON; use --output <path> to write it to a file. A missing or forbidden id answers 404 alike.

Operation ID
exportProgram
Permission
read

Parameters

NameInTypeDetails
programIdRequiredpathstring
formatquery"pdf" | "xlsx"pdf (the default) or xlsx: an Excel workbook with a sheet per week and a Rep Targets sheet. Without format, Accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet also picks xlsx

Responses

  • 200 The exported file (string) as application/pdf or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 413 The file would pass the 4 MB export limit (PAYLOAD_TOO_LARGE) (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /programs/{programId}

Get a complete program

The ETag header carries the program's revision; send it as If-Match on every change, or as If-None-Match to get 304 while it is unchanged.

Operation ID
getProgram
Permission
read

Parameters

NameInTypeDetails
programIdRequiredpathstring
If-None-MatchheaderstringReturn 304 when this revision ETag is still current

Responses

  • 200 Program (ProgramEnvelope)
  • 304 Program has not changed
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Not found
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /programs/{programId}

Replace a complete program

Send every day's scheduledDate, the one field that places it on the calendar. A day sent without one keeps the date it is stored on while its planned day is unchanged, else it is placed by its week and day number; a later API version will require it. A session sent without the athlete's sessionComments, exercise athleteComments or circuit log keeps the stored ones of the session it carries (see sessionOrigins); a replaced movement starts without comments. A day with logged work keeps what is stored unless loggedDayEdits names it: then its loads, notes and exercises are saved as sent, and the sets the athlete logged are kept.

Operation ID
updateProgram
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 200 Program updated (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 422 Invalid request (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /programs/{programId}

Update athlete, name, start date, rep targets, rep target changes, or weekly totals without replacing workouts

Operation ID
patchProgramMetadata
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

object

FieldTypeDetails
athleteNamestring
programNamestringmin length 1, max length 120
startDatestringformat date
athleteIdstring
shiftScheduledDatesbooleanWith startDate, move every session without logged work by exactly the days startDate moves. Without it, each such session keeps its weekday and its week from the start.
repTargetsRepTargets
weekTotalsarray of object
repTargetChangesRepTargetChangesReplaces the whole schedule; [] clears it

Responses

  • 200 Program metadata updated (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /programs/{programId}

Delete a program

A program with a completed session cannot be deleted (409).

Operation ID
deleteProgram
Permission
program_delete

Parameters

NameInTypeDetails
programIdRequiredpathstring
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Responses

  • 200 Program deleted (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /programs/current

Get the current program, optionally for one athlete

Picks the program running on today, else the most recent to have started, else the next to start; null when there is none.

Operation ID
getCurrentProgram
Permission
read

Parameters

NameInTypeDetails
todayRequiredquerystring
athleteNamequerystring
athleteIdquerystring

Responses

  • 200 Current program or null (NullableProgramEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /programs/current/summary

Summarize one athlete's current program as the console overview does

Picks the active program, else the next to start, else the most recent, and reports its week, completed and missed sessions, and session ratings.

Operation ID
getCurrentProgramSummary
Permission
read

Parameters

NameInTypeDetails
todayRequiredquerystring
athleteIdquerystring
athleteNamequerystring

Responses

  • 200 Program summary, or null when the athlete has no program (CurrentProgramSummaryEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /programs/exists

Check for a program by athlete, name, and start date

Give athleteId or athleteName. A create with the same athlete, name and start date is refused with 409.

Operation ID
checkProgramExists
Permission
read

Parameters

NameInTypeDetails
athleteNamequerystring
athleteIdquerystring
programNameRequiredquerystring
startDateRequiredquerystring

Responses

  • 200 Existence result (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs/validate

Normalize and validate a program without saving it

Answers valid, the issues a create or replace would refuse, and the normalized body it would store.

Operation ID
validateProgram
Permission
read

Request Body

Required, JSON

Responses

  • 200 Validation issues and normalized payload (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs/{programId}/weeks

Add a week and update weekCount automatically

Operation ID
addProgramWeek
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 201 Week added (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /programs/{programId}/weeks/{weekNumber}

Renumber a week or update its total

Operation ID
patchProgramWeek
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 200 Week updated (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /programs/{programId}/weeks/{weekNumber}

Delete a week

Operation ID
deleteProgramWeek
Permission
workout_delete

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Responses

  • 200 Week deleted (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /programs/{programId}/weeks/{weekNumber}/stats

Read a week's rep counts, average intensity and intensity zones

What the program builder's stats pages show for one week. reps compares each lift's prescribed reps with its goal from the program's rep targets and week total. intensity gives each lift section its average percent of max (averageIntensity) and its average relative intensity (relativeIntensity: each set's load against the athlete's max for that many reps, their rep max record or else the estimate from their 1RM) and the reps prescribed at 60–70%, 70–80% and above 80%: a percent range counts at its midpoint, a prescribed weight counts when the athlete has a max for that lift, and RPE sets never count.

Operation ID
getProgramWeekStats
Permission
read

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger

Responses

  • 200 The week's stats (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs/{programId}/weeks/{weekNumber}/copy

Copy a week while resetting athlete completion data

Operation ID
copyProgramWeek
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 201 Week copied (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs/{programId}/weeks/{weekNumber}/days

Add a workout day to a program week

Operation ID
addProgramDay
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 201 Workout day added (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}

Update selected workout-day fields without replacing the program

Operation ID
patchProgramDay
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 200 Workout day updated (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}

Delete a workout day

A day the athlete already logged work on is refused; on their own program, the athlete deletes it with deleteLoggedSession.

Operation ID
deleteProgramDay
Permission
workout_delete

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Responses

  • 200 Workout day deleted (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}/logged-session

Delete a workout day the athlete already logged, with its logged work

Removes the day with its logged sets, check-ins, comments and badge credit for good; personal records and badges already earned stay. Only the athlete on their own program may call it, such as a coach who trains themselves; any other coach gets 403.

Operation ID
deleteLoggedSession
Permission
workout_delete

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Responses

  • 200 Logged session deleted (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}/move

Move a workout day to another date, swapping with an occupied date

Operation ID
moveProgramDay
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 200 Workout day moved (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}/complete

Atomically complete a workout and save its rating and intensity

Operation ID
completeWorkoutSession
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 200 Workout completed (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}/copy

Copy a day to any week while resetting athlete completion data

Operation ID
copyProgramDay
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 201 Day copied (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}/exercises

Add an exercise to a workout day

Operation ID
addProgramExercise
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

object

The exercise. reps is required unless circuit or circuitText makes it a circuit, whose reps Atlas writes.

FieldTypeDetails
exerciseNumbernumber
exerciseNameRequiredstring
exerciseCategorystring
exerciseNotesstringmax length 2000
supersetGroupstring
supersetOrdernumber
setsintegerminimum 1, maximum 99
repsstring | array of stringPrescribed quantity per set, as numbers or MAX. A string applies to every set; an array varies by set. Repetition ranges such as 10-12 are valid. Timed work uses an s suffix (30s, 30-45s) and/or prescriptionUnit=seconds with a bare quantity (30, 30-45). With prescriptionUnit=minutes, each value is minutes as a decimal or m:ss (10.5 or 10:30, both ten and a half minutes; ranges such as 8:30-10); Atlas stores and returns it in seconds (630s, 510-600s), and any other form is rejected with INVALID_FORMAT. Distance work uses an m suffix (100m, 100-200m) and/or prescriptionUnit=meters with a bare quantity (100, 100-200). With prescriptionUnit=distance_time, each set is a distance in meters, miles or kilometers (400m, 1mi, 5km; a bare quantity is meters), and the athlete logs the time it took in setSeconds. MAX (any case) prescribes as many reps as the athlete can, and the athlete logs the reps they did; it is for repetition counts only, never inside a range or a complex. Text such as '10 each side', 'AMRAP', or '1+1' is rejected with INVALID_FORMAT; put instructions in exerciseNotes, and write a complex such as 3+1 with complex.
prescriptionUnit"reps" | "seconds" | "minutes" | "meters" | "distance_time"How to interpret reps. Omit or use reps for repetition counts. Use seconds for timed holds and isos. Use minutes for longer timed work such as conditioning intervals: reps are then entered in minutes and stored in seconds, so they read back with an s suffix. Use meters for distance work such as sprints and carries. Use distance_time for runs, rows and rides where the athlete logs the time a distance took: reps hold the distance with an m, mi or km suffix, targetSeconds the optional target time per set, and setSeconds the logged time. A switch between meters and distance_time keeps the distances (miles and kilometers convert to meters) and drops the times. Existing programs may omit this and encode time with an s suffix or distance with an m suffix on reps. When a created, replaced or added exercise omits it and its reps carry no suffix, Atlas uses the Unit of the library exercise with that name (reps when it is not in the library).
repsRangebooleanWhen true, each reps quantity is a low/high range (10-12, 30-45s, 100-200m; 8:30-10 under minutes). The program builder shows two fields. Omit or false for a single quantity per set.
itemsarray of objectThe things this exercise tracks, in the order the athlete sees them. Keys are reps, percent, weight, band, rpe, rir, time, distance, height, velocity, power, calories; at most 3 per exercise, each once, and at most one of percent, weight, band. Each item has targets: one entry per set in set order, a number, a {min, max} range, or null for no target. maxSets lists the set positions (from 0, in set order) whose target is MAX: as many as the athlete can (reps and other quantities) or working up to a max (weight and percent); the target at each listed position is null. reps, percent, weight, time, distance, height, velocity, power, calories take MAX, band, rpe and rir do not, and the athlete logs what they did. Omit maxSets, or send [], when no set is MAX. In reps text, MAX (any case) is a MAX reps set. Units: weight targets are kilograms with unit kg or lb choosing how they are shown; distance takes m, yd, mi, km, in or cm; height takes in or cm; time is whole seconds; velocity is m/s; power is watts; calories are cal; band is a resistance band size: 1 for Small, 2 for Medium, 3 for Large, 4 for Extra Large; percent is a percentage of the athlete's record: of the basis's repMax rep max when the percent item has a basis, which names a record lift ({ lift, repMax }) or a club lift from GET /club-lifts ({ clubLiftId, repMax }), estimated from that lift's 1RM with the Epley formula when that rep max is not stored, and with no suggested weight when the athlete has no PR for it, otherwise of the 1RM of the lift the exercise's category, library entry or name points to. When items are sent they decide the prescription, and Atlas rewrites reps, prescriptionUnit, intensityMode, percent, rpe, load, loadUnit, velocity and targetSeconds from them for older apps. When items are omitted, Atlas reads the prescription from those fields.max items 3
FieldTypeDetails
keyRequired"reps" | "percent" | "weight" | "band" | "rpe" | "rir" | "time" | "distance" | "height" | "velocity" | "power" | "calories"
unit"kg" | "lb" | "m" | "yd" | "mi" | "km" | "in" | "cm"
basisobject | object
targetsRequiredarray of null | number | object
maxSetsarray of number
itemValuesarray of objectWhat the athlete logged per item, one entry per set in set order, null for a set not logged. Values use the item's stored units; the athlete's weight under percent is in kilograms; band is a resistance band size: 1 for Small, 2 for Medium, 3 for Large, 4 for Extra Large. Atlas also writes setWeights, setSeconds and loggedVelocity from them for older apps.
FieldTypeDetails
keyRequired"reps" | "percent" | "weight" | "band" | "rpe" | "rir" | "time" | "distance" | "height" | "velocity" | "power" | "calories"
valuesRequiredarray of number | null
complexobjectMakes the exercise a complex such as 3+1: 2 to 5 parts in order, each with a display name and the program category its reps count toward (one of accessory, back squat, clean, clean and jerk, clean pull, front squat, jerk, primer, snatch, snatch pull, untracked, bench press, deadlift). reps has one entry per set in set order, each with one whole number from 1 to 50 per part; a set past the end repeats the last entry. Weekly rep allocation counts each part's reps toward its category, and nothing when the exercise's own category is one of primer, accessory, plyo, isometric, untracked. A part in untracked counts toward nothing: no rep allocation, training volume, personal records or meet plans. The exercise needs the reps item; Atlas fills its targets with each set's total (4 for 3+1) and writes reps as text like "3+1" for older apps. Omit for a plain exercise.
FieldTypeDetails
partsRequiredarray of object
FieldTypeDetails
nameRequiredstring
categoryRequiredstring
repsRequiredarray of array of number
circuitobjectMakes the exercise a circuit. A circuit is one exercise whose exerciseName is the circuit's name. format is rounds (Rounds), forTime (For Time), amrap (AMRAP) or emom (EMOM). rounds and forTime take rounds (1 to 50) and may take restSeconds between rounds (0 to 600); forTime may take timeCapSeconds (whole seconds up to 120 minutes). amrap and emom take durationSeconds instead, in whole minutes up to 120; emom also takes intervalSeconds (1 to 5 whole minutes, dividing durationSeconds) and emomStyle, everyMovement (every movement each interval) or alternate (the movements take the intervals in turn: with emomGroupSizes, such as [2, 2], the first 2 movements share interval 1, the next 2 interval 2, and so on, the sizes adding up to the movement count; without it, one movement per interval). movements holds 1 to 12 movements in order, each with a name, a category (kept for reference; every circuit rep counts as accessory) and items whose targets are per round, so reps targets [21, 15, 9] write 21-15-9; a target list shorter than the round count repeats its last value. A circuit's reps count toward no lift in rep allocation; a circuit never feeds personal records, rep maxes, estimated 1RMs or meet plans. A circuit cannot also carry items or complex. Atlas writes sets as the round count, reps as one blank per round and prescriptionUnit reps for older apps. The athlete's log rides along: each movement's itemValues (one entry per round), coachMovement (the coach's movement when the athlete switched it), roundStatuses (one per round) and result: { kind: time, seconds } for Rounds or For Time, or { kind: rounds, rounds, reps } for AMRAP. Adding an exercise with no circuit, items or complex whose exerciseName is a circuit saved in the club or Atlas exercise library copies that saved plan in. Omit for a plain exercise.
FieldTypeDetails
formatRequired"rounds" | "forTime" | "amrap" | "emom"
roundsnumber
durationSecondsnumber
intervalSecondsnumber
emomStyle"everyMovement" | "alternate"
emomGroupSizesarray of number
timeCapSecondsnumber
restSecondsnumber
movementsRequiredarray of object
FieldTypeDetails
nameRequiredstring
categoryRequiredstring
itemsRequiredarray of object
itemValuesarray of object
coachMovementobject
roundStatusesarray of "pending" | "complete" | "miss"
resultobject | object
weightsnumber
setWeightsarray of number
targetSecondsarray of integerTarget time in whole seconds per set for a distance_time exercise, in set order. 0 means no target for that set.
setSecondsarray of integerAthlete-logged time in whole seconds per set for a distance_time exercise, in set order. 0 means no time logged. A completed set at a run PR distance (1 mile, 2 miles, 5K, 10K, half marathon, marathon, within 0.5%) raises a General Fitness athlete's run PR when it is faster.
percentIntensityValuePercent of a personal record. Greater than 0 and at most 200, with at most one decimal (72.5, not 72.25); more is a 400 VALIDATION_ERROR whose message names the field. Mutually exclusive with rpe. May be combined with velocity. Omit intensityMode or set it to percent for a single-value prescription.
intensityModeIntensityMode
rpeRpe
loadLoad
loadUnitLoadUnit
velocityVelocity
velocityRangebooleanWhen true, velocity stores a lower and upper bound. A two-number array without this flag remains two per-set values.
loggedVelocitynumber | array of numberAthlete-measured bar speed in m/s, one entry per set in set order, like setWeights. 0 marks a set that was not measured; a single number is the first set. Written by the athlete app; independent of the coach velocity prescription. Lists saved before this placeholder existed skip unmeasured sets instead of holding 0, so their entries may not line up with set numbers.
setStatusesarray of "pending" | "complete" | "miss"
completedbooleandefault false
athleteCommentsstringmax length 1000
circuitTextstringA circuit typed in plain words, as an alternative to circuit, such as "3 rounds for time, 15 min cap: 10 burpees, 15 KB swings @ 24kg, 200m row". Atlas reads it as POST /circuits/parse does, matching each movement against the club and Atlas exercise libraries, and adds words it cannot place to exerciseNotes. Text that is not a valid circuit answers 400 VALIDATION_ERROR with the reason. Send circuit or circuitText, not both.max length 2000

Responses

  • 201 Exercise added (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}/exercises/copy

Copy chosen exercises of a day into a day of one or more weeks, resetting athlete completion data

Each target week's day with targetDayNumber gets the copies after its own exercises, numbered after its highest exerciseNumber; a week without that day gets a new day holding only the copies. The copies are lettered A to Z as new superset blocks after the day's own, and the day's own exercises keep their letters, or none, exactly as they were. Blocks past the first 26 get no letter, and a paste that would leave a superset there is refused with VALIDATION_ERROR. A target day with logged work gets the copies after that work, and its logged sets are kept. If-Match carries the revision of the program being written: targetProgramId's when it is sent.

Operation ID
copyProgramExercises
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision of the program being written, returned by GET /programs/{programId} for that program: targetProgramId's when it is sent, otherwise programId's

Request Body

Required, JSON

Responses

  • 201 Exercises copied (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}/exercises/{exerciseNumber}

Update selected exercise and set fields

Operation ID
patchProgramExercise
Permission
write

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
exerciseNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Request Body

Required, JSON

Responses

  • 200 Exercise updated (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /programs/{programId}/weeks/{weekNumber}/days/{dayNumber}/exercises/{exerciseNumber}

Delete an exercise from a workout day

Operation ID
deleteProgramExercise
Permission
workout_delete

Parameters

NameInTypeDetails
programIdRequiredpathstring
weekNumberRequiredpathinteger
dayNumberRequiredpathinteger
exerciseNumberRequiredpathinteger
If-MatchRequiredheaderintegerRevision returned by GET /programs/{programId}

Responses

  • 200 Exercise deleted (object)
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Templates

GET /templates

List reusable program templates

Operation ID
listTemplates
Permission
read

Parameters

NameInTypeDetails
limitqueryinteger
cursorquerystring
sportquery"weightlifting" | "powerlifting" | "general_fitness"Only templates of this sport, the ones an athlete or group of it can be assigned. A filtered page can hold fewer than limit templates; follow the cursor until isDone.

Responses

  • 200 Templates (TemplatePageEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /templates

Create or update a reusable template by name

A template week runs Monday to Sunday, day 1 to day 7. Each session's weekday names its column; a session sent without one takes its day's column (Sunday is day 7). A session whose column is taken moves to the next free day after it, wrapping to Monday, and takes that day's weekday. A dayLabel is the session's own name and cannot be only a weekday. Assigning places each session on its weekday in each program week, whatever weekday the start date is.

Operation ID
saveTemplate
Permission
write

Parameters

NameInTypeDetails
If-MatchheaderintegerRequired when replacing, renaming, moving, or deleting an existing template

Request Body

Required, JSON

Responses

  • 200 Template replaced (object)
  • 201 Template created (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 422 Invalid request (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /templates/{templateId}/export

Export a template as a PDF or Excel file

Writes the coach's prescription as entered, never logged results: each week, each day with its label (and calendar date for a program), each exercise's block label, name, sets, reps, intensity and notes, then the week totals and rep targets Block Settings shows. Exercises and days an athlete added are left out. The body is the file itself, never JSON; use --output <path> to write it to a file. A missing or forbidden id answers 404 alike.

Operation ID
exportTemplate
Permission
read

Parameters

NameInTypeDetails
templateIdRequiredpathstring
formatquery"pdf" | "xlsx"pdf (the default) or xlsx: an Excel workbook with a sheet per week and a Rep Targets sheet. Without format, Accept: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet also picks xlsx

Responses

  • 200 The exported file (string) as application/pdf or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 413 The file would pass the 4 MB export limit (PAYLOAD_TOO_LARGE) (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /templates/{templateId}

Get a reusable template

Operation ID
getTemplate
Permission
read

Parameters

NameInTypeDetails
templateIdRequiredpathstring
If-None-MatchheaderstringReturn 304 when this revision ETag is still current

Responses

  • 200 Template (TemplateEnvelope)
  • 304 Template has not changed
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /templates/{templateId}

Rename a reusable template

As Rename does in the console's template library: the template keeps its weeks and folder, and programs already assigned from it keep their own names. A club admin renames any club template; an assistant coach only templates they made. A name another template in the library already uses answers 409.

Operation ID
renameTemplate
Permission
write

Parameters

NameInTypeDetails
templateIdRequiredpathstring
If-MatchRequiredheaderintegerRequired when replacing, renaming, moving, or deleting an existing template

Request Body

Required, JSON

object

FieldTypeDetails
programNameRequiredstringmin length 1, max length 120

Responses

  • 200 Template renamed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /templates/{templateId}

Delete a reusable template

Operation ID
deleteTemplate
Permission
program_delete

Parameters

NameInTypeDetails
templateIdRequiredpathstring
If-MatchRequiredheaderintegerRequired when replacing, renaming, moving, or deleting an existing template

Responses

  • 200 Template deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /templates/exists

Check whether a template name exists

Operation ID
checkTemplateExists
Permission
read

Parameters

NameInTypeDetails
programNameRequiredquerystring

Responses

  • 200 Existence result (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /templates/{templateId}/assign

Assign a template to an athlete as a dated program

The athlete or group must have the template's sport; another sport is refused with 400.

Operation ID
assignTemplate
Permission
write

Parameters

NameInTypeDetails
templateIdRequiredpathstring
Idempotency-KeyheaderstringOptional; a retry with the same key and body returns the first result; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

Responses

  • 200 The original result for a retry (object)
  • 201 Program assigned (object)
  • 400 The athlete or group has another sport than the template, or the body is invalid
  • 401 Missing or invalid token (Error)
  • 402 PLAN_LIMIT_REACHED: the club's plan has no room for another athlete or group program member, or the club is locked after its subscription ended (Error)
  • 403 Token lacks the required permission (Error)
  • 409 The athlete already has a program with this name and start date, or the Idempotency-Key was already used with a different body (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /templates/{templateId}/folder

Move a template into a folder or to the root

Operation ID
setTemplateFolder
Permission
write

Parameters

NameInTypeDetails
templateIdRequiredpathstring
If-MatchRequiredheaderintegerRequired when replacing, renaming, moving, or deleting an existing template

Request Body

Required, JSON

Responses

  • 200 Template moved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /templates/{templateId}/duplicate

Copy a template into the library

Saves a copy as a new template at revision 1, under programName or, when omitted, the first free "<name> Copy" name, as Duplicate does in the console. A name the library already holds is refused with CONFLICT. The body is optional.

Operation ID
duplicateTemplate
Permission
write

Parameters

NameInTypeDetails
templateIdRequiredpathstring

Request Body

Optional, JSON

object

FieldTypeDetails
programNamestringmin length 1, max length 120

Responses

  • 201 Template copied (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Template Folders

GET /template-folders

List program-library folders owned by the coach

Operation ID
listTemplateFolders
Permission
read

Responses

  • 200 Template folders (TemplateFolderListEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /template-folders

Create a program-library folder

Operation ID
createTemplateFolder
Permission
write

Request Body

Required, JSON

Responses

  • 201 Template folder created (TemplateFolderEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /template-folders/{folderId}

Rename a program-library folder

Operation ID
updateTemplateFolder
Permission
write

Parameters

NameInTypeDetails
folderIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Template folder renamed (TemplateFolderEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /template-folders/{folderId}

Delete a program-library folder and move its templates to the root

Operation ID
deleteTemplateFolder
Permission
write

Parameters

NameInTypeDetails
folderIdRequiredpathstring

Responses

  • 200 Template folder deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Circuits

POST /circuits/parse

Read a circuit typed in plain words into a circuit plan, without saving anything

Reads the format (Rounds, For Time or RFT with an optional time cap, AMRAP, EMOM or E2MOM, alternating), rounds, minutes, rest between rounds and a per-round scheme such as 21-15-9, then each movement on its own line or after a comma, "and" or "+": its quantity (reps, cal, m, km, mi, a time), its load (kg, lb or #, %) and its name. Each name is matched against the club and Atlas exercise libraries, taking the library's spelling and movement type; unmatched lists the names it kept as typed. notes holds words it could not place. With no circuit, issue says why. Text is at most 2000 characters.

Operation ID
parseCircuitText
Permission
read

Request Body

Required, JSON

object

FieldTypeDetails
textRequiredstringmax length 2000

Responses

  • 200 The parsed circuit (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Import Programs

GET /program-imports/providers

List the coaching platforms and whether each can be imported from

Each provider (trainheroic (TrainHeroic), coachlogik (CoachLogik), truecoach (TrueCoach), bridge (Bridge)) and whether it is available, turned off on this deployment, or coming soon. Chat connectors cannot call these operations: Program import asks for a provider password, so chat connectors cannot start it. Use the console or the Atlas CLI.

Operation ID
listProgramImportProviders
Permission
read

Responses

  • 200 Available providers (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /program-imports/{provider}/sessions

Sign in to a coaching platform and list its programs

Signs in with the coach's own provider login, which is used once and never stored. Atlas keeps only the provider's session, encrypted, for 15 minutes. From the CLI, send the body on stdin (`--body -`) so the password stays out of shell history. Chat connectors cannot call these operations: Program import asks for a provider password, so chat connectors cannot start it. Use the console or the Atlas CLI.

Operation ID
startProgramImport
Permission
write

Parameters

NameInTypeDetails
providerRequiredpath"trainheroic" | "coachlogik" | "truecoach" | "bridge"

Request Body

Required, JSON

Responses

  • 201 Import session and the programs it can import (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /program-imports/sessions/{sessionId}/preview

Preview the chosen programs and their exercises

Reads the chosen programs from the provider and lists each exercise with the Library exercise it matches, or none.

Operation ID
previewProgramImport
Permission
write

Parameters

NameInTypeDetails
sessionIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 200 Program counts and exercise matches (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /program-imports/sessions/{sessionId}/commit

Import the chosen programs as Library templates

Creates one template per program in the provider's Imported From folder, and a club exercise for each unmatched name. Every program is written or none is. At most 25 programs per call; the session ends once it succeeds.

Operation ID
commitProgramImport
Permission
write

Parameters

NameInTypeDetails
sessionIdRequiredpathstring

Request Body

Required, JSON

Responses

  • 201 Templates created (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /program-imports/sessions/{sessionId}

End an import session

Deletes the stored provider session before it expires.

Operation ID
endProgramImport
Permission
write

Parameters

NameInTypeDetails
sessionIdRequiredpathstring

Responses

  • 200 Session ended (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Exercise Library

Exercise Library Writes

Exercise writes follow the caller's Atlas role, and library picks the library: atlas or club. It defaults to atlas for the platform Super Admin and to club for everyone else. The Super Admin writes the shared Atlas library unless a write sends library=club, which writes the token's club library under their role there; without it, a club-scoped Super Admin token gets 403 for a name that club already has. library=atlas is refused for anyone else. An Atlas exercise needs a YouTube video link; a club exercise may leave it out. A club admin token with write writes that club's library. An assistant coach can add exercises and update only the ones they added, and gets 403 for deleting a club exercise or changing someone else's. Clubs see the Atlas library by default; a club admin can hide it from that club's reads with PUT /exercise-library/settings, which needs admin.

Squat, Plyo, and Isometric are retired Primaries. A create, replace, or patch that sets one returns VALIDATION_ERROR: use Back Squat or Front Squat for squats and Accessory for the others. A write may keep a retired Primary the exercise already holds, so squats whose name does not say which squat they are can still be edited until a coach picks one.

GET /exercises

Browse or search the Atlas and club exercise libraries visible to this token

canUpdate and canDelete describe a write that sends no library parameter. The platform admin's club-less token sees only the Atlas library.

Operation ID
listExercises
Permission
read

Parameters

NameInTypeDetails
searchquerystring
limitqueryinteger
cursorquerystring

Responses

  • 200 Exercises (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /exercises

Add an exercise to the Atlas library or the token's club library

library picks the library: the Atlas administrator writes the Atlas library unless library is club, and a club admin or assistant writes that club's library. The platform admin's club-less token writes only the Atlas library. An Atlas exercise needs a YouTube video URL; a club exercise may leave link out.

Operation ID
addExercise
Permission
write

Parameters

NameInTypeDetails
libraryquery"atlas" | "club"The library to write: atlas or club. Defaults to atlas for the Atlas administrator and to club for everyone else. club needs a club token whose holder is that club's admin or assistant, and a club-less token answers 403 for it; atlas needs the Atlas administrator, with a club token or the club-less one.

Request Body

Required, JSON

Responses

  • 201 Exercise added (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /exercises/{name}

Get an exercise from the Atlas or club library visible to this token

canUpdate and canDelete describe a write that sends no library parameter.

Operation ID
getExerciseByName
Permission
read

Parameters

NameInTypeDetails
nameRequiredpathstring

Responses

  • 200 Exercise (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Exercise not found
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /exercises/{name}

Update an exercise in the Atlas library or the token's club library

library picks the library, as for addExercise. A club admin updates any club exercise; an assistant updates only exercises they added.

Operation ID
updateExercise
Permission
write

Parameters

NameInTypeDetails
nameRequiredpathstring
libraryquery"atlas" | "club"The library to write: atlas or club. Defaults to atlas for the Atlas administrator and to club for everyone else. club needs a club token whose holder is that club's admin or assistant, and a club-less token answers 403 for it; atlas needs the Atlas administrator, with a club token or the club-less one.

Request Body

Required, JSON

Responses

  • 200 Exercise updated (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /exercises/{name}

Delete an exercise from the Atlas library or the token's club library

library picks the library, as for addExercise. Only a club admin deletes club exercises.

Operation ID
deleteExercise
Permission
write

Parameters

NameInTypeDetails
nameRequiredpathstring
libraryquery"atlas" | "club"The library to write: atlas or club. Defaults to atlas for the Atlas administrator and to club for everyone else. club needs a club token whose holder is that club's admin or assistant, and a club-less token answers 403 for it; atlas needs the Atlas administrator, with a club token or the club-less one.

Responses

  • 200 Exercise deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /exercises/{name}/rename

Rename one of the club's exercises everywhere it is used

As Rename does in the console's exercise library: the exercise keeps its details, and Atlas then renames it in the club's templates, programs, PRs and analytics boards in the background, answering renaming: true until that finishes; a second rename waits for the first (409). library picks the library, as for addExercise; only a club's own exercises can be renamed, never Atlas ones (403). A club admin renames any club exercise; an assistant coach only exercises they added. A name another exercise uses, or one that would join another record lift, answers 409.

Operation ID
renameExercise
Permission
write

Parameters

NameInTypeDetails
nameRequiredpathstring
libraryquery"atlas" | "club"The library to write: atlas or club. Defaults to atlas for the Atlas administrator and to club for everyone else. club needs a club token whose holder is that club's admin or assistant, and a club-less token answers 403 for it; atlas needs the Atlas administrator, with a club token or the club-less one.

Request Body

Required, JSON

object

FieldTypeDetails
newNameRequiredstringmin length 1

Responses

  • 200 Exercise renamed, or renaming (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /exercise-library/settings

Show whether the club sees the Atlas exercise library

Needs a token issued for a club.

Operation ID
getExerciseLibrarySettings
Permission
read

Responses

  • 200 Library settings (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /exercise-library/settings

Show or hide the Atlas exercise library for the club

Only the club owner may. Needs a token issued for a club.

Operation ID
updateExerciseLibrarySettings
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
atlasLibraryEnabledRequiredboolean

Responses

  • 200 Library settings (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Club PRs

GET /club-lifts

List the club's lifts

Any coach of the club. Lists the lifts the club tracks PRs for beyond its sports' record lifts, by name. Archived lifts are left out unless includeArchived is true.

Operation ID
listClubLifts
Permission
read

Parameters

NameInTypeDetails
sportquery"weightlifting" | "powerlifting" | "general_fitness"
includeArchivedqueryboolean

Responses

  • 200 Club lifts (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /club-lifts

Track a club lift

Club Admins only, with a token issued for the club. The exercise comes from the club's own exercises or the Atlas library, by name: any of them, in any sport, except a record lift that sport already tracks (Bench Press can be an Olympic weightlifting club lift, Front Squat a general fitness one). An athlete who trains a sport with that record lift built in keeps the record lift, listed once. Each exercise is a club lift once per sport (an archived one is restored instead), and a sport holds at most 20 active lifts and 100 in all.

Operation ID
createClubLift
Permission
write

Request Body

Required, JSON

object

FieldTypeDetails
exerciseNameRequiredstringmin length 1, max length 120
sportRequired"weightlifting" | "powerlifting" | "general_fitness"The athletes who track it: athletes of this sport in the club
topRepMaxRequiredintegerThe heaviest rep max the lift stores: athletes keep its 1RM up to this RM, from 1 to 10. A reps lift keeps one PR, its max bodyweight reps, so it takes 1 only.minimum 1, maximum 10
ratioobjectAn ideal range for the club lift's 1RM as a percentage of one record lift's 1RM, shown as a ratio card on the athlete's PRs. Only a lift measured in weight takes one.
FieldTypeDetails
liftRequired"snatch" | "clean" | "jerk" | "clean_jerk" | "power_snatch" | "power_clean" | "push_press" | "snatch_balance" | "overhead_squat" | "back_squat" | "front_squat" | "bench_press" | "deadlift"A record lift the club lift's sport tracks
minPercentRequirednumberAt most one decimalminimum 1, maximum 200
maxPercentRequirednumberAt most one decimal, above minPercentminimum 1, maximum 200
measure"weight" | "height" | "distance" | "time" | "velocity" | "power" | "calories" | "reps"What the lift's rep maxes record. weight follows each viewer's kg or lb; PRs of any other measure are stored in its unit (weight in kg, height in cm, distance in m, time in s, velocity in m/s, power in W, calories in cal, reps in reps). reps is a bodyweight movement such as a pull-up: its one PR is the most reps with no added load, a whole number, and a logged set with added weight counts as estimated reps only when the athlete's estimated PRs are on and their weight class reads as a bodyweight. A lift starts as weight when none is sent, and its measure changes only while it has no PRs. An exercise another sport already tracks as a club lift keeps that lift's measure and time direction, so send its measure: a create that leaves measure out is refused while that lift is not measured in weight.
unit"in" | "cm" | "m" | "yd" | "mi" | "km"The unit the lift shows its values in, one its measure offers (height: in, cm; distance: m, yd, mi, km, in, cm); the first is the default. Other measures take none.
timeDirection"faster" | "longer"Time lifts only: faster keeps the lowest time as the PR, longer the highest. A time lift without one is faster. It changes only while the lift has no PRs.

Responses

  • 201 Club lift created (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /club-lifts/{clubLiftId}

Change a club lift's top rep max, ratio or measure

Club Admins only, with a token issued for the club. A lower top rep max keeps the PRs already stored above it. ratio null removes the ratio card. A new measure or time direction is refused once the lift has a PR (measureLocked). A new measure or time direction carries to the exercise's club lifts in other sports, and a measure other than weight is refused while any of them keeps a ratio. A unit or time direction the measure does not take, and a ratio on a lift not measured in weight, are refused too, each with a 400.

Operation ID
updateClubLift
Permission
write

Parameters

NameInTypeDetails
clubLiftIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
topRepMaxintegerThe heaviest rep max the lift stores: athletes keep its 1RM up to this RM, from 1 to 10. A reps lift keeps one PR, its max bodyweight reps, so it takes 1 only.minimum 1, maximum 10
ratioobject | null
measure"weight" | "height" | "distance" | "time" | "velocity" | "power" | "calories" | "reps"What the lift's rep maxes record. weight follows each viewer's kg or lb; PRs of any other measure are stored in its unit (weight in kg, height in cm, distance in m, time in s, velocity in m/s, power in W, calories in cal, reps in reps). reps is a bodyweight movement such as a pull-up: its one PR is the most reps with no added load, a whole number, and a logged set with added weight counts as estimated reps only when the athlete's estimated PRs are on and their weight class reads as a bodyweight. A lift starts as weight when none is sent, and its measure changes only while it has no PRs.
unit"in" | "cm" | "m" | "yd" | "mi" | "km"The unit the lift shows its values in, one its measure offers (height: in, cm; distance: m, yd, mi, km, in, cm); the first is the default. Other measures take none.
timeDirection"faster" | "longer"Time lifts only: faster keeps the lowest time as the PR, longer the highest. A time lift without one is faster. It changes only while the lift has no PRs.

Responses

  • 200 Club lift saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /club-lifts/{clubLiftId}/archive

Archive a club lift

Club Admins only, with a token issued for the club. The lift leaves pickers and PR lists and PR writes refuse it; stored PRs, their history and percentages already reading it stay.

Operation ID
archiveClubLift
Permission
write

Parameters

NameInTypeDetails
clubLiftIdRequiredpathstring

Responses

  • 200 Club lift archived (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /club-lifts/{clubLiftId}/restore

Restore an archived club lift

Club Admins only, with a token issued for the club. A restored lift counts against the 20 active lifts of its sport.

Operation ID
restoreClubLift
Permission
write

Parameters

NameInTypeDetails
clubLiftIdRequiredpathstring

Responses

  • 200 Club lift restored (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /record-lifts/removed

List the built-in record lifts the club removed

Any coach of the club. Lists the built-in record lifts the club removed, per sport, in sport and lift order. Every other record lift of a sport is tracked.

Operation ID
listRemovedRecordLifts
Permission
read

Parameters

NameInTypeDetails
sportquery"weightlifting" | "powerlifting" | "general_fitness"

Responses

  • 200 Removed record lifts (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /record-lifts/{sport}/{lift}/remove

Remove a built-in record lift for one sport

Club Admins only, with a token issued for the club. Hides the lift for the club's athletes of that sport only; other sports keep it. Competition lifts cannot be removed (weightlifting: Snatch, Clean & Jerk, Clean, Jerk; powerlifting: Back Squat, Bench Press, Deadlift), and a lift the sport does not track is refused. Removing a removed lift answers it unchanged.

Operation ID
removeRecordLift
Permission
write

Parameters

NameInTypeDetails
sportRequiredpath"weightlifting" | "powerlifting" | "general_fitness"
liftRequiredpath"snatch" | "clean" | "jerk" | "clean_jerk" | "power_snatch" | "power_clean" | "push_press" | "snatch_balance" | "overhead_squat" | "back_squat" | "front_squat" | "bench_press" | "deadlift"

Responses

  • 200 Record lift removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /record-lifts/{sport}/{lift}/restore

Restore a removed record lift

Club Admins only, with a token issued for the club. The lift returns to the sport's PR tables and pickers with the PRs athletes already stored.

Operation ID
restoreRecordLift
Permission
write

Parameters

NameInTypeDetails
sportRequiredpath"weightlifting" | "powerlifting" | "general_fitness"
liftRequiredpath"snatch" | "clean" | "jerk" | "clean_jerk" | "power_snatch" | "power_clean" | "push_press" | "snatch_balance" | "overhead_squat" | "back_squat" | "front_squat" | "bench_press" | "deadlift"

Responses

  • 200 Record lift restored (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Questionnaires

Questionnaire Rules

  • GET /questionnaires lists the Atlas questionnaires every club sees first, read-only and marked isBuiltIn: the post-meet questionnaire (atlas_post_meet) and the pre- and post-workout check-ins (atlas_pre_workout, atlas_post_workout), then the club's own. Each has a use: postMeet, preWorkout or postWorkout, set on create and never changed. Copy any of them into an editable club questionnaire with /duplicate.
  • A questionnaire holds 1 to 30 questions. The athlete answers every one except those marked optional, whose answer is null when skipped. A question is text (up to 4,000 characters), scale (a whole number from 1 to 5), yesNo, or choice with 2 to 10 distinct options and allowMultiple. A scale may carry minLabel and maxLabel. Names are at most 100 characters and unique in the club, ignoring case, and a club holds at most 200 questionnaires.
  • Any coach in the club may create or duplicate one; only its creator or a club admin may change or delete it. PATCH and DELETE take the revision from a read in an optional If-Match, and answer 412 when it is stale. Deleting needs program_delete.
  • A send keeps its own copy of the questions, so editing or deleting a questionnaire never changes what athletes already received. Deleting one that is the club default or an athlete's choice moves them to the Atlas questionnaire of the same use, so auto-send and check-ins stay on; /usage counts them first.

Pre- And Post-Workout Check-Ins

  • A check-in is chosen at three levels, and the most specific wins: the athlete's own (/athletes/{athleteName}/check-in-settings), then their assigned coach's (/questionnaires/check-in-settings/coach), then the club's (/questionnaires/check-in-settings), then the Atlas one. Each PUT takes { "use", "questionnaireId" }; at the coach and athlete levels null follows the level above. Only a club admin sets the club's or another coach's. A check-in cannot be sent by hand.
  • A pre-workout check-in carries readiness: five levels, lowest first, each with a label and a whole percent from -20 to 20, plus asked and adjustsPercents. A session's rating stays the level's key (Trash through Crushing It), and the session saves the percent it applied, so later edits never move past loads.
  • The Atlas questions carry a metric (sleep, energy, soreness, stress and goal before; movementQuality, focus, bodyFeel and cues after), which feeds Atlas's charts. A club copy may reword, reorder or drop them, but a tagged question keeps its answer type. To edit an Atlas check-in, create a club copy with its questions and putInUse; a club admin's copy goes into use at once.
  • Each check-in from GET …/session-check-ins stores the questions the athlete saw and their answers, in order, so a later edit never changes it. Check-ins saved before custom check-ins carry only the Atlas scores.

Post-Meet Questionnaires

Atlas sends one questionnaire per meet at 6 PM on the meet date, in the athlete's time zone. PUT /questionnaires/settings sets the club default, a questionnaire ID or null for Off; only a club admin may, and it starts Off. A meet whose evening passes while auto-send is off never sends.

GET /questionnaires

List Atlas questionnaires (read-only, isBuiltIn; atlas_post_meet, atlas_pre_workout and atlas_post_workout first), then the club's, each with its use

Operation ID
listQuestionnaires
Permission
read

Responses

  • 200 Questionnaires (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /questionnaires

Create a club questionnaire. Any coach in the club may.

Operation ID
createQuestionnaire
Permission
write

Request Body

Required, JSON

Responses

  • 201 Questionnaire created (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /questionnaires/settings

Get the club's post-meet questionnaire, sent at 6 PM on each meet date in the athlete's time zone, or null for Off

Operation ID
getQuestionnaireSettings
Permission
read

Responses

  • 200 Club post-meet setting (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /questionnaires/settings

Set the club's post-meet questionnaire, or null for Off. Only a club admin may.

Operation ID
setQuestionnaireSettings
Permission
write

Request Body

Required, JSON

Responses

  • 200 Club post-meet setting saved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /questionnaires/check-in-settings

Get the pre- and post-workout check-ins the club's athletes answer around each session; the Atlas ones until a club admin picks others

Operation ID
getCheckInSettings
Permission
read

Responses

  • 200 Club check-ins (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /questionnaires/check-in-settings

Set the club's pre- or post-workout check-in. Only a club admin may. Check-ins already answered keep their own questions.

Operation ID
setCheckInSettings
Permission
write

Request Body

Required, JSON

Responses

  • 200 Club check-ins saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /questionnaires/check-in-settings/coach

Get the check-ins a coach chose for their assigned athletes (null follows the club), and the club's

Operation ID
getCoachCheckInSettings
Permission
read

Parameters

NameInTypeDetails
coachUserIdquerystringYourself by default; only a club admin may read another coach's

Responses

  • 200 Coach check-ins (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /questionnaires/check-in-settings/coach

Choose the pre- or post-workout check-in for a coach's assigned athletes, or null to follow the club. An athlete's own choice still wins.

Operation ID
setCoachCheckInSettings
Permission
write

Request Body

Required, JSON

Responses

  • 200 Coach check-ins saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /questionnaires/sends/{sendId}

Get one questionnaire sent to an athlete, with its copy of the questions and any answers

Operation ID
getQuestionnaireSend
Permission
read

Parameters

NameInTypeDetails
sendIdRequiredpathstring

Responses

  • 200 Questionnaire send (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /questionnaires/sends/{sendId}/cancel

Cancel an unanswered questionnaire; it disappears from the athlete's app

Operation ID
cancelQuestionnaireSend
Permission
write

Parameters

NameInTypeDetails
sendIdRequiredpathstring

Responses

  • 200 Questionnaire cancelled (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /questionnaires/{questionnaireId}

Get a questionnaire and its questions

Operation ID
getQuestionnaire
Permission
read

Parameters

NameInTypeDetails
questionnaireIdRequiredpathstring

Responses

  • 200 Questionnaire (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /questionnaires/{questionnaireId}

Update a club questionnaire's name or questions. Only its creator or a club admin may. Questionnaires already sent keep their own copy.

Operation ID
updateQuestionnaire
Permission
write

Parameters

NameInTypeDetails
questionnaireIdRequiredpathstring
If-MatchheaderintegerRevision returned by GET /questionnaires/{questionnaireId}

Request Body

Required, JSON

Responses

  • 200 Questionnaire updated (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /questionnaires/{questionnaireId}

Delete a club questionnaire. Only its creator or a club admin may. A club default or athlete choice that named it moves to the Atlas questionnaire of the same use.

Operation ID
deleteQuestionnaire
Permission
program_delete

Parameters

NameInTypeDetails
questionnaireIdRequiredpathstring
If-MatchheaderintegerRevision returned by GET /questionnaires/{questionnaireId}

Responses

  • 200 Questionnaire deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /questionnaires/{questionnaireId}/duplicate

Copy a questionnaire, an Atlas one included, into an editable club questionnaire

Operation ID
duplicateQuestionnaire
Permission
write

Parameters

NameInTypeDetails
questionnaireIdRequiredpathstring

Responses

  • 201 Questionnaire copied (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /questionnaires/{questionnaireId}/usage

Whether a club questionnaire is the club default, and how many coaches and athletes chose it

Operation ID
getQuestionnaireUsage
Permission
read

Parameters

NameInTypeDetails
questionnaireIdRequiredpathstring

Responses

  • 200 Questionnaire usage (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /questionnaires/notifications

List the token owner's questionnaire notifications

One row per questionnaire an athlete submitted, unread rows first, each newest first, as Notifications lists them in the app and console. Only athletes the coach still coaches count. Filter by athleteId or sinceAt (milliseconds since the epoch); limit defaults to 20 and caps at 500. Needs a token issued for a club.

Operation ID
listQuestionnaireNotifications
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
athleteIdquerystring
sinceAtqueryinteger
unreadOnlyqueryboolean
limitqueryinteger

Responses

  • 200 Rows, whether more exist, and the unread count (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /questionnaires/notifications/read

Mark the token owner's unread questionnaire notifications read

Marks up to 200 unread rows a call, newest first, under the optional athleteId and sinceAt filters; remaining says how many are left, so call again until it is 0. The body is optional.

Operation ID
markAllQuestionnaireNotificationsRead
Permission
write

Request Body

Optional, JSON

object

FieldTypeDetails
athleteIdstring
sinceAtintegerminimum 0

Responses

  • 200 How many rows were marked, and how many unread remain (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /questionnaires/notifications/{notificationId}/read

Mark one questionnaire notification read

Operation ID
markQuestionnaireNotificationRead
Permission
write

Parameters

NameInTypeDetails
notificationIdRequiredpathstring

Responses

  • 200 Marked read (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /questionnaires/sends/{sendId}/read

Mark the token owner's notification for one submitted questionnaire read

What opening an athlete's answers does. marked is false when the token owner has no notification for this send.

Operation ID
markQuestionnaireResponseRead
Permission
write

Parameters

NameInTypeDetails
sendIdRequiredpathstring

Responses

  • 200 Whether a notification was marked (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Check-In Scheduling

GET /check-in-scheduling/settings

Show your check-in message, booking link and schedule

Operation ID
getCheckInSchedulingSettings
Permission
read

Responses

  • 200 Check-in scheduling settings (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /check-in-scheduling/settings

Change your check-in message, booking link or schedule

Turning frequency on from off starts the count now, so the first interval check-in goes out one full interval later.

Operation ID
updateCheckInSchedulingSettings
Permission
write

Request Body

Required, JSON

object

Each field left out keeps what is stored.

FieldTypeDetails
messagestringStored trimmed; blank is refused.max length 500
bookingLinkstring | nullAn https link. null clears it, which is refused while frequency is not off or afterMeet is true.max length 500
frequency"off" | "everyWeek" | "every2Weeks" | "every4Weeks" | "every8Weeks" | "every12Weeks"off, or how many weeks pass between check-ins. A message goes out on the first sendOn day once that long has passed since the athlete's last check-in, at 9 AM in the athlete's time zone.
sendOn"sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"
afterMeetboolean

Responses

  • 200 The settings after the update (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Club Documents

Who Reaches Club Documents

  • The rules are the console's. Club Admins create, edit, publish, archive and require forms, set a group program's forms, manage the club library and welcome emails, read compliance and former athletes, and void. Every coach lists the forms and reads their published versions. An athlete's documents are for their Club Admins and assigned coach only; no other assistant coach, guardian or the platform administrator reaches them, and a token issued for no club is refused.
  • Reads take read and changes write. Voiding a signing and deleting a file take athlete_data_delete, since they remove the club's legal records. The API never signs a form: athletes sign in the app.

Uploads And Downloads

  1. POST /documents/uploads names the purpose (formPdf, paperCopy or file), the athlete and form it is for, and the file's name, type and exact size: PDF, JPEG or PNG, up to 25 MB.
  2. POST the bytes to the uploadUrl it answers, with the same token (it needs write), the same Content-Type and the exact Content-Length, within an hour.
  3. Finalize with …/form-pdf, …/paper-copy (with the signedOn date) or …/file. atlas upload-document does the first two steps from a file on disk.

Download routes answer the file itself, never JSON: use --output with the CLI. atlas export-documents --output club.zip builds the console's Compliance Export: a folder per athlete with each current signed PDF and paper copy, and index.csv.

Welcome Emails

roster addresses the roster's email and a group program's id that group's. PATCH keeps the fields it leaves out. A test goes to the address the token owner's club membership holds, 10 an hour.

GET /documents/notifications

List the token owner's document notifications

One row per document event on an athlete the coach still coaches (Forms Signed when they finish their packet, Training Locked when an unsigned form locks their Training), unread rows first, each newest first, as Notifications lists them in the app and console. Filter by athleteId or sinceAt (milliseconds since the epoch); limit defaults to 20 and caps at 500. Needs a token issued for a club.

Operation ID
listDocumentNotifications
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
athleteIdquerystring
sinceAtqueryinteger
unreadOnlyqueryboolean
limitqueryinteger

Responses

  • 200 Rows, whether more exist, and the unread count (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/notifications/read

Mark the token owner's unread document notifications read

Marks up to 200 unread rows a call, newest first, under the optional athleteId and sinceAt filters; remaining says how many are left, so call again until it is 0. The body is optional.

Operation ID
markAllDocumentNotificationsRead
Permission
write

Request Body

Optional, JSON

object

FieldTypeDetails
athleteIdstring
sinceAtintegerminimum 0

Responses

  • 200 How many rows were marked, and how many unread remain (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/notifications/{notificationId}/read

Mark one document notification read

Operation ID
markDocumentNotificationRead
Permission
write

Parameters

NameInTypeDetails
notificationIdRequiredpathstringA row from `GET /documents/notifications`.

Responses

  • 200 Marked read (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /documents/notifications/{notificationId}/read

Mark one document notification unread

Operation ID
markDocumentNotificationUnread
Permission
write

Parameters

NameInTypeDetails
notificationIdRequiredpathstringA row from `GET /documents/notifications`.

Responses

  • 200 Marked unread (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/compliance/reminder

Read when Remind All works again and how the last run went

What the compliance grid's Remind All button shows: nextRemindAllAt is when the 60-minute wait after the last run ends, or null when it works now; lastRun is the club's most recent Remind All, running or done, with how many athletes it reminded so far. Club Admins only.

Operation ID
getRemindAllState
Permission
read

Responses

  • 200 The club's Remind All state (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/forms

List the club's forms with their signed counts

Every coach of the club lists the forms, active ones first. At most 50 forms per club, archived ones included.

Operation ID
listClubForms
Permission
read

Responses

  • 200 The club's forms (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/forms

Create a form as a draft

Club Admins only. The form starts as an unpublished draft written in Atlas; upload a PDF to make it a PDF form (POST /documents/uploads with purpose formPdf). Names are unique per club, ignoring case.

Operation ID
createClubForm
Permission
write

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringmax length 100
bodystringThe form's text, blank lines between paragraphs.max length 50000
fieldsarray of ClubFormFieldmax items 30
renewalClubFormRenewal

Responses

  • 201 Form created (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/forms/{formId}

Get a form, its published version and, for a Club Admin, its draft

Operation ID
getClubForm
Permission
read

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Responses

  • 200 The form (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /documents/forms/{formId}

Delete a form that was never published

Club Admins only. A published form cannot be deleted; archive it instead (400).

Operation ID
deleteClubForm
Permission
write

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Responses

  • 200 Form deleted (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /documents/forms/{formId}/draft

Save a form's name and unpublished draft

Club Admins only, on an active form. Replaces the draft's text (or keeps its PDF with source kind pdf) and fields; the published version and every signing keep theirs until the next publish.

Operation ID
updateClubFormDraft
Permission
write

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringmax length 100
sourceRequiredobject | object
fieldsarray of ClubFormFieldOmitted means none.max items 30

Responses

  • 200 Draft saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /documents/forms/{formId}/draft

Discard a published form's unpublished edits

Club Admins only. A form never published keeps its draft (400); delete the form instead.

Operation ID
discardClubFormDraft
Permission
write

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Responses

  • 200 Draft discarded (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/forms/{formId}/draft/pdf

Download the PDF a form's draft holds

Club Admins only. The body is the file itself (`Content-Disposition: attachment`, `Cache-Control: private, no-store`), never JSON; `atlas download-club-form-draft-pdf --output <path>` writes it to a file. A missing, malformed or forbidden id answers 404 alike.

Operation ID
downloadClubFormDraftPdf
Permission
read

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Responses

  • 200 The file (string) as application/pdf
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/forms/{formId}/publish

Publish a form's draft as its next version

Club Admins only. With requiresResign, everyone who signed an older version must sign this one; existing athletes get seven days. The first version never asks.

Operation ID
publishClubForm
Permission
write

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Request Body

Optional, JSON

object

FieldTypeDetails
requiresResignbooleandefault false

Responses

  • 201 Version published (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/forms/{formId}/archive

Archive a form

Club Admins only. Nobody can sign it, it leaves the roster packet and every group packet, and its versions and signings stay in history.

Operation ID
archiveClubForm
Permission
write

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Responses

  • 200 Form archived (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/forms/{formId}/restore

Restore an archived form

Club Admins only. It is not required again until a Club Admin turns Required for Roster on or adds it to a group.

Operation ID
restoreClubForm
Permission
write

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Responses

  • 200 Form restored (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /documents/forms/{formId}/renewal

Set when a form's signings expire

Club Admins only. Signings already made keep the expiry they were given.

Operation ID
setClubFormRenewal
Permission
write

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Request Body

Required, JSON

object

FieldTypeDetails
renewalRequiredClubFormRenewal

Responses

  • 200 Renewal saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /documents/forms/{formId}/required-for-roster

Turn Required for Roster on or off for a published form

Club Admins only. Turning it on gives roster athletes already in the club seven days to sign; an athlete who joins later must sign at once, and an unsigned required form locks Training. Group program members follow their group's forms instead.

Operation ID
setClubFormRequiredForRoster
Permission
write

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Request Body

Required, JSON

object

FieldTypeDetails
requiredRequiredboolean

Responses

  • 200 Saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/forms/{formId}/versions

List a form's published versions, newest first

Club Admins only. At most 100; hasMore is true when there are older ones.

Operation ID
listClubFormVersions
Permission
read

Parameters

NameInTypeDetails
formIdRequiredpathstringThe club form, from `GET /documents/forms`.

Responses

  • 200 The versions (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/versions/{versionId}

Get one published version of a form, with its text and fields

Operation ID
getClubFormVersion
Permission
read

Parameters

NameInTypeDetails
versionIdRequiredpathstringA published form version, from `GET /documents/forms/{formId}/versions`.

Responses

  • 200 The version (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/versions/{versionId}/pdf

Download a published PDF form's own pages

Every coach of the club. A form written in Atlas has no PDF of its own (404); its signed PDFs print the text. The body is the file itself (`Content-Disposition: attachment`, `Cache-Control: private, no-store`), never JSON; `atlas download-club-form-version-pdf --output <path>` writes it to a file. A missing, malformed or forbidden id answers 404 alike.

Operation ID
downloadClubFormVersionPdf
Permission
read

Parameters

NameInTypeDetails
versionIdRequiredpathstringA published form version, from `GET /documents/forms/{formId}/versions`.

Responses

  • 200 The file (string) as application/pdf
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/submissions/{submissionId}/pdf

Download a signed form's PDF or a paper copy's scan

For the athlete's Club Admins and assigned coach; a former athlete's for Club Admins only. 409 while a signed PDF is still being built, or after its build failed. The body is the file itself (`Content-Disposition: attachment`, `Cache-Control: private, no-store`), never JSON; `atlas download-club-form-submission-pdf --output <path>` writes it to a file. A missing, malformed or forbidden id answers 404 alike.

Operation ID
downloadClubFormSubmissionPdf
Permission
read

Parameters

NameInTypeDetails
submissionIdRequiredpathstringA signing or paper copy, from an athlete's documents.

Responses

  • 200 The file (string) as application/pdf
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/submissions/{submissionId}/void

Void a signing or paper copy

Club Admins only. It stays in history marked Voided with the reason and who voided it. If it was current, the form is due again with seven days' grace. Audit-logged.

Operation ID
voidClubFormSubmission
Permission
athlete_data_delete

Parameters

NameInTypeDetails
submissionIdRequiredpathstringA signing or paper copy, from an athlete's documents.

Request Body

Required, JSON

object

FieldTypeDetails
reasonRequiredstringmin length 1, max length 500

Responses

  • 200 Voided (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/uploads

Authorize one document upload

Names what the upload is for: formPdf (a form's PDF, Club Admins only; name formId), paperCopy (a form signed on paper; name athleteId and formId, Club Admins or the assigned coach), or file (an athlete's file with athleteId, or a club library file without, Club Admins only). PDF, JPEG or PNG (convert HEIC first), 1 byte to 25 MB, at most 20 in flight per coach. Then POST the bytes to uploadUrl with the same token (write permission), Content-Type and exact Content-Length within an hour, and finalize with the route for its purpose. `atlas upload-document --file <path>` does the first two steps.

Operation ID
authorizeDocumentUpload
Permission
write

Request Body

Required, JSON

object

FieldTypeDetails
purposeRequired"formPdf" | "paperCopy" | "file"
athleteIdstring
formIdstring
fileNameRequiredstringmax length 200
mimeTypeRequired"application/pdf" | "image/jpeg" | "image/png"
byteSizeRequiredintegerminimum 1, maximum 26214400

Responses

  • 201 Upload authorized (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/uploads/{uploadId}/form-pdf

Make an uploaded PDF its form's draft

Counts the pages (at most 60) and refuses an unreadable or password-protected PDF, deleting its bytes so you can upload again. The draft keeps its fields.

Operation ID
finalizeFormPdfUpload
Permission
write

Parameters

NameInTypeDetails
uploadIdRequiredpathstringThe upload authorized by `POST /documents/uploads`, after its bytes were sent to `uploadUrl`.

Responses

  • 200 PDF attached (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/uploads/{uploadId}/paper-copy

Record an uploaded paper copy of a signed form

It satisfies the form's current version, shows as a paper copy uploaded by the token's coach, and is audit-logged. A photo becomes a one-page US Letter PDF.

Operation ID
finalizePaperCopyUpload
Permission
write

Parameters

NameInTypeDetails
uploadIdRequiredpathstringThe upload authorized by `POST /documents/uploads`, after its bytes were sent to `uploadUrl`.

Request Body

Required, JSON

object

FieldTypeDetails
signedOnRequiredstringThe date it was signed on paper, no later than today where the athlete is.format date

Responses

  • 201 Paper copy recorded (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/uploads/{uploadId}/file

Save an uploaded file to the club library or the athlete it was authorized for

At most 1,000 library files per club and 100 files per athlete.

Operation ID
finalizeDocumentFileUpload
Permission
write

Parameters

NameInTypeDetails
uploadIdRequiredpathstringThe upload authorized by `POST /documents/uploads`, after its bytes were sent to `uploadUrl`.

Request Body

Optional, JSON

object

FieldTypeDetails
namestringDefaults to the uploaded file name.max length 200
folderstring | nullLibrary files only.max length 60
expiresOnstring | nullformat date

Responses

  • 201 The file (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/files

List the club library's files

Club Admins only. Athletes' files are in GET /athletes/by-id/{athleteId}/documents.

Operation ID
listClubLibraryFiles
Permission
read

Responses

  • 200 The library (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /documents/files/{fileId}

Rename a file, move a library file between folders, or set its expiry

A library file for Club Admins; an athlete's file for Club Admins and the assigned coach while the athlete is active. Fields left out keep their value; null clears a folder or expiry.

Operation ID
updateDocumentFile
Permission
write

Parameters

NameInTypeDetails
fileIdRequiredpathstringA club library or athlete file.

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
namestringmax length 200
folderstring | nullmax length 60
expiresOnstring | nullformat date

Responses

  • 200 The file (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /documents/files/{fileId}

Delete a file and its stored bytes

The same people who may change it. Needs athlete_data_delete.

Operation ID
deleteDocumentFile
Permission
athlete_data_delete

Parameters

NameInTypeDetails
fileIdRequiredpathstringA club library or athlete file.

Responses

  • 200 File deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/files/{fileId}/content

Download a club library file or an athlete's file

A library file for Club Admins; an athlete's file for Club Admins and the assigned coach; a former athlete's for Club Admins. The body is the file itself (`Content-Disposition: attachment`, `Cache-Control: private, no-store`), never JSON; `atlas download-document-file --output <path>` writes it to a file. A missing, malformed or forbidden id answers 404 alike.

Operation ID
downloadDocumentFile
Permission
read

Parameters

NameInTypeDetails
fileIdRequiredpathstringA club library or athlete file.

Responses

  • 200 The file (string) as application/pdf or image/jpeg or image/png
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/compliance

List the club's active athletes against their required forms, a page at a time

Club Admins only. Group program rows and coaches' own training profiles are skipped, so a page may hold fewer rows than asked; follow continueCursor until isDone. `atlas export-documents --output <dir>` builds the compliance ZIP and index.csv from these pages.

Operation ID
listDocumentCompliance
Permission
read

Parameters

NameInTypeDetails
cursorquerystringcontinueCursor from the previous page
limitqueryintegerRows to read, at most 50 (the default)

Responses

  • 200 A page of athletes (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/compliance/remind

Remind every athlete with forms to sign, as the compliance grid shows them

Remind All: Club Admins only, at most once every 60 minutes per club (429 until then). Reminds each active athlete the filter and name search select who has forms to sign, by email and push, a page at a time in the background; an athlete reminded in the last day, one not yet joined, one who has not entered their birthdate, and a child under 13 waiting for consent are left out.

Operation ID
remindAllToSignForms
Permission
write

Request Body

Optional, JSON

object

FieldTypeDetails
filter"all" | "missing" | "expiring" | "locked"The grid's filter: everyone, Missing, Expiring in 30 Days, or Locked.default all
searchstringOnly athletes whose name holds every word.max length 200, default

Responses

  • 202 Remind All started; it runs in the background (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 Reminded too recently (RATE_LIMITED); the message says when it works again (Error)

GET /documents/former-athletes/submissions

List the signed forms of athletes whose profile was deleted

Club Admins only, most recently deleted first. Download each with GET /documents/submissions/{submissionId}/pdf.

Operation ID
listFormerAthleteSubmissions
Permission
read

Parameters

NameInTypeDetails
cursorquerystringcontinueCursor from the previous page
limitqueryintegerRows to read, at most 100 (the default)

Responses

  • 200 A page of signings and paper copies (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/former-athletes/files

List the files of athletes whose profile was deleted

Club Admins only, most recently deleted first. Download each with GET /documents/files/{fileId}/content.

Operation ID
listFormerAthleteFiles
Permission
read

Parameters

NameInTypeDetails
cursorquerystringcontinueCursor from the previous page
limitqueryintegerRows to read, at most 100 (the default)

Responses

  • 200 A page of files (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/welcome-emails

List the roster's welcome email and every running group program's

Club Admins only.

Operation ID
listWelcomeEmails
Permission
read

Responses

  • 200 The emails (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /documents/welcome-emails/{audience}

Get one welcome email with what it is sent from and to

Club Admins only.

Operation ID
getWelcomeEmail
Permission
read

Parameters

NameInTypeDetails
audienceRequiredpathstringroster for the roster's email, or a group program's id

Responses

  • 200 The email (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /documents/welcome-emails/{audience}

Change a welcome email

Club Admins only. Fields left out keep their value; an email not yet written needs subject and body, and starts switched off unless enabled is sent. It goes to each athlete once, when they join.

Operation ID
updateWelcomeEmail
Permission
write

Parameters

NameInTypeDetails
audienceRequiredpathstringroster for the roster's email, or a group program's id

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
enabledboolean
subjectstringOne line.min length 1, max length 200
bodystringPlain text, blank lines between paragraphs. {athlete_first_name}, {athlete_name}, {coach_name} and {club_name} fill in.min length 1, max length 20000
attachmentFileIdsarray of stringClub library files (fileIds from listClubLibraryFiles), 20 MB together, sent as links.max items 5

Responses

  • 200 The email after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /documents/welcome-emails/{audience}/test

Send a test of a welcome email to the token owner

Club Admins only. Sends the saved email, with any fields given here in place of the saved ones, to the address the token owner's club membership holds (stored from their verified email when they joined the club), filled with sample values. At most 10 an hour per coach.

Operation ID
sendTestWelcomeEmail
Permission
write

Parameters

NameInTypeDetails
audienceRequiredpathstringroster for the roster's email, or a group program's id

Request Body

Optional, JSON

object

FieldTypeDetails
subjectstringOne line.min length 1, max length 200
bodystringPlain text, blank lines between paragraphs. {athlete_first_name}, {athlete_name}, {coach_name} and {club_name} fill in.min length 1, max length 20000
attachmentFileIdsarray of stringClub library files (fileIds from listClubLibraryFiles), 20 MB together, sent as links.max items 5

Responses

  • 200 Test sent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 Ten tests in the last hour already (RATE_LIMITED)

Output Sports

Linking Output Sports

A club connects its own Output Sports account in the coach console or with PUT /club/output-account, which needs admin. GET /output/athletes lists the athletes that account sees; link one to an Atlas athlete by sending its ID as outputAthleteId in PATCH /athletes/by-id/{athleteId}, or null to unlink. Without a working connection the list answers 409.

GET /output/athletes

List the Output Sports athletes the club's own Output account can see

Use these IDs as outputAthleteId when updating an athlete profile. Answers 409 when the club has not connected an Output Sports account, or the account needs reconnecting; a coach connects it in the coach console.

Operation ID
listOutputAthletes
Permission
read

Responses

  • 200 Output Sports athletes, sorted by name (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Analytics And Activity

Session Activity

GET /session-activity returns sessions with work_logged or completed status, their loggedSetCount, and the stored exercises. A session becomes work_logged once it has a completed or missed set, even before the athlete finishes. Pass includePlanned=true to include untouched sessions. /completed-days returns finished workouts only.

Workout Start And Time Of Day

The app records when the athlete started the workout timer as sessionStartedAt (epoch milliseconds) and sessionStartUtcOffsetMinutes (minutes east of UTC, so UTC-5 is -300). /complete accepts the same pair; send both or neither.

Completed days and session activity return sessionTimeOfDay from the athlete's local start hour: morning is 04:00–11:59, afternoon 12:00–16:59, and evening 17:00–03:59. GET /analytics/time-of-day compares the buckets; sessions without a recorded start count in untimedSessions.

GET /dashboard

Get each athlete's current program summary

A row for each athlete on the token's roster (GET /athletes) who has a program: their running program on `today`, else the next to start, else the most recent. A group program's own blocks get no row; its members have theirs. A program with no athleteId is matched to a roster athlete by name. `today` defaults to the server's UTC date.

Operation ID
getCoachDashboard
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
todayquerystring

Responses

  • 200 Coach dashboard summary (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /schedule-summaries

Get each athlete's last scheduled date and days remaining

Operation ID
getScheduleSummaries
Permission
read

Parameters

NameInTypeDetails
todayRequiredquerystring

Responses

  • 200 Schedule summaries (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /analytics

Get weekly training analytics for the coach or one athlete

Weekly volume, reps, completion, intensity and ratings over range's window, as the console's analytics board charts them. startDate and endDate narrow it to a date range; programId to one program, bucketed by its program weeks.

Operation ID
getAnalytics
Permission
read

Parameters

NameInTypeDetails
rangeRequiredquery"1mo" | "3mo" | "6mo" | "1yr" | "All"
todayRequiredquerystring
startDatequerystringWith endDate, counts only sessions dated in this inclusive range instead of range's window
endDatequerystringGiven together with startDate
weekStartDayquery"sunday" | "monday"The day calendar weeks start on; defaults to monday
programIdquerystringCounts only this program, bucketed by its program weeks instead of calendar weeks
athleteNamequerystring
athleteIdquerystring

Responses

  • 200 Weekly analytics (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /analytics/chart-from-text

Build a custom analytics chart from a plain-language description

Reads a description such as "Make rate by sleep, last 12 weeks" with Atlas's built-in phrase parser (no AI model) and returns a custom chart item to evaluate with POST /athletes/{athleteName}/analytics/chart-data or add to a board with PUT /athletes/{athleteName}/analytics-layout. ok is false with a reason when the description names nothing Atlas can chart. Read-only; the description is at most 200 characters.

Operation ID
buildChartFromText
Permission
read

Request Body

Required, JSON

object

FieldTypeDetails
textRequiredstringmax length 200

Responses

  • 200 The chart item, or why none was built (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /analytics/time-of-day

Compare completed sessions by the part of the athlete's day they started in

Buckets use the athlete's local start time: morning is 04:00-11:59, afternoon 12:00-16:59, and evening 17:00-03:59. Each bucket reports session count, average session RPE (0-10), average day rating (1-5), average duration, and made and missed sets. Sessions with no recorded start are counted in untimedSessions.

Operation ID
getTimeOfDayAnalytics
Permission
read

Parameters

NameInTypeDetails
rangeRequiredquery"1mo" | "3mo" | "6mo" | "1yr" | "All"
todayRequiredquerystring
athleteNamequerystring
athleteIdquerystring

Responses

  • 200 Session performance by time of day (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /completed-days

List completed workout days

Operation ID
getCompletedDays
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
athleteNamequerystring
athleteIdquerystring
limitqueryinteger
timeOfDayquery"morning" | "afternoon" | "evening"

Responses

  • 200 Completed workout days (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /session-activity

List sessions with logged work or completion, with optional planned sessions

Operation ID
getSessionActivity
Permission
read

Parameters

NameInTypeDetails
athleteNamequerystring
athleteIdquerystring
limitqueryinteger
includePlannedqueryboolean

Responses

  • 200 Session activity with planned, work_logged, or completed status and loggedSetCount (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /dashboard/overview

Read the Dashboard's roster table: each athlete's program status, week, sessions, next due date, next meet and alerts

One row per athlete on the token owner's roster, as the console's Dashboard shows them: the current or next program, its status and current week, sessions completed and scheduled this week and today, when the next program is due, the next meet, and alerts (coverage when nothing is scheduled or the next program is due within 7 days, trash for a recent session rated Trash, below_average_streak for a run of sessions rated Below Average, high_effort for a recent session logged at high effort). today (YYYY-MM-DD) is the coach's local date and defaults to the server's UTC date; weekStartDay defaults to the coach's own week start. Needs a token issued for a club.

Operation ID
getCoachOverview
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
todayquerystring
weekStartDayquery"sunday" | "monday"

Responses

  • 200 Dashboard rows (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Coach Settings

GET /settings

Get the coach's settings in the token's club

Operation ID
getCoachSettings
Permission
read

Responses

  • 200 Coach settings (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /settings

Update the coach's settings in the token's club

Give at least one field; the others keep their values. Other clubs the coach coaches keep their own settings.

Operation ID
updateCoachSettings
Permission
write

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
showSelfAsAthleteboolean
weekStartDay"sunday" | "monday"
defaultReadinessPercentAdjustmentboolean
defaultEstimatedPersonalRecordsboolean
defaultAthletesCanAddExercisesboolean
defaultLockProgramEdits"clubDefault" | "on" | "off"
autoMarkA1Primerboolean
trackPrimerRepsboolean

Responses

  • 200 Updated coach settings (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /settings/lift-ratio-ranges

List the coach's custom lift ratio ranges

The ideal ranges the coach set for lift ratios, which the athlete hub's Lift Ratios compare against. A ratio left out uses Atlas's default range.

Operation ID
listLiftRatioRanges
Permission
read

Responses

  • 200 Custom ranges (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /settings/lift-ratio-ranges/{ratio}

Set the coach's ideal range for one lift ratio

Percentages of the ratio's base lift, from 1 to 200, with at most one decimal and minPercent at most maxPercent. Applies to every athlete the coach views.

Operation ID
setLiftRatioRange
Permission
write

Parameters

NameInTypeDetails
ratioRequiredpath"snatch_clean_jerk" | "clean_jerk_front_squat" | "clean_jerk_back_squat" | "front_squat_back_squat" | "snatch_back_squat" | "push_press_jerk" | "power_snatch_snatch" | "power_clean_clean" | "snatch_balance_snatch" | "overhead_squat_snatch"

Request Body

Required, JSON

object

FieldTypeDetails
minPercentRequirednumberminimum 1, maximum 200
maxPercentRequirednumberminimum 1, maximum 200

Responses

  • 200 The saved range (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /settings/lift-ratio-ranges/{ratio}

Return one lift ratio to Atlas's default range

Operation ID
resetLiftRatioRange
Permission
write

Parameters

NameInTypeDetails
ratioRequiredpath"snatch_clean_jerk" | "clean_jerk_front_squat" | "clean_jerk_back_squat" | "front_squat_back_squat" | "snatch_back_squat" | "push_press_jerk" | "power_snatch_snatch" | "power_clean_clean" | "snatch_balance_snatch" | "overhead_squat_snatch"

Responses

  • 200 Whether a custom range was removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /settings/notifications

Read the token owner's coach notification settings in the token's club

Comment, PR, programming and check-in emails and comment pushes, as Settings → Notifications shows them. Each belongs to the coach in one club. Messaging quiet hours are under /messages/settings. Needs a token issued for a club.

Operation ID
getNotificationSettings
Permission
read

Responses

  • 200 The settings (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /settings/notifications

Change the token owner's coach notification settings in the token's club

Name at least one setting; each changes only the fields it names, and the whole change is saved or none of it. The API has no signed-in session to read a verified email from, so turning an email on sends to the verified address the coach last turned a coach email on with in the console (this one or another in the club); with none on file it answers 409, and the coach turns one on in the console once. Needs a token issued for a club.

Operation ID
updateNotificationSettings
Permission
write

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
commentEmailAlertsobjectEmail when athletes comment on an exercise or workoutmin properties 1
FieldTypeDetails
enabledboolean
cadence"immediate" | "daily" | "weekly"
timeZonestringIANA time zone, such as America/New_Yorkmax length 100
commentPushAlertsobjectPush to the Atlas app when an athlete comments on an exercise or workout
FieldTypeDetails
enabledRequiredboolean
personalRecordAlertsobjectEmail when athletes set personal recordsmin properties 1
FieldTypeDetails
enabledboolean
cadence"immediate" | "daily" | "weekly"
timeZonestringIANA time zone, such as America/New_Yorkmax length 100
programmingDigestobjectEmail listing assigned athletes who need programmingmin properties 1
FieldTypeDetails
enabledboolean
cadence"daily" | "weekly"
timeZonestringIANA time zone, such as America/New_Yorkmax length 100
checkInEmailAlertsobjectAthletes Needing A Check-In email: Athletes who missed their last two programmed days or sent no lift videos from their last two sessions. Skipped when there are none.min properties 1
FieldTypeDetails
enabledboolean
cadence"daily" | "weekly"
timeZonestringIANA time zone, such as America/New_Yorkmax length 100

Responses

  • 200 The settings after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /settings/levels

List the settings levels the token owner may open in the token's club

The club, the coaches, Unassigned and the athletes and group programs the Settings picker offers, under the club roles: a Club Admin changes the club and sees every coach (another coach only as a filter, never their own settings), Unassigned and every athlete and group program; an assistant reads the club, changes their own settings and sees only the athletes and group programs assigned to them. Group program members are not listed: reach them through their group or the by-id athlete settings routes. Each list holds at most 500 rows, active ones oldest first and archived ones (archived true) newest first. Needs a token issued for a club.

Operation ID
getSettingsLevels
Permission
read

Responses

  • 200 The levels (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /settings/appearance

Read the token owner's coach console theme

The theme belongs to the account, not a club, so the website and desktop app show the same one; system until the coach picks one.

Operation ID
getAppearanceSettings
Permission
read

Responses

  • 200 The theme (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /settings/appearance

Change the token owner's coach console theme

Operation ID
updateAppearanceSettings
Permission
write

Request Body

Required, JSON

object

FieldTypeDetails
consoleThemeRequired"system" | "light" | "dark" | "blue" | "forest" | "plum" | "slate" | "ember"

Responses

  • 200 The saved theme (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /settings/profile

Read the token owner's coach name, weight units and profile photo

What Settings → Profile and Settings → Coaching show. The name is the one the token's club shows. Needs a token issued for a club.

Operation ID
getProfileSettings
Permission
read

Responses

  • 200 The profile (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /settings/profile

Change the token owner's coach name or weight units

Name at least one. name renames the coach in every club they coach, with their own training profile there, as saving the name in the console's Settings → Profile does; a club whose training history is too large to rename keeps the old name, and rename lists those clubs with a notice. A name another athlete in one of those clubs already uses answers 409 and renames nothing. weightUnit is the unit loads show in while coaching, in the console, Atlas Desktop and the app's coach mode; once set, it no longer follows trainingWeightUnit. trainingWeightUnit is the unit the coach's own training shows in the app. Both belong to the account, not a club. Needs a token issued for a club.

Operation ID
updateProfileSettings
Permission
write

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
namestringmin length 2, max length 100
weightUnit"kg" | "lb"
trainingWeightUnit"kg" | "lb"

Responses

  • 200 The profile after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /settings/profile/photo/uploads

Start uploading a new profile photo

Answers a one-use uploadUrl, good for 15 minutes. POST the photo's bytes to it with this token as Authorization: Bearer, Content-Type set to mimeType and Content-Length to byteSize; it answers 201 with { storageId }, which setProfilePhoto then makes the coach's photo, or setClubPhoto the club's. The photo must be image/jpeg, image/png, image/webp, at most 1048576 bytes, and its bytes must be the type it declares. A new upload replaces one not yet finished. Needs a token issued for a club, with the write permission for the upload too.

Operation ID
createProfilePhotoUpload
Permission
write

Request Body

Required, JSON

object

FieldTypeDetails
mimeTypeRequired"image/jpeg" | "image/png" | "image/webp"
byteSizeRequiredintegerminimum 1, maximum 1048576

Responses

  • 201 Where to upload the photo (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /settings/profile/photo

Make an uploaded photo the token owner's profile photo

storageId is what the upload URL from createProfilePhotoUpload answered. The photo replaces any earlier one, which is deleted, everywhere the coach's photo shows. An upload that expired or does not match what createProfilePhotoUpload was told answers 400. Needs a token issued for a club.

Operation ID
setProfilePhoto
Permission
write

Request Body

Required, JSON

object

FieldTypeDetails
storageIdRequiredstring

Responses

  • 200 The profile with its new photo (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /settings/profile/photo

Remove the token owner's profile photo

Deletes the photo, so the coach shows their initials, as Remove Photo does in the console. Removing when there is none changes nothing. Needs a token issued for a club.

Operation ID
removeProfilePhoto
Permission
write

Responses

  • 200 The profile without a photo (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Athlete Comments

Athlete Comment Rules

The comment routes act as the token's owner, with the same roster and access rules as the console's Comments page: an assistant sees only their assigned athletes' comments, and read marks belong to the coach who set them. They cover the token's club, whichever club the coach has selected in Atlas.

  • GET /comments lists athletes' own workout and exercise comments, newest first, with read for this coach, unreadCount, hasMore, and the athletes who commented. Filter with athleteId, sinceDate (YYYY-MM-DD), unreadOnly=true, and limit (up to 500). It needs read.
  • Each comment has a stable key such as programId:1:2:session or programId:1:2:exercise:3. Percent-encode it in a path. A malformed key returns 400; a key outside this coach's comments returns 404.
  • POST and DELETE /comments/{commentKey}/read mark one comment read or unread. Both need write; unmarking needs no delete permission. Editing a comment brings it back as unread.
  • POST /comments/read-all takes an optional { "athleteId", "sinceDate" }, marks up to 500 unread comments, and returns { "marked", "remaining" }. Repeat until remaining is 0. It needs write.
  • POST /comments/{commentKey}/replies takes { "text": "..." } and a required Idempotency-Key. It sends the athlete a direct message from the token owner quoting the comment, marks the comment read, and returns { "conversationId", "messageId" }; a retry with the same key returns the original reply. It needs messaging_write, a token bound to a club, and Messaging turned on, and the athlete must have joined Atlas.

GET /comments

List athlete comments on the token owner's roster, newest first

Comments on the token owner's own training profile are left out, as everywhere in Atlas: a coach is never notified of what they wrote as their own athlete. Marking one read or unread answers that it is unavailable, and a reply is refused as the owner's own comment.

Operation ID
listAthleteComments
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
athleteIdquerystring
sinceDatequerystringOnly sessions on or after this date
limitqueryinteger
unreadOnlyqueryboolean

Responses

  • 200 Comment feed with the token owner's read state (AthleteCommentFeedEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /comments/read-all

Mark one batch of unread athlete comments read

Marks up to 500 unread comments, newest first. Repeat while remaining is above zero.

Operation ID
markAllAthleteCommentsRead
Permission
write

Request Body

Optional, JSON

object

FieldTypeDetails
athleteIdstring
sinceDatestringformat date

Responses

  • 200 Comments marked and unread comments left (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /comments/{commentKey}/read

Mark one athlete comment read for the token owner

Operation ID
markAthleteCommentRead
Permission
write

Parameters

NameInTypeDetails
commentKeyRequiredpathstringA comment key from GET /comments, percent-encoded

Responses

  • 200 Comment marked read (CommentReadStateEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /comments/{commentKey}/read

Mark one athlete comment unread for the token owner

Operation ID
markAthleteCommentUnread
Permission
write

Parameters

NameInTypeDetails
commentKeyRequiredpathstringA comment key from GET /comments, percent-encoded

Responses

  • 200 Comment marked unread (CommentReadStateEnvelope)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /comments/{commentKey}/replies

Reply to an athlete comment with a direct message

Sends the athlete a direct message from the token owner that quotes the comment, then marks the comment read. To reply with a voice message, resolve the reply's conversation with POST /comments/{commentKey}/reply-conversation, upload the clip to it with createMessageAttachmentUpload and finalizeMessageAttachment, then send its attachment id here.

Operation ID
replyToAthleteComment
Permission
messaging_write

Parameters

NameInTypeDetails
commentKeyRequiredpathstringA comment key from GET /comments, percent-encoded
Idempotency-KeyRequiredheaderstringStable caller-generated key; retries with the same body return the original message; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

object

Send text, attachments, or both; at least one is required.

FieldTypeDetails
textstringmax length 8000
attachmentIdsarray of stringmax items 8

Responses

  • 201 Reply sent, or the original reply for a retry (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /comments/{commentKey}/reply-conversation

Find or start the conversation a reply to an athlete comment goes to

Runs the same checks as a reply and returns the conversation it would land in, starting it if needed, so an attachment such as a voice message can be uploaded before the reply is sent.

Operation ID
prepareAthleteCommentReply
Permission
messaging_write

Parameters

NameInTypeDetails
commentKeyRequiredpathstringA comment key from GET /comments, percent-encoded

Responses

  • 200 The reply's conversation (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Messaging

Messaging Rules

  • messaging_read lists the inbox and history; messaging_write creates conversations, sends or replies (including replies to athlete comments), marks read, mutes, archives, and restores.
  • Sending needs a stable Idempotency-Key; a retry returns the original message ID. Messages keep the token ID and Coach API attribution while the token owner stays the responsible sender.
  • To attach a photo, voice message, or file, create an upload, send the exact bytes with the same bearer token, then finalize it with its storageId. Videos use presigned uploads that are finalized after the PUT completes.
  • Archiving only files a conversation in the token owner's archive: it keeps its history, new messages count there without bringing it back, and only unarchiving returns it to the inbox. Delete For Me ends the owner's view of its history at once. Every read and delivery rechecks the coach's current club role and assignment.
  • GET /messages/conversations lists the token owner's own inbox. A Club Admin can open another coach's conversations with that coach's athletes, but they stay out of the admin's list, unread counts, and search, even after the admin replies. Read one by its conversationId; muting or archiving it is refused, because it has no place in the admin's inbox.

GET /messages/conversations

List messaging conversations in the token's club

Operation ID
listMessageConversations
Permission
messaging_read

Parameters

NameInTypeDetails
cursorquerystring
limitqueryinteger
archivedqueryboolean
typequery"group" | "direct"direct for one-to-one conversations, group for every other kind

Responses

  • 200 Paginated messaging inbox (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/conversations/{conversationId}

List messages in a conversation

Operation ID
listConversationMessages
Permission
messaging_read

Parameters

NameInTypeDetails
conversationIdRequiredpathstring
cursorquerystring
limitqueryinteger

Responses

  • 200 Paginated conversation messages (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/conversations/{conversationId}

Send a message or reply in a conversation

Operation ID
sendConversationMessage
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring
Idempotency-KeyRequiredheaderstringStable caller-generated key; retries with the same body return the original message; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

object

FieldTypeDetails
textstringmax length 8000
replyToMessageIdstring
attachmentIdsarray of stringmax items 8
scheduledFornumberFuture epoch milliseconds, at most 365 days
mentionsarray of stringmax items 20
trainingReferenceobject
FieldTypeDetails
kindRequired"exercise" | "workout" | "program" | "meet"
entityIdRequiredstring
labelRequiredstring
videoKind"source" | "review"source posts the athlete's workout video for review; review answers a source video with the coach's own clip
reviewOfMessageIdstringThe source video message a review answers; replyToMessageId stands in when left out
reviewOfAttachmentIdstringThe one clip of the source message a review answers
videoReviewobjectAsks a coach to review the attached video; only awaiting_review is accepted
FieldTypeDetails
statusRequired"awaiting_review" | "reviewed" | "needs_follow_up"
exerciseContextstringmax length 500
responsibleCoachUserIdRequiredstring
exerciseSnapshotobjectThe program exercise a source video shows; a coach may post one only for an athlete in the conversation
FieldTypeDetails
nameRequiredstring
athleteIdRequiredstring
programIdRequiredstring
weekNumberRequirednumber
dayNumberRequirednumber
scheduledDatestring
exerciseNumbernumber
setsarray of objectmax items 20
FieldTypeDetails
repsstring
weightstring
statusstring
intensitystring
notesstring
pollobjectSends the message as a poll whose question is text. Polls go only to group conversations, on their own: no attachments, mentions, reply or training reference. Give durationMs (counted from when the poll is sent, so a scheduled poll's clock starts at delivery) or endsAt (epoch milliseconds), not both, between 5 minutes and 30 days after sending; leave both out for a poll with no end time.
FieldTypeDetails
optionsRequiredarray of string2 to 12 different answersmin items 2, max items 12
allowsMultipleRequiredbooleanTrue lets each person choose several answers; false allows one
durationMsnumberminimum 300000, maximum 2592000000
endsAtnumber

Responses

  • 201 Message sent or original retry result (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /messages/conversations/{conversationId}

Delete a conversation for the token owner only

Delete For Me, as in the app and console: the conversation leaves the token owner's inbox and archive and their view of its history ends at once. Other members keep it. A new message brings it back, with history from then on. Built-in club conversations (club, coaches, coach-athlete and group program chats) cannot be deleted; archive them instead.

Operation ID
deleteConversation
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Responses

  • 200 Conversation deleted for the token owner (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/conversations/{conversationId}/read

Mark a conversation read

Operation ID
markConversationRead
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Request Body

Optional, JSON

object

FieldTypeDetails
throughMessageIdstring

Responses

  • 200 Conversation marked read (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/conversations/{conversationId}/attachments

Create an authenticated upload for a photo, voice message, or file

Operation ID
createMessageAttachmentUpload
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
fileNameRequiredstring
mimeTypeRequiredstring
byteSizeRequirednumberminimum 1, maximum 26214400
kindRequired"photo" | "voice" | "file"
durationMsnumberminimum 1, maximum 600000

Responses

  • 201 Upload authorization created (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/attachments/{uploadAuthorizationId}/finalize

Finalize a completed messaging attachment upload

Operation ID
finalizeMessageAttachment
Permission
messaging_write

Parameters

NameInTypeDetails
uploadAuthorizationIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
storageIdRequiredstring

Responses

  • 201 Attachment finalized (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/conversations/{conversationId}/videos

Create presigned video and optional poster uploads

Operation ID
createMessageVideoUpload
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
fileNameRequiredstring
mimeTypeRequiredstring
byteSizeRequirednumberminimum 1, maximum 167772160
durationMsRequirednumberminimum 1, maximum 600000
videoKindRequired"source" | "review"
posterByteSizenumberminimum 1

Responses

  • 201 Video upload authorization created (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/videos/{uploadAuthorizationId}/finalize

Finalize a completed messaging video upload

PUT the clip's bytes to the grant's uploadUrl first. Finalize reads the object back from storage and answers 400 "Upload the video before finalizing it" until it holds exactly byteSize bytes.

Operation ID
finalizeMessageVideo
Permission
messaging_write

Parameters

NameInTypeDetails
uploadAuthorizationIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
r2KeyRequiredstring
byteSizeRequirednumber
durationMsRequirednumber
widthnumber
heightnumber
posterUploadedboolean

Responses

  • 201 Video attachment finalized (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/attachments/{attachmentId}/transcript

Read a voice message's or video's transcript and summary

Transcripts and summaries are made on the sender's or a viewer's phone and can arrive after the message, so either may be null.

Operation ID
getMessageAttachmentTranscript
Permission
messaging_read

Parameters

NameInTypeDetails
attachmentIdRequiredpathstring

Responses

  • 200 Attachment transcript and summary (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/attachments/{attachmentId}/playback

Create a short-lived video playback grant

Operation ID
getMessageVideoPlayback
Permission
messaging_read

Parameters

NameInTypeDetails
attachmentIdRequiredpathstring

Responses

  • 200 Video playback grant (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/pins

List the token owner's pinned conversations in the token's club, in their order

The conversations the token owner pinned in this club, as the pinned grid in the app and console shows them: in the owner's order, at most 9. Pins in other clubs are left out.

Operation ID
listPinnedConversations
Permission
messaging_read

Responses

  • 200 Pinned conversations in order (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /messages/pins

Reorder the token owner's pinned conversations in the token's club

conversationIds lists pinned conversations in the order they should appear, at most 9, each once. They take the places those pins already hold, so pins left out, and pins in other clubs, keep theirs. An id that is not one of the owner's pins in this club is skipped. Pin and unpin through PATCH /messages/conversations/{conversationId}/state; a new pin goes last.

Operation ID
reorderPinnedConversations
Permission
messaging_write

Request Body

Required, JSON

object

FieldTypeDetails
conversationIdsRequiredarray of stringmax items 9

Responses

  • 200 Pin order updated (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /messages/conversations/{conversationId}/state

Mute, archive, restore, or pin a conversation

Changes only the token owner's own view of the conversation; give at least one field. archived false applies first and archived true last. pinned true with archived true is refused, an archived conversation cannot be pinned, and at most 9 conversations can be pinned. A new pin goes last; reorder pins with PUT /messages/pins. mutedUntil is a timed mute in epoch milliseconds and null ends it; muted is the indefinite mute. mentionPolicy chooses which group messages notify.

Operation ID
updateConversationState
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
mutedboolean
archivedboolean
pinnedboolean
needsReplybooleanIgnored: Needs Reply was retired. Accepted for older clients.
mutedUntilnumber | null
mentionPolicy"all" | "mentions" | "none"

Responses

  • 200 Conversation state updated (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/scheduled

List this token owner's scheduled messages in the club, soonest first

Returns up to 50 messages the token owner has scheduled, with the conversation each goes to. hasMore is true when more are scheduled than the list holds. notSent lists up to 50 scheduled messages Atlas refused to deliver, newest first, each with a refusalReason code, its attachment count and the conversation, or null when the token owner can no longer open it; notSentHasMore is true when more were refused than the list holds. A not-sent message keeps its attachments and stays until it is rescheduled, which sends them with it, or cancelled, which deletes them.

Operation ID
listScheduledMessages
Permission
messaging_read

Responses

  • 200 Scheduled messages and hasMore (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /messages/scheduled/{messageId}

Edit, reschedule, or send now a scheduled message created by this token owner

Give any of text, scheduledFor or sendNow. New text is applied first, so it goes out with sendNow. Repeating sendNow alone after the message went out succeeds; new text for a message that already went out answers 400, unless it repeats the same Idempotency-Key and body. A not-sent message from notSent takes only scheduledFor or sendNow: Atlas checks the conversation again and answers its refusal if the message still cannot go out.

Operation ID
updateScheduledMessage
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring
Idempotency-KeyheaderstringRequired when text is given; a retry with the same key and body (text, scheduledFor and sendNow) applies the change once; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

object

FieldTypeDetails
textstringmax length 8000
scheduledFornumberNew future epoch milliseconds, at most 365 days; not with sendNow
sendNowtrueDeliver the message now; not with scheduledFor

Responses

  • 200 Scheduled message updated (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /messages/scheduled/{messageId}

Cancel a scheduled or not-sent message created by this token owner

Operation ID
cancelScheduledMessage
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring

Responses

  • 200 Scheduled message cancelled (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/dms

Create or find a 1-1 direct message, including a thread with yourself

Operation ID
createDirectMessage
Permission
messaging_write

Request Body

Required, JSON

object

FieldTypeDetails
otherUserIdRequiredstring

Responses

  • 201 Direct message conversation (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/groups

Create a custom in-club messaging group

Operation ID
createMessageGroup
Permission
messaging_write

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringmax length 100
memberUserIdsRequiredarray of stringmax items 99

Responses

  • 201 Custom group conversation (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/atlas-thread

Read the token owner's read-only Atlas thread of announcements

The announcements Atlas sent the token owner (page), newest first, 50 at most a page, with the thread's newest message, unread count and whether it is archived (thread is null when nothing has reached them). Nobody can reply or react. It belongs to no club, so any club's token reads the same thread.

Operation ID
getAtlasThread
Permission
messaging_read

Parameters

NameInTypeDetails
cursorquerystring
limitqueryinteger

Responses

  • 200 The Atlas thread (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/atlas-thread/read

Mark every announcement in the token owner's Atlas thread read

Clears the Atlas thread's unread count, as opening it in the app or console does.

Operation ID
markAtlasThreadRead
Permission
messaging_write

Responses

  • 200 Marked read (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /messages/atlas-thread/archived

Archive or unarchive the token owner's Atlas thread

An archived Atlas thread moves to Archived and comes back to the inbox by itself when the next announcement reaches the token owner.

Operation ID
setAtlasThreadArchived
Permission
messaging_write

Request Body

Required, JSON

object

FieldTypeDetails
archivedRequiredboolean

Responses

  • 200 Saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/support

Read the token owner's Support thread with the Atlas team

Every coach, athlete and guardian has one Support thread with the Atlas platform admin, outside every club, so any club's token reaches the same thread. A minor's thread also holds their linked guardians, and stays read-only (canSend false) until one is linked. Lists the token owner's own thread first, then any guarded minor's. conversation is null until the thread is opened. Read and send in it with listConversationMessages and sendConversationMessage, as in any conversation; club admins and other coaches cannot see it.

Operation ID
getSupportThread
Permission
messaging_read

Responses

  • 200 Support threads (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/support

Open the token owner's Support thread and return its conversation

Every coach, athlete and guardian has one Support thread with the Atlas platform admin, outside every club, so any club's token reaches the same thread. A minor's thread also holds their linked guardians, and stays read-only (canSend false) until one is linked. Creates the thread the first time and answers the same conversationId every time after.

Operation ID
openSupportThread
Permission
messaging_write

Responses

  • 200 The Support conversation (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/settings

Read the token owner's messaging settings

Quiet hours hold message pushes for the token owner in every club, voicePlaybackSpeed is the speed their voice messages start at, and quickReactions are the reactions shown first when they react to a message, in the app, the console and Atlas Desktop. Defaults are returned until they are first saved.

Operation ID
getMessagingSettings
Permission
messaging_read

Responses

  • 200 Messaging settings (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /messages/settings

Change the token owner's quiet hours, voice playback speed or quick reactions

Give voicePlaybackSpeed, quickReactions, any quiet hours fields, or several; the stored values fill in the rest. quickReactions replaces all of them at once, or resets them when null. Minutes count from midnight in timeZone, an IANA time zone name.

Operation ID
updateMessagingSettings
Permission
messaging_write

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
voicePlaybackSpeed1 | 1.25 | 1.5 | 1.75 | 2The speed voice messages start at, 1 until it is first saved
quickReactionsarray of "👍" | "❤️" | "🫡" | "💪" | "😂" | "😅" | "🔥" | "🙌" | "👏" | "🎉" | "🏆" | "🥇" | "💯" | "🚀" | "⚡" | "🤩" | "😎" | "🥳" | "🤝" | "🙏" | "😮" | "🤯" | "😳" | "😬" | "😤" | "🥵" | "🫠" | "😢" | "😭" | "🤔" | "👀" | "👌" | "✅" | "👎" | "‼️" | "🌭" | "🦭" | "🫥" | "🥸" | "🫣" | "👻" | "🐕" | "🙌🏼" | "😮‍💨" | "🎃" | "🫰🏼" | "🤘🏽" | "🦵" | "👨🏽‍🍳" | "👸🏼" | "💆🏽‍♂️" | "🤷‍♂️" | "💃" | "🧑🏽‍🦽" | "🧶" | "🦖" | "🍰" | "🫗" | "🍾" | "🏋🏼‍♀️" | "🥈" | "🥉" | "🎻" | "🚑" | "🚨" | "💰" | "🧾" | "🔒" | "⚜️" | "🆒" | "🏴‍☠️" | "🇨🇦" | "🇺🇸"The 6 reactions shown first when reacting to a message in the app, the console and Atlas Desktop, in order; 👍 ❤️ 🫡 💪 😂 😅 until they are first saved. Send null to go back to the defaults.min items 6, max items 6
quietHoursobjectmin properties 1
FieldTypeDetails
enabledboolean
startMinuteintegerminimum 0, maximum 1439
endMinuteintegerminimum 0, maximum 1439
timeZonestringmax length 100

Responses

  • 200 Saved messaging settings (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/reports

List the club's messaging reports, newest first

Only the club's owner may list reports. Each report keeps an excerpt of the messages it is about, copied when it was filed, which outlives the messages themselves.

Operation ID
listMessagingReports
Permission
messaging_read

Parameters

NameInTypeDetails
cursorquerystring
limitqueryinteger

Responses

  • 200 A page of reports (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/reports/{reportId}/resolve

Mark a messaging report resolved

Only the club's owner may change a report.

Operation ID
resolveMessagingReport
Permission
messaging_write

Parameters

NameInTypeDetails
reportIdRequiredpathstring

Responses

  • 200 Report resolved (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/reports/{reportId}/reopen

Reopen a resolved messaging report

Only the club's owner may change a report.

Operation ID
reopenMessagingReport
Permission
messaging_write

Parameters

NameInTypeDetails
reportIdRequiredpathstring

Responses

  • 200 Report reopened (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /messages/by-id/{messageId}

Edit the text of the token owner's message

Allowed for 15 minutes after sending, or any time before a scheduled message goes out. The club's pinned announcement and group notices cannot be edited.

Operation ID
editMessage
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring
Idempotency-KeyRequiredheaderstringA retry with the same key and text applies the edit once; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

object

FieldTypeDetails
textRequiredstringmax length 8000

Responses

  • 200 Message edited (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 428 A required If-Match revision or Idempotency-Key header is missing (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /messages/by-id/{messageId}

Unsend the token owner's message for everyone

Allowed for 15 minutes after sending; a scheduled message is cancelled instead. The message stays as an unsent marker without its text, attachments or reactions. A pinned announcement, and an athlete video a coach has reviewed, cannot be unsent. Unsending a message that is already unsent succeeds.

Operation ID
unsendMessage
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring
Idempotency-KeyheaderstringOptional; a retried unsend returns the first result even though the message is gone; the same key on another target answers 409

Responses

  • 200 Message unsent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/by-id/{messageId}/reactions

List who reacted to a message, grouped by emoji

Each emoji lists the people who reacted with it, the token owner first, with each person's userId and display name. A person who left the club shows as a former member.

Operation ID
listMessageReactions
Permission
messaging_read

Parameters

NameInTypeDetails
messageIdRequiredpathstring

Responses

  • 200 Reactions grouped by emoji (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/by-id/{messageId}/reactions

React to a message

Each person holds at most 5 reactions on a message and a message at most 100. Adding a reaction the token owner already has succeeds without change.

Operation ID
addMessageReaction
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring
Idempotency-KeyheaderstringOptional; a retry with the same key returns the first result; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

object

FieldTypeDetails
emojiRequiredstringmin length 1, max length 16

Responses

  • 200 Reaction added (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /messages/by-id/{messageId}/reactions/{emoji}

Remove the token owner's reaction from a message

Removing a reaction the token owner does not have succeeds without change.

Operation ID
removeMessageReaction
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring
emojiRequiredpathstringThe emoji, percent-encoded

Responses

  • 200 Reaction removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/by-id/{messageId}/report

Report a message to the club's owner

Reporting a message again while the first report is open returns that report. A member may hold at most 20 open reports per conversation.

Operation ID
reportMessage
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring
Idempotency-KeyheaderstringOptional; a retry with the same key returns the first report; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

object

FieldTypeDetails
reasonRequired"spam" | "harassment" | "unsafe_content" | "unwanted_contact" | "other"
detailsstringmax length 2000

Responses

  • 201 The report, or the reporter's open report on the same target (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/by-id/{messageId}/review

Mark every video in an athlete's message reviewed

Marks the message's clips still awaiting review as Reviewed without sending a review, as Mark All as Reviewed does in the app and console. Only a coach of the club may mark, and a reviewed clip can no longer be unsent by its sender. Clears the message from the coach's video notifications.

Operation ID
markMessageVideosReviewed
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring

Responses

  • 200 How many clips were marked (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /messages/attachments/{attachmentId}/review

Mark one athlete video reviewed or unreviewed

reviewed true marks the clip Reviewed without sending a review. reviewed false takes off a mark made this way; a clip a sent review answers stays Reviewed until that review is unsent. Asking for the state a clip is already in succeeds.

Operation ID
setMessageVideoReviewed
Permission
messaging_write

Parameters

NameInTypeDetails
attachmentIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
reviewedRequiredboolean

Responses

  • 200 Clip review state (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/conversations/{conversationId}/unread

Mark a conversation unread for the token owner

Marks unread from fromMessageId, or from the newest message when it is left out.

Operation ID
markConversationUnread
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Request Body

Optional, JSON

object

FieldTypeDetails
fromMessageIdstring

Responses

  • 200 Conversation marked unread (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/conversations/{conversationId}/report

Report a conversation or unwanted contact to the club's owner

Give reportedUserId to report one member of the conversation. Reporting the same member again while the first report is open returns that report.

Operation ID
reportConversation
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring
Idempotency-KeyheaderstringOptional; a retry with the same key returns the first report; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

object

FieldTypeDetails
reasonRequired"spam" | "harassment" | "unsafe_content" | "unwanted_contact" | "other"
detailsstringmax length 2000
reportedUserIdstring

Responses

  • 201 The report, or the reporter's open report on the same target (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /messages/conversations/{conversationId}/group

Rename a group or change the club conversation's announcement

Only the group's creator or the club owner may rename it, and direct messages cannot be renamed. announcementMessageId pins a delivered message as the club conversation's announcement, and null unpins the current one; only coaches may.

Operation ID
updateMessageGroup
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
namestringmin length 1, max length 100
announcementMessageIdstring | null

Responses

  • 200 Group updated (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /messages/conversations/{conversationId}/group-image

Set a group's photo

attachmentId names either a JPEG, PNG, WebP, GIF, HEIC or HEIF photo sent in this conversation, or a JPEG, PNG or WebP photo of at most 1 MiB that you uploaded to it with createMessageAttachmentUpload and finalized without sending. Anyone who may post in the conversation may set its photo and any member may remove it; each change posts a line in the thread. Direct messages have no group photo.

Operation ID
setMessageGroupImage
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
attachmentIdRequiredstring

Responses

  • 200 Group photo set (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /messages/conversations/{conversationId}/group-image

Remove a group's photo

Operation ID
removeMessageGroupImage
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Responses

  • 200 Group photo removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/conversations/{conversationId}/members

List the people in a conversation

Members who left the club show as former members and inactive. Guardians list the athletes they are guardian of.

Operation ID
listConversationMembers
Permission
messaging_read

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Responses

  • 200 Conversation members (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/conversations/{conversationId}/members

Add club members to a custom group

Only the group's creator or the club owner may add members. Everyone added must be an active club member outside a group program, and a group holds at most 100 members.

Operation ID
addMessageGroupMembers
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
memberUserIdsRequiredarray of stringmin items 1, max items 100

Responses

  • 200 Members added (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /messages/conversations/{conversationId}/members/{memberUserId}

Remove a member from a custom group

Only the group's creator may remove members, and never themselves (leave instead). A group keeps at least two members.

Operation ID
removeMessageGroupMember
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring
memberUserIdRequiredpathstring

Responses

  • 200 Member removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/conversations/{conversationId}/leave

Leave a custom group

The token owner stops seeing the group's messages at once. The last member cannot leave.

Operation ID
leaveMessageGroup
Permission
messaging_write

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Responses

  • 200 Left the group (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /messages/by-id/{messageId}/poll

Edit one of the token owner's polls before anyone votes

Replaces the question, answers, answer mode and end time together. Allowed only until the first vote and while the poll is open; a poll with votes is refused with 409. Give durationMs (counted from when the poll is sent, so a scheduled poll's clock starts at delivery) or endsAt (epoch milliseconds), not both, between 5 minutes and 30 days after sending; leave both out for a poll with no end time.

Operation ID
editMessagePoll
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
questionRequiredstringmin length 1, max length 300
optionsRequiredarray of string2 to 12 different answersmin items 2, max items 12
allowsMultipleRequiredbooleanTrue lets each person choose several answers; false allows one
durationMsnumberminimum 300000, maximum 2592000000
endsAtnumber

Responses

  • 200 Done (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /messages/by-id/{messageId}/poll/vote

Set the token owner's answers in a poll

optionIds replaces the token owner's answers: one for a single-answer poll, any number for a multiple-answer poll, and an empty list takes the vote back. A closed poll is refused with 409. A poll holds at most 500 voters.

Operation ID
voteInMessagePoll
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
optionIdsRequiredarray of stringoptionIds from the message's poll in list_messagesmax items 12

Responses

  • 200 Vote saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/by-id/{messageId}/poll/close

Close a poll so nobody can vote

The person who sent the poll, a club owner or the group's creator may close it. Closing is final; closing a poll already closed this way succeeds without change.

Operation ID
closeMessagePoll
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring

Responses

  • 200 Done (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/by-id/{messageId}/poll/votes

List who voted for each answer in a poll

Every answer in the poll's order, each with the people who chose it, the token owner first. A person who left the club shows as a former member.

Operation ID
listMessagePollVotes
Permission
messaging_read

Parameters

NameInTypeDetails
messageIdRequiredpathstring

Responses

  • 200 Voters by answer (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/search

Search the text of messages the token owner can read

Searches every conversation the token owner is in within the token's club, or only conversationId when given. Conversations an owner sees only because they own the club are searched only through conversationId.

Operation ID
searchMessages
Permission
messaging_read

Parameters

NameInTypeDetails
qRequiredquerystringWords to look for
conversationIdquerystring
cursorquerystring
limitqueryinteger

Responses

  • 200 Matching messages, best match first (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/search/conversations

Find conversations by name in the token's club

Matches conversation names and the people in direct messages, across the inbox and the archive.

Operation ID
searchMessageConversations
Permission
messaging_read

Parameters

NameInTypeDetails
qRequiredquerystringWords to look for
typequery"group" | "direct"direct for one-to-one conversations, group for every other kind
cursorquerystring
limitqueryinteger

Responses

  • 200 Matching conversations (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/unread

Count the token owner's unread messages

Counts the token's club only. Muted and archived conversations add nothing to total.

Operation ID
getUnreadMessageTotals
Permission
messaging_read

Responses

  • 200 Unread totals (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/people

List the club members the token owner can message

Gives each person's userId for createDirectMessage, createMessageGroup and addMessageGroupMembers. The token owner comes first. Group program members are left out, since they message only in their program's chat.

Operation ID
listMessagingPeople
Permission
messaging_read

Parameters

NameInTypeDetails
limitqueryintegerAt most this many people; 100 when left out

Responses

  • 200 People the token owner can message (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/coaches/{coachUserId}/conversations

List another coach's conversations as the club owner

Only the club's owner may look into another coach's or assistant's inbox, as in the console. Unread counts and pins are left out, since they belong to that coach.

Operation ID
listCoachConversations
Permission
messaging_read

Parameters

NameInTypeDetails
coachUserIdRequiredpathstringAnother coach of the club
typequery"group" | "direct"direct for one-to-one conversations, group for every other kind
cursorquerystring
limitqueryinteger

Responses

  • 200 The coach's conversations, newest first (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /messages/athletes/{athleteId}/conversation

Open the conversation between an athlete and their assigned coach

Returns the athlete's direct message with their assigned coach, creating it when missing. For a minor athlete it returns their family thread with the coach and guardians instead. An assistant may open only the conversations of athletes assigned to them.

Operation ID
openAthleteConversation
Permission
messaging_write

Parameters

NameInTypeDetails
athleteIdRequiredpathstring

Responses

  • 200 The conversation (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/conversations/{conversationId}/summary

Show one conversation as it appears in the inbox

Includes up to three other people in a group and whether the token owner takes part in it or sees it as the club owner.

Operation ID
getConversationSummary
Permission
messaging_read

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Responses

  • 200 The conversation (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/conversations/{conversationId}/resources

List the links, files or reviewed videos shared in a conversation

Newest first, from the history the token owner can see.

Operation ID
listConversationResources
Permission
messaging_read

Parameters

NameInTypeDetails
conversationIdRequiredpathstring
kindRequiredquery"links" | "files" | "video_review"
cursorquerystring
limitqueryinteger

Responses

  • 200 Shared resources (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/by-id/{messageId}/thread

Show the thread a message belongs to

Gives the thread's first message and its replies, oldest first, for any message in it. At most 200 replies are returned; truncated says more exist. threadReplyCount counts at most 51.

Operation ID
listMessageThread
Permission
messaging_read

Parameters

NameInTypeDetails
messageIdRequiredpathstring

Responses

  • 200 The thread (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /messages/by-id/{messageId}/videos

Unsend the unreviewed videos of a workout upload

For a workout video the token owner posted for an athlete. Clips a coach already answered or marked reviewed stay; the rest are removed for everyone.

Operation ID
unsendMessageVideos
Permission
messaging_write

Parameters

NameInTypeDetails
messageIdRequiredpathstring
Idempotency-KeyheaderstringOptional; a retried unsend returns the first result even though the video is gone; the same key on another target answers 409

Responses

  • 200 Videos unsent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /messages/attachments/{attachmentId}

Unsend one unreviewed video of a workout upload

For a workout video the token owner posted for an athlete, before a coach answers or marks it reviewed.

Operation ID
unsendMessageVideo
Permission
messaging_write

Parameters

NameInTypeDetails
attachmentIdRequiredpathstring
Idempotency-KeyheaderstringOptional; a retried unsend returns the first result even though the video is gone; the same key on another target answers 409

Responses

  • 200 Video unsent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /messages/session-videos

List the workout videos and video reviews of one program day

The athlete's uploads for the day's exercises and the coaches' reviews of them, oldest first, from the conversations the token owner can read.

Operation ID
listSessionVideos
Permission
messaging_read

Parameters

NameInTypeDetails
athleteIdRequiredquerystring
programIdRequiredquerystring
weekNumberRequiredqueryinteger
dayNumberRequiredqueryinteger

Responses

  • 200 Videos for the day (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Notifications

Notifications

The token owner's Notifications, as the app and console show them, in the token's club. GET /notifications/counts gives every unread badge at once. GET /check-in-notifications lists athletes who missed training or sent no videos, unread first; POST /check-in-notifications/{athleteId}/read marks one read until the athlete misses more, DELETE on it marks it unread again, and POST /check-in-notifications/read marks up to 200 at a time (call again while remaining is above 0). GET /meet-plan-reminders lists upcoming meets with no meet plan yet. Each takes an optional today, the coach's local date, which defaults to the server's UTC date. They need read and write.

GET /check-in-notifications

List the token owner's check-in notifications

One row per coached athlete who missed planned training or sent no video of their recent sessions, unread rows first, each newest first, as Notifications lists them in the app and console. A row turns unread again when the athlete misses more. today (YYYY-MM-DD) is the coach's local date and defaults to the server's UTC date. Filter by athleteId or sinceDate (YYYY-MM-DD, UTC); limit defaults to and caps at 500. Needs a token issued for a club.

Operation ID
listCheckInNotifications
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
todayquerystring
athleteIdquerystring
sinceDatequerystring
unreadOnlyqueryboolean
limitqueryinteger

Responses

  • 200 Rows, whether more exist, and the unread count (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /check-in-notifications/read

Mark the token owner's unread check-in notifications read

Marks up to 200 unread rows a call, newest first, under the optional athleteId and sinceDate filters; remaining says how many are left, so call again until it is 0. today (YYYY-MM-DD) is the coach's local date and defaults to the server's UTC date. The body is optional.

Operation ID
markAllCheckInNotificationsRead
Permission
write

Request Body

Optional, JSON

object

FieldTypeDetails
todaystringformat date
athleteIdstring
sinceDatestringformat date

Responses

  • 200 How many rows were marked, and how many unread remain (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /check-in-notifications/{athleteId}/read

Mark one athlete's check-in notification read

Marks what the athlete is flagged for today read; it turns unread again when they miss more. today (YYYY-MM-DD) is the coach's local date and defaults to the server's UTC date. The body is optional. Refused for an athlete the coach does not see on their roster.

Operation ID
markCheckInNotificationRead
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstringThe flagged athlete's roster id

Request Body

Optional, JSON

object

FieldTypeDetails
todaystringformat date

Responses

  • 200 Marked read (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /check-in-notifications/{athleteId}/read

Mark one athlete's check-in notification unread

Operation ID
markCheckInNotificationUnread
Permission
write

Parameters

NameInTypeDetails
athleteIdRequiredpathstringThe flagged athlete's roster id

Responses

  • 200 Marked unread (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /meet-plan-reminders

List the token owner's reminders to write meet plans

The Notifications rows reminding the coach that an upcoming meet has no meet plan yet, soonest meet first, up to 50. A reminder drops off once the plan exists, the meet passes or moves, or the coach no longer coaches the athlete. today (YYYY-MM-DD) is the coach's local date and defaults to the server's UTC date. Filter by athleteId. Needs a token issued for a club.

Operation ID
listMeetPlanReminders
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
todayquerystring
athleteIdquerystring

Responses

  • 200 Meet plan reminders (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /notifications/counts

Count the token owner's unread notifications of each kind

The badges on Notifications in the app and console: unread athlete comments, video, questionnaire, check-in and document notifications, and meet plan reminders. today (YYYY-MM-DD) is the coach's local date and defaults to the server's UTC date. Needs a token issued for a club.

Operation ID
getNotificationCounts
Permission
read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
todayquerystring

Responses

  • 200 Unread counts (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Videos

GET /videos/{attachmentId}/bar-path

Read a video's tracked bar path and its velocity, force and power

The saved bar path, or null when none is saved, with its metrics: peak and mean concentric velocity in m/s, peak force in N and peak power in W (null without a load), and the highest point in m. Only a coach of the video's club who can play the video reads or changes its bar path; athletes do not see it, and a video the token owner cannot play answers 404.

Operation ID
getVideoBarPath
Permission
read

Parameters

NameInTypeDetails
attachmentIdRequiredpathstringA video's attachmentId from listMessages

Responses

  • 200 Bar path and metrics (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /videos/{attachmentId}/bar-path

Save a video's tracked bar path

Replaces the video's bar path, which every coach of the club then sees in the Video Studio, and answers it with its metrics. A path that breaks a rule is refused with 400 and the rule it breaks. Only a coach of the video's club who can play the video reads or changes its bar path; athletes do not see it, and a video the token owner cannot play answers 404.

Operation ID
saveVideoBarPath
Permission
write

Parameters

NameInTypeDetails
attachmentIdRequiredpathstringA video's attachmentId from listMessages

Request Body

Required, JSON

object

The tracked path of one barbell plate, measured on the video scaled down so its longer side is at most 320 pixels. Atlas tracks the plate on the coach's device; this saves its result.

FieldTypeDetails
frameWidthRequiredintegerWidth in pixels of the frame the points are measured inminimum 1, maximum 320
frameHeightRequiredintegerHeight in pixels of the frame the points are measured inminimum 1, maximum 320
plateRadiusPxRequirednumberThe plate's radius in frame pixels, at most the frame's longer side; it sets the scale from pixels to metersminimum 4
plateDiameterMmRequirednumberThe plate's real diameter in millimetersminimum 200, maximum 500
loadKgRequirednumber | nullThe bar's load in kilograms, more than 0 and at most 500, or null when unknown; force and power need it
pointsRequiredarray of objectThe plate's center over time, in frame pixels with y growing downward; every point lies inside the frame and times strictly increasemin items 2, max items 1000
FieldTypeDetails
timeMsRequirednumber
xRequirednumber
yRequirednumber

Responses

  • 200 Saved bar path and metrics (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /videos/{attachmentId}/bar-path

Clear a video's tracked bar path

Removes the video's bar path for every coach. Clearing a video with no path succeeds without change. Only a coach of the video's club who can play the video reads or changes its bar path; athletes do not see it, and a video the token owner cannot play answers 404.

Operation ID
clearVideoBarPath
Permission
write

Parameters

NameInTypeDetails
attachmentIdRequiredpathstringA video's attachmentId from listMessages

Responses

  • 200 Cleared (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Video Notifications

Video Notifications

One row per athlete with form-review videos to look at, as Notifications shows them. GET /video-notifications lists the token owner's, unread first; POST /video-notifications/{notificationId}/read marks one read, and POST /video-notifications/read marks up to 200 at a time (call again while remaining is above 0). They need messaging_read and messaging_write, like the threads they point to.

GET /video-notifications

List the token owner's video notifications

One row per athlete with videos to review, unread rows first, each newest first, as Notifications lists them in the app and console. Only threads the coach can open count. Filter by athleteId or sinceDate (YYYY-MM-DD, UTC); limit defaults to 5 and caps at 500. Needs a token issued for a club and the messaging_read permission.

Operation ID
listVideoNotifications
Permission
messaging_read

Parameters

NameInTypeDetails
coachquerystringA Club Admin reads this as another coach of the club sees it, as the console's coach switcher shows it: that coach's userId from listClubCoaches. Left out, or the token owner's own userId, it answers the token owner's view. Naming another coach is refused with 403 for anyone but a Club Admin, and a userId that is not a coach in the club answers 404.
athleteIdquerystring
sinceDatequerystring
unreadOnlyqueryboolean
limitqueryinteger

Responses

  • 200 Rows, whether more exist, and the unread count (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /video-notifications/read

Mark the token owner's unread video notifications read

Marks up to 200 unread rows a call, newest first, under the optional athleteId and sinceDate filters; remaining says how many are left, so call again until it is 0. The body is optional.

Operation ID
markAllVideoNotificationsRead
Permission
messaging_write

Request Body

Optional, JSON

object

FieldTypeDetails
athleteIdstring
sinceDatestringformat date

Responses

  • 200 How many rows were marked, and how many unread remain (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /video-notifications/{notificationId}/read

Mark one video notification read

Operation ID
markVideoNotificationRead
Permission
messaging_write

Parameters

NameInTypeDetails
notificationIdRequiredpathstring

Responses

  • 200 Marked read (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /video-notifications/{notificationId}/read

Mark one video notification unread

Operation ID
markVideoNotificationUnread
Permission
messaging_write

Parameters

NameInTypeDetails
notificationIdRequiredpathstring

Responses

  • 200 Marked unread (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Changes Overwritten

GET /sync-overwrites

List edits an offline change replaced

When a coach's change made offline syncs over an edit made elsewhere, the offline change wins and Atlas keeps the replaced version for 30 days. Lists those the token owner made offline (role offlineWriter) or whose edit was replaced (role replacedWriter), newest first, for records in the token's club the owner can still open. Filter by role; limit defaults to and caps at 50. Needs a token issued for a club.

Operation ID
listSyncOverwrites
Permission
read

Parameters

NameInTypeDetails
rolequery"offlineWriter" | "replacedWriter"
limitqueryinteger

Responses

  • 200 Replaced edits and whether more exist (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /sync-overwrites/read

Mark replaced edits read

Marks up to 200 unread rows of each role read for the token owner in the token's club, as opening Details in the console's sync strip and Mark All Read in Notifications do. Call again until marked is 0. Needs a token issued for a club.

Operation ID
markSyncOverwritesRead
Permission
write

Responses

  • 200 How many rows were marked (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /sync-overwrites/{overwriteId}/restore

Put a replaced edit back

Writes the replaced version back through the record's own save, with the same checks as editing it by hand, and keeps what athletes logged since. Refused with 409 when the record changed again after the offline change synced, 404 when it was deleted or the token owner can no longer open it, and 400 when it was already restored or this kind of change cannot be restored.

Operation ID
restoreSyncOverwrite
Permission
write

Parameters

NameInTypeDetails
overwriteIdRequiredpathstringThe replaced edit's id from GET /sync-overwrites

Responses

  • 200 The restored row (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Roadmap

GET /roadmap

Read Atlas's public roadmap board

The board's four columns in order: Suggested, Planned and Building each hold their top 100 items by votes (newest first on a tie), and Shipped holds its most recently shipped (50 unless shippedLimit asks for up to 500). hasMore says a column holds more. Each item says whether the token owner voted for it or suggested it; who suggested it is null except for the super admin. viewer tells how many suggestions the token owner has left in the rolling 24 hours. Any coach's token reads and writes the same Atlas-wide roadmap, whatever club it was issued for. The super admin's powers (status, merge, posting into any column, other people's items and who suggested an item) come only with their club-less platform token holding admin; their club, read-only and MCP connector tokens act as any coach's do.

Operation ID
getRoadmap
Permission
read

Parameters

NameInTypeDetails
shippedLimitqueryinteger

Responses

  • 200 The roadmap board (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /roadmap/similar

Find roadmap items whose titles share words with a title, to upvote instead of suggesting a duplicate

Up to 5 Suggested, Planned or Building items sharing the most words of three letters or more with title, then by votes. Any coach's token reads and writes the same Atlas-wide roadmap, whatever club it was issued for. The super admin's powers (status, merge, posting into any column, other people's items and who suggested an item) come only with their club-less platform token holding admin; their club, read-only and MCP connector tokens act as any coach's do.

Operation ID
listSimilarRoadmapItems
Permission
read

Parameters

NameInTypeDetails
titleRequiredquerystring

Responses

  • 200 Similar items (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /roadmap/items

Suggest a feature for Atlas's public roadmap

Posts it to the Suggested column at once, anonymously to everyone but the super admin, with the token owner's vote already on it. A coach may suggest 5 items in any 24 hours (429 past that). status is for the super admin, who may post straight into any column; such an item starts with no votes. Check listSimilarRoadmapItems first and upvote a match instead of suggesting it again. Any coach's token reads and writes the same Atlas-wide roadmap, whatever club it was issued for. The super admin's powers (status, merge, posting into any column, other people's items and who suggested an item) come only with their club-less platform token holding admin; their club, read-only and MCP connector tokens act as any coach's do.

Operation ID
suggestRoadmapItem
Permission
write

Request Body

Required, JSON

object

FieldTypeDetails
titleRequiredstringmin length 1, max length 80
descriptionstring | nullmax length 1000
status"suggested" | "planned" | "building" | "shipped"

Responses

  • 201 Suggestion posted (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /roadmap/items/{itemId}

Read one roadmap item

Any coach's token reads and writes the same Atlas-wide roadmap, whatever club it was issued for. The super admin's powers (status, merge, posting into any column, other people's items and who suggested an item) come only with their club-less platform token holding admin; their club, read-only and MCP connector tokens act as any coach's do.

Operation ID
getRoadmapItem
Permission
read

Parameters

NameInTypeDetails
itemIdRequiredpathstringAn itemId from getRoadmap or listSimilarRoadmapItems

Responses

  • 200 The item (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /roadmap/items/{itemId}

Change a roadmap item's title, description or status

The coach who suggested an item may change its title and description, or delete it, while it is still Suggested; once Atlas moves it on, only the super admin can. status is for the super admin; moving an item to Shipped tells everyone who upvoted it, once, in their Roadmap notifications. A null description clears it. Any coach's token reads and writes the same Atlas-wide roadmap, whatever club it was issued for. The super admin's powers (status, merge, posting into any column, other people's items and who suggested an item) come only with their club-less platform token holding admin; their club, read-only and MCP connector tokens act as any coach's do.

Operation ID
updateRoadmapItem
Permission
write

Parameters

NameInTypeDetails
itemIdRequiredpathstringAn itemId from getRoadmap or listSimilarRoadmapItems

Request Body

Required, JSON

object

FieldTypeDetails
titlestringmin length 1, max length 80
descriptionstring | nullmax length 1000
status"suggested" | "planned" | "building" | "shipped"

Responses

  • 200 Item changed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /roadmap/items/{itemId}

Delete a roadmap item and its votes

The coach who suggested an item may change its title and description, or delete it, while it is still Suggested; once Atlas moves it on, only the super admin can. Any coach's token reads and writes the same Atlas-wide roadmap, whatever club it was issued for. The super admin's powers (status, merge, posting into any column, other people's items and who suggested an item) come only with their club-less platform token holding admin; their club, read-only and MCP connector tokens act as any coach's do.

Operation ID
deleteRoadmapItem
Permission
write

Parameters

NameInTypeDetails
itemIdRequiredpathstringAn itemId from getRoadmap or listSimilarRoadmapItems

Responses

  • 200 Item deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /roadmap/items/{itemId}/vote

Upvote a roadmap item

One vote per person per item; upvoting again changes nothing. A Shipped item's votes are final (409). Any coach's token reads and writes the same Atlas-wide roadmap, whatever club it was issued for. The super admin's powers (status, merge, posting into any column, other people's items and who suggested an item) come only with their club-less platform token holding admin; their club, read-only and MCP connector tokens act as any coach's do.

Operation ID
upvoteRoadmapItem
Permission
write

Parameters

NameInTypeDetails
itemIdRequiredpathstringAn itemId from getRoadmap or listSimilarRoadmapItems

Responses

  • 200 Voted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /roadmap/items/{itemId}/vote

Take back an upvote on a roadmap item

A Shipped item's votes are final (409). Any coach's token reads and writes the same Atlas-wide roadmap, whatever club it was issued for. The super admin's powers (status, merge, posting into any column, other people's items and who suggested an item) come only with their club-less platform token holding admin; their club, read-only and MCP connector tokens act as any coach's do.

Operation ID
removeRoadmapVote
Permission
write

Parameters

NameInTypeDetails
itemIdRequiredpathstringAn itemId from getRoadmap or listSimilarRoadmapItems

Responses

  • 200 Vote removed (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /roadmap/items/{itemId}/merge

Merge a duplicate roadmap item into another

Only the platform super admin's club-less token with the admin permission may do this. Deletes the duplicate, moves its votes onto mergedIntoItemId (each person counted once, none added to a Shipped item), and tells the duplicate's author in their Roadmap notifications.

Operation ID
mergeRoadmapItem
Permission
write

Parameters

NameInTypeDetails
itemIdRequiredpathstringAn itemId from getRoadmap or listSimilarRoadmapItems

Request Body

Required, JSON

object

FieldTypeDetails
mergedIntoItemIdRequiredstringmin length 1

Responses

  • 200 Merged (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /roadmap/notifications

List the token owner's Roadmap notifications

Newest first, at most 50: an item they upvoted shipped, or their suggestion was merged into another item. unreadCount counts every unread one.

Operation ID
listRoadmapNotifications
Permission
read

Parameters

NameInTypeDetails
limitqueryinteger
unreadOnlyqueryboolean

Responses

  • 200 Roadmap notifications (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /roadmap/notifications/read

Mark every Roadmap notification read

Operation ID
markAllRoadmapNotificationsRead
Permission
write

Responses

  • 200 Marked read (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /roadmap/notifications/{notificationId}/read

Mark one Roadmap notification read

Operation ID
markRoadmapNotificationRead
Permission
write

Parameters

NameInTypeDetails
notificationIdRequiredpathstringA notificationId from listRoadmapNotifications

Responses

  • 200 Marked read (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /roadmap/notifications/{notificationId}/read

Mark one Roadmap notification unread

Operation ID
markRoadmapNotificationUnread
Permission
write

Parameters

NameInTypeDetails
notificationIdRequiredpathstringA notificationId from listRoadmapNotifications

Responses

  • 200 Marked unread (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Platform Admin

Platform Admin Tokens

These endpoints are for the Atlas platform administrator only. They need the admin permission and a token issued for no club; a token bound to a club answers 403, even the platform administrator's. To get one, choose Platform (No Club) as the token's club on Integrations, or on the approval page atlas login opens. Only the platform administrator sees that choice. Platform, then API Tokens, also creates one that carries only admin and expires after 7, 30, or 90 days, and keeps an audit log of every platform token's creation and revocation.

GET /platform/owner-invitations

List pending Club Admin invitations that open new clubs

The platform admin's club-less token only.

Operation ID
listClubOwnerInvitations
Permission
admin

Responses

  • 200 Pending invitations sorted by club name (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /platform/owner-invitations

Start a club by emailing its Club Admin an invitation

The platform admin's club-less token only. The club opens when the invitation is accepted. Sending again for the same club name and address sends it again.

Operation ID
inviteClubOwner
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
clubNameRequiredstringmin length 2, max length 100
ownerNameRequiredstringmin length 2, max length 100
emailRequiredstringformat email, max length 320

Responses

  • 201 Invitation sent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 An invitation went to this address recently, or the club has sent as many as it can this hour or today (RATE_LIMITED)
  • 503 Sending invitations is not configured on this deployment, or the coach console could not complete the invitation; retry later

DELETE /platform/owner-invitations/{invitationId}

Revoke a pending Club Admin invitation and the unopened club

The platform admin's club-less token only.

Operation ID
revokeClubOwnerInvitation
Permission
admin

Parameters

NameInTypeDetails
invitationIdRequiredpathstring

Responses

  • 200 Invitation revoked (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
  • 503 Sending invitations is not configured on this deployment, or the coach console could not complete the invitation; retry later

GET /platform/exercise-candidates

List club and athlete custom exercises that are candidates for the Atlas library

The platform admin's club-less token only. The list the console's /platform/exercises page shows: every custom exercise clubs and athletes in counted clubs have added, grouped by name key, leaving out names the Atlas library already has, with the most common spelling, muscles, video link and defaults. Sorted by how many clubs and athletes added it, then by logged sets. Dismissed candidates are left out unless showDismissed is true. At most 500 candidates are returned (truncated says more exist), from at most 8000 club and 8000 athlete exercises (scanTruncated says some were not read).

Operation ID
listClubExerciseCandidates
Permission
admin

Parameters

NameInTypeDetails
showDismissedquerybooleanDefaults to false: only candidates not yet dismissed.

Responses

  • 200 Exercise candidates (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /platform/exercise-candidates/dismiss

Dismiss club exercise candidates so the Atlas library list leaves them out

The platform admin's club-less token only. What Dismiss does on the console's /platform/exercises page, for up to 100 keys at once: each name is hidden platform-wide until restored. changed lists the keys this call dismissed, unchanged the keys already dismissed. Nothing is dismissed when any key is not a name key, or when the call would take dismissals past 2000.

Operation ID
dismissClubExerciseCandidates
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
keysRequiredarray of stringCandidate keys from listClubExerciseCandidates: the exercise name in lower case, its letters and digits split by single spaces.min items 1, max items 100
namesarray of stringThe readable name of each key, in the same order, such as each candidate's name from listClubExerciseCandidates; the dismissed list shows it, as the console's Dismiss saves it. Left out, each dismissal is named by its key. A count that differs from keys answers 400.min items 1, max items 100

Responses

  • 200 Candidates dismissed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /platform/exercise-candidates/restore

Restore dismissed club exercise candidates to the Atlas library list

The platform admin's club-less token only. What Restore does on the console's /platform/exercises page, for up to 100 keys at once. changed lists the keys this call restored, unchanged the keys that were not dismissed. Nothing is restored when any key is not a name key.

Operation ID
restoreClubExerciseCandidates
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
keysRequiredarray of stringCandidate keys from listClubExerciseCandidates: the exercise name in lower case, its letters and digits split by single spaces.min items 1, max items 100

Responses

  • 200 Candidates restored (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /platform/clubs/{organizationId}

Rename a club

The platform admin's club-less token only. Club names are unique.

Operation ID
renameClub
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringmin length 2, max length 100

Responses

  • 200 Club renamed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /platform/clubs/{organizationId}/plan

Put a club on the Free, complimentary or custom plan

The platform admin's club-less token only. Does what the plan buttons on the console's /platform club page do. Send plan free, complimentary or custom, and meetCal true to give a complimentary or custom club's coaches, roster athletes and guardians MeetCal (it defaults to false and is refused with free). Custom is for a club that pays Atlas outside Stripe: send amountCents and period (and an optional note), which only custom takes. It counts in the platform Overview's Total Revenue (as paid on schedule), MRR, ARR and Plans, and saving it refreshes the Overview; setting the same club custom again keeps its since date, and any other plan clears the price. Complimentary and custom have no athlete or group limits; Free has the Free plan's. A club Stripe still bills, a club billed through another club, and (for complimentary or custom) a club other clubs are billed through answer 409. Paid Stripe plans only ever come from the club owner's Stripe subscription. GET /club/plan still reads a club's plan with a token issued for that club.

Operation ID
setClubPlan
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
planRequired"free" | "complimentary" | "custom"
meetCalbooleanComplimentary or custom only: include MeetCal.default false
amountCentsintegerCustom only, and required with it: what the club pays each period, in US cents.minimum 1, maximum 10000000
period"monthly" | "annual"Custom only, and required with it: whether amountCents is a month's or a year's price.
notestringCustom only: how the club pays, such as Invoiced by bank transfer.max length 200

Responses

  • 200 The club's plan after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/broadcasts

List the newest announcements sent to every coach, athlete or Atlas user

The platform admin's club-less token only. The newest 100, newest first, with how many people each reached so far. delivery stays sending while Atlas is still adding recipients. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listBroadcasts
Permission
admin

Responses

  • 200 Sent announcements (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /platform/broadcasts

Send a read-only announcement to every coach, every athlete or everyone in Atlas

The platform admin's club-less token only. It lands in each recipient's read-only Atlas thread in Messaging on the app, the console and Atlas Desktop, with no push notification. Nobody can reply or react. Recipients are the people in the audience when it is sent, each once, in clubs that were open then and still are: coaches are Club Admins and assistant coaches, athletes include minors and group program members, and everyone adds guardians. The App Store review club and closed clubs are left out. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
sendBroadcast
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
audienceRequired"coaches" | "athletes" | "everyone"
bodyRequiredstringmin length 1, max length 8000

Responses

  • 201 Announcement sent; recipients are added in the background (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /platform/broadcasts/{broadcastId}

Change a sent announcement's text for everyone who received it

The platform admin's club-less token only. Recipients see the new text marked Edited. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
editBroadcast
Permission
admin

Parameters

NameInTypeDetails
broadcastIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
bodyRequiredstringmin length 1, max length 8000

Responses

  • 200 Announcement changed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /platform/broadcasts/{broadcastId}

Delete a sent announcement from every recipient's Atlas thread

The platform admin's club-less token only. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
deleteBroadcast
Permission
admin

Parameters

NameInTypeDetails
broadcastIdRequiredpathstring

Responses

  • 200 Announcement deleted (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/support

List the Support conversations coaches, athletes and guardians started with Atlas

The platform admin's club-less token only. Newest message first, 25 at most a page, each with who wrote (name, roles, clubs). archived=true lists the Archived folder; query searches by name or club instead. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listSupportInbox
Permission
admin

Parameters

NameInTypeDetails
cursorquerystring
limitqueryinteger
archivedqueryboolean
queryquerystring

Responses

  • 200 Support conversations (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/support/{conversationId}

Read a Support conversation's messages

The platform admin's club-less token only. Newest first, 100 at most a page. Replies sent as Support carry the sender name Support. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listSupportMessages
Permission
admin

Parameters

NameInTypeDetails
conversationIdRequiredpathstring
cursorquerystring
limitqueryinteger

Responses

  • 200 Paginated messages (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /platform/support/{conversationId}

Reply in a Support conversation as Support

The platform admin's club-less token only. The reply shows as Support in the requester's thread and pushes to their devices. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
replyToSupport
Permission
admin

Parameters

NameInTypeDetails
conversationIdRequiredpathstring
Idempotency-KeyRequiredheaderstringStable caller-generated key; retries with the same body return the original message; the same key with a different body, on another target, or for something since withdrawn (such as an unsent message) answers 409

Request Body

Required, JSON

object

FieldTypeDetails
textstringmax length 8000
replyToMessageIdstring
attachmentIdsarray of stringmax items 8

Responses

  • 201 Reply sent (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT. (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /platform/support/{conversationId}/read

Mark a Support conversation read

The platform admin's club-less token only. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
markSupportThreadRead
Permission
admin

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Responses

  • 200 Marked read (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /platform/support/{conversationId}/archived

Archive or unarchive a Support conversation

The platform admin's club-less token only. The requester's next message brings an archived conversation back. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
setSupportThreadArchived
Permission
admin

Parameters

NameInTypeDetails
conversationIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
archivedRequiredboolean

Responses

  • 200 Saved (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/overview

Read the platform Overview: Atlas's own metrics and every connected dashboard

The platform admin's club-less token only. The same stored readings the console's /platform page shows, built nightly and on refresh. atlas is Atlas's own snapshot (people, revenue, conversion, training, messaging) and is present without section or with section=overview. providers holds one reading per outside dashboard (Stripe, PostHog, Clerk, Sentry, Expo, App Store, Google Play, OneSignal, Vercel, Convex): its state (connected, notConnected or unreadable), a message saying why when it is not connected or could not be read, and its newest data with the time it was read, kept when a later read fails. section limits it to one tab: revenue (Stripe), product (PostHog, Clerk), reliability (Sentry), releases (Expo, App Store, Google Play), push (OneSignal), infrastructure (Vercel, Convex). The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
getPlatformOverview
Permission
admin

Parameters

NameInTypeDetails
sectionquery"overview" | "revenue" | "product" | "reliability" | "releases" | "push" | "infrastructure"

Responses

  • 200 The platform Overview (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /platform/overview/refresh

Rebuild the platform Overview and read every connected dashboard again

The platform admin's club-less token only. Does what Refresh Now on the console's /platform page does. started is false when a build and every dashboard read is already running. Read the result with getPlatformOverview once refreshingSince and readingSince are null. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
refreshPlatformOverview
Permission
admin

Responses

  • 200 Refresh started (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/clubs

List every open club with its Club Admin, people counts and plan

The platform admin's club-less token only. The rows the console's /platform/clubs page shows, oldest club first, at most 2 a page because each row counts its club's people: the club, its Club Admin's name and email (left out when the Club Admin has none), counts (active coaches, roster athletes that use a plan slot, and group program members; a count past 1000 stops at 1001, and counts is null when the roster is too large to count) and plan, which is the same plan state the club's /platform page reads. Pass continueCursor back as cursor until isDone is true. Clubs still waiting on their Club Admin's invitation are listed by listClubOwnerInvitations. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listPlatformClubs
Permission
admin

Parameters

NameInTypeDetails
cursorquerystring
limitqueryinteger
namequerystringOnly clubs whose name starts with this text, ignoring case and extra spaces, sorted by name. A page can hold fewer clubs than limit, even none, while isDone is false.

Responses

  • 200 A page of clubs (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/clubs/{organizationId}/roster

List any club's active roster, revoked and unlinked profiles included

The platform admin's club-less token only. Every active profile and group program on the club's roster that is not a group's member, sorted by name, at most 500: the club's Active roster, with each coach's own training profile always included. invitationStatus revoked is a profile no account is linked to: an invitation a coach revoked, or the profile of an athlete who deleted their Atlas account before deletion archived it. Archive one with DELETE /platform/clubs/{organizationId}/athletes/{athleteId}. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listPlatformClubRoster
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring

Responses

  • 200 The club's active roster (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/clubs/{organizationId}/archived-athletes

List any club's archived athletes, sorted by name

The platform admin's club-less token only. What the club's Archived roster tab shows its Club Admin, at most 500. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listPlatformClubArchivedAthletes
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring

Responses

  • 200 The club's archived athletes (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /platform/clubs/{organizationId}/athletes/{athleteId}

Rename an athlete on any club's roster, or change the email they are invited at

The platform admin's club-less token only. What Edit does for an athlete on the console's /platform coach page. Send name and email (null for none). A joined athlete's email, or one with an invitation still pending, cannot change; another profile in the club with the same name answers 409. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
updatePlatformClubAthlete
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring
athleteIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringmin length 1
emailRequiredstring | null

Responses

  • 200 The athlete's profile (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /platform/clubs/{organizationId}/athletes/{athleteId}

Archive a profile on any club's roster without deleting its history

The platform admin's club-less token only. Does what archiving from the athlete's settings does for the club's Club Admin: the profile moves to the club's Archived tab, an unaccepted invitation is revoked, and its programs, records and logs stay. The club's coaches restore or delete it from there. A group program with active members is refused. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
archivePlatformClubAthlete
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring
athleteIdRequiredpathstring

Responses

  • 200 Profile archived (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /platform/clubs/{organizationId}/athletes/{athleteId}/permanently

Delete a profile or group program on any club's roster for good

The platform admin's club-less token only. Deletes for good, as Delete on the console's athlete settings does: the profile leaves the club's roster and Archived tab and everything Atlas holds for it in the club is deleted in the background. It cannot be undone; DELETE /platform/clubs/{organizationId}/athletes/{athleteId} archives instead. A group program with members, or an athlete who also coaches in the club, is refused with 400. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
deletePlatformClubAthlete
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring
athleteIdRequiredpathstring

Responses

  • 200 Profile deleted (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/desktop-reports

Read the Atlas Desktop customization reports coaches send

The platform admin's club-less token only. What the console's /platform/desktop page shows. reports summarizes the newest 200 coaches' latest reports (truncated says older ones were left out): ejected screens, overridden extension points, coach additions, screens built from an older default UI, build health per Atlas version and the reasons coaches shared. sharedChanges holds the 20 newest screen changes coaches chose to share, with their diffs. Neither names a coach. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
getDesktopCustomizationReports
Permission
admin

Responses

  • 200 Desktop customization reports (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/questionnaires

List Atlas's own questionnaires that every club can use

The platform admin's club-less token only. The list the console's /platform/questionnaires page shows: first the Atlas fallback for each use (isPostMeetFallback true, ids atlas_post_meet, atlas_pre_workout, atlas_post_workout), then every other Atlas questionnaire, with its question count. createAtlasQuestionnaire, updateAtlasQuestionnaire and deleteAtlasQuestionnaire change them. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listAtlasQuestionnaires
Permission
admin

Responses

  • 200 Atlas questionnaires (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

POST /platform/questionnaires

Create an Atlas questionnaire every club can use

The platform admin's club-less token only. What New Questionnaire does on the console's /platform/questionnaires page. Atlas holds up to 50 questionnaires; a name another Atlas questionnaire has answers 409. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
createAtlasQuestionnaire
Permission
admin

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringUnique among Atlas questionnaires, ignoring casemin length 1, max length 100
questionsRequiredarray of QuestionnaireQuestionmin items 1, max items 30
use"postMeet" | "preWorkout" | "postWorkout"postMeet (the default) for a questionnaire sent after meets or by hand; preWorkout or postWorkout for a check-in. It never changes: on a replace, a use that differs from the questionnaire's answers 400.
readinessReadinessSetup

Responses

  • 201 Questionnaire created (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/questionnaires/{questionnaireId}

Read one Atlas questionnaire and its questions

The platform admin's club-less token only. What the console's /platform/questionnaires page shows for one questionnaire: its use, name, questions, readiness setup when it has one, revision and when it last changed. A club's own questionnaire answers 404. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
getAtlasQuestionnaire
Permission
admin

Parameters

NameInTypeDetails
questionnaireIdRequiredpathstringAn Atlas questionnaire's id, or atlas_post_meet, atlas_pre_workout, atlas_post_workout for a use's Atlas fallback

Responses

  • 200 The Atlas questionnaire (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /platform/questionnaires/{questionnaireId}

Replace an Atlas questionnaire's name, questions and readiness

The platform admin's club-less token only. What Save does in the console's Atlas questionnaire editor, including for the built-in Atlas defaults (atlas_post_meet and the check-in ids), which clubs that use them see at once. Send If-Match with the revision from getAtlasQuestionnaire to refuse a stale write with 412. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
updateAtlasQuestionnaire
Permission
admin

Parameters

NameInTypeDetails
questionnaireIdRequiredpathstringAn Atlas questionnaire's id, or atlas_post_meet, atlas_pre_workout, atlas_post_workout for a use's Atlas fallback
If-Matchheaderstring

Request Body

Required, JSON

object

FieldTypeDetails
nameRequiredstringUnique among Atlas questionnaires, ignoring casemin length 1, max length 100
questionsRequiredarray of QuestionnaireQuestionmin items 1, max items 30
use"postMeet" | "preWorkout" | "postWorkout"postMeet (the default) for a questionnaire sent after meets or by hand; preWorkout or postWorkout for a check-in. It never changes: on a replace, a use that differs from the questionnaire's answers 400.
readinessReadinessSetup

Responses

  • 200 The questionnaire's new revision (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 412 The resource changed since its revision was read; read it again for the current revision (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /platform/questionnaires/{questionnaireId}

Delete an Atlas questionnaire, moving the clubs and athletes using it to the Atlas default

The platform admin's club-less token only. What Delete does on the console's /platform/questionnaires page. Clubs that chose it go back to the Atlas default for its use, and athletes who chose it to the Atlas post-meet questionnaire; GET /platform/questionnaires/{questionnaireId}/usage counts them first. The built-in Atlas defaults cannot be deleted (400). The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
deleteAtlasQuestionnaire
Permission
admin

Parameters

NameInTypeDetails
questionnaireIdRequiredpathstringAn Atlas questionnaire's id, or atlas_post_meet, atlas_pre_workout, atlas_post_workout for a use's Atlas fallback

Responses

  • 200 Questionnaire deleted (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/data-audit

Read the nightly data audit's open and recently resolved findings

The platform admin's club-less token only. What the console's /platform/data-audit page shows. Every night the deployment checks its own data against Atlas's invariants (group copies match what a fresh sync writes and belong to current members, references point to documents that exist, one active profile per address in a club, clubs within their plan's limits, scheduled messages sent, attachments whose files exist, open message history only for current chat members, roster chats holding only whom their roster rule wants, nothing left of a deleted athlete in the tables deletion empties, and no deleted minor's family thread past its reclaim). lastRun is the newest run with its status and counts, left out before the first. open holds up to 500 open findings, last seen first (openTruncated says more exist), and resolved the 50 most recently resolved. A finding names its invariant, table and document id only, never a name, email or message text. invariant keeps only that invariant's findings, reaching past the open list's cap. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
getPlatformDataAudit
Permission
admin

Parameters

NameInTypeDetails
invariantquery"programAthleteMissing" | "programClubMissing" | "programRevisionInvalid" | "programOutlineStale" | "groupCopySourceMissing" | "groupCopyNotAMember" | "groupCopyOutOfSync" | "groupCopyRevisionAhead" | "copyLinkProgramMissing" | "athleteClubMissing" | "athleteDuplicateActiveEmail" | "groupOnlyAthleteWithoutMembership" | "membershipAthleteNotActive" | "membershipGroupNotActive" | "membershipOfGroupRow" | "clubOverAthleteLimit" | "clubOverGroupMemberLimit" | "scheduledMessageStuck" | "attachmentFileMissing" | "openHistoryWithoutMembership" | "rosterChatMemberUnwanted" | "deletedAthleteDataLeft" | "deletedMinorFamilyThreadLeft"

Responses

  • 200 Data audit findings (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/api-tokens

List the platform admin's club-less API tokens and their audit log

The platform admin's club-less token only. What the console's /platform/api-tokens page shows: the platform admin's active club-less tokens and its newest ones (up to 20 of each), newest first, by name and display prefix with when each was created, last used, revoked and expires, and its permissions; and the newest 50 audit events (eventsTruncated says older ones exist), each naming what happened to which token and where. Never a token's secret or hash. Minting and revoking platform tokens stay in the console. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listPlatformApiTokens
Permission
admin

Responses

  • 200 Platform tokens and audit events (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/clubs/{organizationId}/coaches/{coachUserId}

Read a coach of any club: name, email and their settings in that club

The platform admin's club-less token only. A userId that is not an active Club Admin or coach of the club answers 404. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
getPlatformClubCoach
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring
coachUserIdRequiredpathstringThe coach's userId, as listed by the club's coaches

Responses

  • 200 The coach (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PATCH /platform/clubs/{organizationId}/coaches/{coachUserId}

Rename a coach of any club, or change their settings in that club

The platform admin's club-less token only. Does what a coach's Profile and Coaching do in Settings for the super admin in a club they opened. Send at least one field; the others keep their values. name renames the coach in every club they coach, with their own training profile there, as the coach saving their own name does (nothing, when every club already shows that name), and sets their sign-in name to it on every save, so their own Settings show it too and saving again retries a sign-in name Clerk did not take; a club whose training history is too large to rename keeps the old name, and rename lists those clubs with a notice. A name another athlete in one of those clubs already uses answers 409 and changes nothing. The settings fields change the coach's settings in this club only, as PATCH /settings does for a coach's own club; a field sent with its current value changes nothing, so showSelfAsAthlete true is refused only when it would turn on outside the club holding the coach's training profile. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
updatePlatformClubCoach
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring
coachUserIdRequiredpathstringThe coach's userId, as listed by the club's coaches

Request Body

Required, JSON

object

min properties 1

FieldTypeDetails
namestringmin length 2, max length 100
showSelfAsAthleteboolean
weekStartDay"sunday" | "monday"
defaultReadinessPercentAdjustmentboolean
defaultEstimatedPersonalRecordsboolean
defaultAthletesCanAddExercisesboolean
defaultLockProgramEdits"clubDefault" | "on" | "off"
autoMarkA1Primerboolean
trackPrimerRepsboolean

Responses

  • 200 The coach after the change (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /platform/clubs/{organizationId}/coaches/{coachUserId}

Remove an assistant coach from any club

The platform admin's club-less token only. What Remove Coach does on the console's /platform club page. Reassign the coach's athletes first; their templates and questionnaires pass to the primary owner and their own training profile is archived. A Club Admin must be returned to assistant coach first (409). The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
removePlatformClubCoach
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring
coachUserIdRequiredpathstringThe coach's userId, as listed by the club's coaches

Responses

  • 200 Coach removed (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 409 Conflicting or duplicate resource (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/clubs/{organizationId}/coaches

List any club's coaches and pending coach invitations

The platform admin's club-less token only. What the console's /platform club page lists: every coach with their role and assigned athlete count, and the coach invitations still waiting. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listPlatformClubCoaches
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring

Responses

  • 200 The club's coaches and pending invitations (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /platform/clubs/{organizationId}/coaches/{coachUserId}/role

Make any club's coach a Club Admin, or return a Club Admin to assistant coach

The platform admin's club-less token only. What Make Club Admin and Remove Club Admin do on the console's /platform club page. A club always keeps at least one Club Admin. When the Club Owner steps down, the longest-serving remaining Club Admin becomes the primary owner and a paid plan ends with its period. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
setPlatformClubCoachRole
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring
coachUserIdRequiredpathstringThe coach's userId, as listed by the club's coaches

Request Body

Required, JSON

object

FieldTypeDetails
roleRequired"owner" | "assistant"

Responses

  • 200 The coach with their new role (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

PUT /platform/clubs/{organizationId}/athletes/{athleteId}/coach

Choose which coach of any club coaches one of its athletes

The platform admin's club-less token only. What Move To Coach does on the console's /platform coach page. A group program's member follows the group's coach; reassign the group program instead. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
assignPlatformClubAthleteCoach
Permission
admin

Parameters

NameInTypeDetails
organizationIdRequiredpathstring
athleteIdRequiredpathstring

Request Body

Required, JSON

object

FieldTypeDetails
coachMembershipIdRequiredstringA coach's membershipId from listPlatformClubCoaches.

Responses

  • 200 Coach assigned (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/questionnaires/{questionnaireId}/usage

Count the clubs and athletes using an Atlas questionnaire

The platform admin's club-less token only. What the console's delete dialog counts before an Atlas questionnaire is deleted: the clubs that made it their default and the athletes who chose it. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
getAtlasQuestionnaireUsage
Permission
admin

Parameters

NameInTypeDetails
questionnaireIdRequiredpathstringA stored Atlas questionnaire's questionnaireId from listAtlasQuestionnaires; a built-in default's id (atlas_post_meet and the check-in ids) answers 404

Responses

  • 200 Clubs and athletes using it (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

DELETE /platform/api-tokens/{tokenId}

Revoke one of the platform admin's club-less tokens

The platform admin's club-less token only. What Revoke does on the console's /platform/api-tokens page: the token stops working at once. A tokenId from listPlatformApiTokens; a club token answers 404 here (revoke it with DELETE /tokens/{tokenId}). Revoking the token making the call is allowed. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
revokePlatformApiToken
Permission
admin

Parameters

NameInTypeDetails
tokenIdRequiredpathstring

Responses

  • 200 Token revoked (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 404 Resource not found (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/exercise-library/summary

Count the active clubs and how many hide the Atlas exercise library

The platform admin's club-less token only. The figures the console's /platform/exercises page shows above the Atlas library. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
getAtlasLibrarySummary
Permission
admin

Responses

  • 200 Club counts (object)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/wrapped

Read Atlas's Wrapped for the year

The platform admin's club-less token only. Atlas's year in review across every club as slides, each with its SVG image, as the console's /platform overview shows it while Wrapped is open in December. null outside that window or before the year's build has finished. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
getPlatformWrapped
Permission
admin

Parameters

NameInTypeDetails
formatquery"feed" | "story"feed is a square image for a feed post, story a tall one for a story. Defaults to feed.

Responses

  • 200 Atlas's Wrapped, or null (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

GET /platform/roadmap

Page through every roadmap item with who suggested it, for triage

Only the platform super admin's club-less token with the admin permission may do this. Every item with its author's name and clubs, 50 a page: by votes within one status, or newest first across several or all of them. The MCP connector has no tool for this: it acts for club coaches, and every /platform route is left out of it.

Operation ID
listRoadmapTriage
Permission
admin

Parameters

NameInTypeDetails
statusquerystringOne or more statuses separated by commas, such as planned,building; items in any of them are listed. Leave it out for every status.
cursorquerystring
limitqueryinteger

Responses

  • 200 A page of roadmap items (object)
  • 400 Invalid request (Error)
  • 401 Missing or invalid token (Error)
  • 403 Token lacks the required permission (Error)
  • 429 A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)

Schemas

Shared request and response shapes that the endpoints above link to.

GroupProgramSettings

object

FieldTypeDetails
joinCodeRequiredstring
joinEnabledRequiredboolean
joinBlurbRequiredstring | null
visibleWeeksAheadRequiredinteger
membersInClubChatRequiredboolean
activityAlertsRequiredboolean
joinUrlRequiredstring | nullformat uri
lockProgramEditsRequiredobjectThe group's Lock Program Edits for its member copies: choice (coachDefault, on or off), what it inherits, and whether the copies are locked now (locked, with source own, coach or club).
FieldTypeDetails
choiceRequired"coachDefault" | "on" | "off"
inheritedRequiredobject
FieldTypeDetails
lockedRequiredboolean
sourceRequired"coach" | "club"
lockedRequiredboolean
sourceRequired"own" | "coach" | "club"

ClubPlan

object

FieldTypeDetails
stateRequired"unbilled" | "complimentary" | "custom" | "free" | "pending_payment" | "paid" | "grace" | "lapsed"
athleteLimitRequiredinteger | nullIndividually coached athletes allowed; null is no limit
athleteSlotsUsedRequiredinteger
groupMemberLimitRequiredinteger | nullGroup members allowed: the included members plus the steps of 50 the owner pays for; null is no cap
groupMemberCountRequiredinteger
includedGroupMembersRequiredinteger
includesMeetCalRequiredboolean
graceEndsAtRequiredinteger | nullMilliseconds since the epoch, in grace only
billedThroughClubIdRequiredstring | nullThe club whose plan this club shares; its limits and usage count every club on that plan. Null when the club has its own plan
lockedRequiredbooleanOver the Free plan's limits after the plan ended: nobody can be added and programs cannot change
isOwnerRequiredboolean
ownerBillingRequiredobject | null
FieldTypeDetails
tierRequired"club" | "team" | "program" | "organization" | "quoted" | null
periodRequired"monthly" | "annual" | null
subscriptionStatusRequired"incomplete" | "incomplete_expired" | "trialing" | "active" | "past_due" | "canceled" | "unpaid" | "paused" | null
currentPeriodEndRequiredinteger | null
cancelAtPeriodEndRequiredboolean
ownerLeftRequiredboolean
foundingRequiredboolean
groupBlocksRequiredinteger
pendingChangeRequiredobject | null
FieldTypeDetails
tierRequired"club" | "team" | "program" | "organization"
periodRequired"monthly" | "annual"
hasBillingAccountRequiredboolean

TranscriptSummary

object

FieldTypeDetails
textRequiredstringmax length 1000
focusesRequiredarray of stringTechnique cues the coach gave in a video review; empty for every other recordingmax items 5

AttachmentTranscript

object

FieldTypeDetails
attachmentIdRequiredstring
messageIdRequiredstring
conversationIdRequiredstring
kindRequired"voice" | "video"
videoKindRequired"source" | "review" | null
exerciseNameRequiredstring | null
transcriptRequiredstring | nullmax length 20000
transcriptSummaryRequiredTranscriptSummary | null

RepTargets

object

Weekly rep targets by movement, as percentages of the week's total reps. Weightlifting blocks use snatch, clean, jerk, frontSquat, backSquat, snatchPull and cleanPull. Powerlifting and general fitness blocks use backSquat, benchPress and deadlift; send the weightlifting keys as empty strings. primer is the Primer share, for coaches with trackPrimerReps on in any sport.

FieldTypeDetails
snatchRequiredstring
cleanRequiredstring
jerkRequiredstring
frontSquatRequiredstring
backSquatRequiredstringThe back squat; a powerlifting or general fitness block's squat
snatchPullRequiredstring
cleanPullRequiredstring
benchPressstringPowerlifting and general fitness blocks
deadliftstringPowerlifting and general fitness blocks
primerstringExercises in the Primer category, shown and counted for coaches with trackPrimerReps on. A write that leaves primer out keeps the stored value, here and in each repTargetChanges entry for the same startWeek; send an empty string to clear it.

RepTargetChange

object

Rep target percentages that take over from startWeek until the next change. Week 1 always uses the block's own repTargets.

FieldTypeDetails
startWeekRequiredintegerWeek number these targets start onminimum 2
repTargetsRequiredRepTargets

RepTargetChanges

array of RepTargetChange

Later rep targets, in increasing startWeek order, each starting on or before the block's last week. On a replace, omit to keep the stored changes that still apply; send [] to clear them. Percentages are at most 16 characters.max items 52

IntensityMode

"percent" | "percent_range" | "rpe" | "rpe_range" | "weight" | "weight_range" | "none"

How working intensity is prescribed. Omit or percent for a single percent of a PR (existing default). weight prescribes an absolute load in `load` (kilograms). none prescribes no load: send no percent, rpe or load, and the athlete logs no weight. Range modes store a lower and upper bound. Velocity is a separate optional overlay, not an intensity mode. Range is never inferred: send the matching *_range mode. When a created, replaced or added exercise omits intensityMode and sends no percent, rpe or load, Atlas uses the Intensity of the library exercise with that name (percent when it is not in the library).

Load

IntensityValue

An absolute weight prescription in kilograms, from 0 to 500, in the same scalar, per-set, or range-pair shape as percent. Send it with intensityMode weight or weight_range. With loadUnit kg it must be whole kilograms; with loadUnit lb it must be whole pounds sent as pounds ÷ 2.2 rounded to a tenth of a kilogram (225 lb is 102.3). Mutually exclusive with percent and rpe.

LoadUnit

"kg" | "lb"

The unit the coach typed the load in; Atlas shows it back in that unit to coaches. Defaults to kg.

IntensityValue

number | array of number | array of array of number

A single value, a per-set array, or range pairs. For *_range modes a two-number array is one min/max used for every set, not two sets. Nested pairs vary the range per set.

Rpe

number | array of number | array of array of number

Rating of Perceived Exertion on a 1–10 scale. Same scalar, per-set, or range-pair shape as percent. Mutually exclusive with percent. May be combined with velocity.

Velocity

number | array of number | array of array of number

Bar velocity in meters per second, greater than 0 and at most 5. Same scalar, per-set, or range-pair shape as percent. Optional overlay that stacks with percent or RPE. Send velocityRange=true for a min/max used for every set; a two-number array without that flag is two per-set values.

Exercise

object

FieldTypeDetails
exerciseNumbernumber
exerciseNameRequiredstring
exerciseCategorystring
exerciseNotesstringmax length 2000
supersetGroupstring
supersetOrdernumber
setsintegerminimum 1, maximum 99
repsRequiredstring | array of stringPrescribed quantity per set, as numbers or MAX. A string applies to every set; an array varies by set. Repetition ranges such as 10-12 are valid. Timed work uses an s suffix (30s, 30-45s) and/or prescriptionUnit=seconds with a bare quantity (30, 30-45). With prescriptionUnit=minutes, each value is minutes as a decimal or m:ss (10.5 or 10:30, both ten and a half minutes; ranges such as 8:30-10); Atlas stores and returns it in seconds (630s, 510-600s), and any other form is rejected with INVALID_FORMAT. Distance work uses an m suffix (100m, 100-200m) and/or prescriptionUnit=meters with a bare quantity (100, 100-200). With prescriptionUnit=distance_time, each set is a distance in meters, miles or kilometers (400m, 1mi, 5km; a bare quantity is meters), and the athlete logs the time it took in setSeconds. MAX (any case) prescribes as many reps as the athlete can, and the athlete logs the reps they did; it is for repetition counts only, never inside a range or a complex. Text such as '10 each side', 'AMRAP', or '1+1' is rejected with INVALID_FORMAT; put instructions in exerciseNotes, and write a complex such as 3+1 with complex.
prescriptionUnit"reps" | "seconds" | "minutes" | "meters" | "distance_time"How to interpret reps. Omit or use reps for repetition counts. Use seconds for timed holds and isos. Use minutes for longer timed work such as conditioning intervals: reps are then entered in minutes and stored in seconds, so they read back with an s suffix. Use meters for distance work such as sprints and carries. Use distance_time for runs, rows and rides where the athlete logs the time a distance took: reps hold the distance with an m, mi or km suffix, targetSeconds the optional target time per set, and setSeconds the logged time. A switch between meters and distance_time keeps the distances (miles and kilometers convert to meters) and drops the times. Existing programs may omit this and encode time with an s suffix or distance with an m suffix on reps. When a created, replaced or added exercise omits it and its reps carry no suffix, Atlas uses the Unit of the library exercise with that name (reps when it is not in the library).
repsRangebooleanWhen true, each reps quantity is a low/high range (10-12, 30-45s, 100-200m; 8:30-10 under minutes). The program builder shows two fields. Omit or false for a single quantity per set.
itemsarray of objectThe things this exercise tracks, in the order the athlete sees them. Keys are reps, percent, weight, band, rpe, rir, time, distance, height, velocity, power, calories; at most 3 per exercise, each once, and at most one of percent, weight, band. Each item has targets: one entry per set in set order, a number, a {min, max} range, or null for no target. maxSets lists the set positions (from 0, in set order) whose target is MAX: as many as the athlete can (reps and other quantities) or working up to a max (weight and percent); the target at each listed position is null. reps, percent, weight, time, distance, height, velocity, power, calories take MAX, band, rpe and rir do not, and the athlete logs what they did. Omit maxSets, or send [], when no set is MAX. In reps text, MAX (any case) is a MAX reps set. Units: weight targets are kilograms with unit kg or lb choosing how they are shown; distance takes m, yd, mi, km, in or cm; height takes in or cm; time is whole seconds; velocity is m/s; power is watts; calories are cal; band is a resistance band size: 1 for Small, 2 for Medium, 3 for Large, 4 for Extra Large; percent is a percentage of the athlete's record: of the basis's repMax rep max when the percent item has a basis, which names a record lift ({ lift, repMax }) or a club lift from GET /club-lifts ({ clubLiftId, repMax }), estimated from that lift's 1RM with the Epley formula when that rep max is not stored, and with no suggested weight when the athlete has no PR for it, otherwise of the 1RM of the lift the exercise's category, library entry or name points to. When items are sent they decide the prescription, and Atlas rewrites reps, prescriptionUnit, intensityMode, percent, rpe, load, loadUnit, velocity and targetSeconds from them for older apps. When items are omitted, Atlas reads the prescription from those fields.max items 3
FieldTypeDetails
keyRequired"reps" | "percent" | "weight" | "band" | "rpe" | "rir" | "time" | "distance" | "height" | "velocity" | "power" | "calories"
unit"kg" | "lb" | "m" | "yd" | "mi" | "km" | "in" | "cm"
basisobject | object
targetsRequiredarray of null | number | object
maxSetsarray of number
itemValuesarray of objectWhat the athlete logged per item, one entry per set in set order, null for a set not logged. Values use the item's stored units; the athlete's weight under percent is in kilograms; band is a resistance band size: 1 for Small, 2 for Medium, 3 for Large, 4 for Extra Large. Atlas also writes setWeights, setSeconds and loggedVelocity from them for older apps.
FieldTypeDetails
keyRequired"reps" | "percent" | "weight" | "band" | "rpe" | "rir" | "time" | "distance" | "height" | "velocity" | "power" | "calories"
valuesRequiredarray of number | null
complexobjectMakes the exercise a complex such as 3+1: 2 to 5 parts in order, each with a display name and the program category its reps count toward (one of accessory, back squat, clean, clean and jerk, clean pull, front squat, jerk, primer, snatch, snatch pull, untracked, bench press, deadlift). reps has one entry per set in set order, each with one whole number from 1 to 50 per part; a set past the end repeats the last entry. Weekly rep allocation counts each part's reps toward its category, and nothing when the exercise's own category is one of primer, accessory, plyo, isometric, untracked. A part in untracked counts toward nothing: no rep allocation, training volume, personal records or meet plans. The exercise needs the reps item; Atlas fills its targets with each set's total (4 for 3+1) and writes reps as text like "3+1" for older apps. Omit for a plain exercise.
FieldTypeDetails
partsRequiredarray of object
FieldTypeDetails
nameRequiredstring
categoryRequiredstring
repsRequiredarray of array of number
circuitobjectMakes the exercise a circuit. A circuit is one exercise whose exerciseName is the circuit's name. format is rounds (Rounds), forTime (For Time), amrap (AMRAP) or emom (EMOM). rounds and forTime take rounds (1 to 50) and may take restSeconds between rounds (0 to 600); forTime may take timeCapSeconds (whole seconds up to 120 minutes). amrap and emom take durationSeconds instead, in whole minutes up to 120; emom also takes intervalSeconds (1 to 5 whole minutes, dividing durationSeconds) and emomStyle, everyMovement (every movement each interval) or alternate (the movements take the intervals in turn: with emomGroupSizes, such as [2, 2], the first 2 movements share interval 1, the next 2 interval 2, and so on, the sizes adding up to the movement count; without it, one movement per interval). movements holds 1 to 12 movements in order, each with a name, a category (kept for reference; every circuit rep counts as accessory) and items whose targets are per round, so reps targets [21, 15, 9] write 21-15-9; a target list shorter than the round count repeats its last value. A circuit's reps count toward no lift in rep allocation; a circuit never feeds personal records, rep maxes, estimated 1RMs or meet plans. A circuit cannot also carry items or complex. Atlas writes sets as the round count, reps as one blank per round and prescriptionUnit reps for older apps. The athlete's log rides along: each movement's itemValues (one entry per round), coachMovement (the coach's movement when the athlete switched it), roundStatuses (one per round) and result: { kind: time, seconds } for Rounds or For Time, or { kind: rounds, rounds, reps } for AMRAP. Adding an exercise with no circuit, items or complex whose exerciseName is a circuit saved in the club or Atlas exercise library copies that saved plan in. Omit for a plain exercise.
FieldTypeDetails
formatRequired"rounds" | "forTime" | "amrap" | "emom"
roundsnumber
durationSecondsnumber
intervalSecondsnumber
emomStyle"everyMovement" | "alternate"
emomGroupSizesarray of number
timeCapSecondsnumber
restSecondsnumber
movementsRequiredarray of object
FieldTypeDetails
nameRequiredstring
categoryRequiredstring
itemsRequiredarray of object
itemValuesarray of object
coachMovementobject
roundStatusesarray of "pending" | "complete" | "miss"
resultobject | object
weightsnumber
setWeightsarray of number
targetSecondsarray of integerTarget time in whole seconds per set for a distance_time exercise, in set order. 0 means no target for that set.
setSecondsarray of integerAthlete-logged time in whole seconds per set for a distance_time exercise, in set order. 0 means no time logged. A completed set at a run PR distance (1 mile, 2 miles, 5K, 10K, half marathon, marathon, within 0.5%) raises a General Fitness athlete's run PR when it is faster.
percentIntensityValuePercent of a personal record. Greater than 0 and at most 200, with at most one decimal (72.5, not 72.25); more is a 400 VALIDATION_ERROR whose message names the field. Mutually exclusive with rpe. May be combined with velocity. Omit intensityMode or set it to percent for a single-value prescription.
intensityModeIntensityMode
rpeRpe
loadLoad
loadUnitLoadUnit
velocityVelocity
velocityRangebooleanWhen true, velocity stores a lower and upper bound. A two-number array without this flag remains two per-set values.
loggedVelocitynumber | array of numberAthlete-measured bar speed in m/s, one entry per set in set order, like setWeights. 0 marks a set that was not measured; a single number is the first set. Written by the athlete app; independent of the coach velocity prescription. Lists saved before this placeholder existed skip unmeasured sets instead of holding 0, so their entries may not line up with set numbers.
setStatusesarray of "pending" | "complete" | "miss"
completedbooleandefault false
athleteCommentsstringmax length 1000

Day

object

FieldTypeDetails
dayNumbernumber
dayLabelstringThe session's name, such as Heavy Snatch. A weekday on its own is refused: the weekday comes from scheduledDate.
scheduledDatestringThe date the session is on: the one field that places it on the calendar. Send it on every session; a session sent without one is placed by its week and day number for now, and a later API version will require it.format date
completedbooleandefault false
rating"Trash" | "Below Average" | "Average" | "Above Average" | "Crushing It"
sessionIntensitynumber
sessionDurationMsnumberminimum 0
sessionStartedAtintegerWhen the athlete started the workout timer, in epoch milliseconds. Send with sessionStartUtcOffsetMinutes.minimum 1577836800000, less than 4102444800000
sessionStartUtcOffsetMinutesintegerThe athlete's UTC offset when the workout started, in minutes east of UTC (UTC-5 is -300). Send with sessionStartedAt.minimum -720, maximum 840
sessionCommentsstringmax length 2000
coachNotesstringmax length 2000
completedAtnumber
exercisesRequiredarray of Exercise

DayPatch

object

FieldTypeDetails
targetDayNumberintegerminimum 1
dayLabelstring | nullThe session's name; null clears it. A weekday on its own is refused.
scheduledDatestring | nullMoves the session to this date; null puts it back on its week and day number.format date
completedboolean
rating"Trash" | "Below Average" | "Average" | "Above Average" | "Crushing It" | null
sessionIntensitynumber | null
sessionDurationMsnumber | nullminimum 0
sessionCommentsstring | nullmax length 2000
coachNotesstring | nullmax length 2000

ExercisePatch

object

FieldTypeDetails
targetExerciseNumberintegerminimum 1
exerciseNamestringSwitches the movement. Unless this request also sends prescriptionUnit, the exercise takes the new movement's library Unit: a change between counted reps, time and distance clears reps and set statuses, and seconds and minutes convert. Unless it sends intensityMode, percent, rpe or load, it takes the library Intensity: a different kind clears percent, rpe, load and velocity. The set count is kept.
applyToLaterWeeksbooleanWith exerciseName, also switches the movement in every later week where the same day's exercise in the same position still holds the old movement. Sessions that are completed or have logged work are left unchanged. Only the movement, its category and the library defaults carry over; other fields in this request change the given week only. Refused without exerciseName or with athlete-logged fields.
exerciseCategorystring | null
exerciseNotesstring | nullmax length 2000
supersetGroupstring | null
supersetOrdernumber | null
setsinteger | nullminimum 1, maximum 99
repsstring | array of stringPrescribed quantity per set, as numbers or MAX. A string applies to every set; an array varies by set. Repetition ranges such as 10-12 are valid. Timed work uses an s suffix (30s, 30-45s) and/or prescriptionUnit=seconds with a bare quantity (30, 30-45). With prescriptionUnit=minutes, each value is minutes as a decimal or m:ss (10.5 or 10:30, both ten and a half minutes; ranges such as 8:30-10); Atlas stores and returns it in seconds (630s, 510-600s), and any other form is rejected with INVALID_FORMAT. Distance work uses an m suffix (100m, 100-200m) and/or prescriptionUnit=meters with a bare quantity (100, 100-200). With prescriptionUnit=distance_time, each set is a distance in meters, miles or kilometers (400m, 1mi, 5km; a bare quantity is meters), and the athlete logs the time it took in setSeconds. MAX (any case) prescribes as many reps as the athlete can, and the athlete logs the reps they did; it is for repetition counts only, never inside a range or a complex. Text such as '10 each side', 'AMRAP', or '1+1' is rejected with INVALID_FORMAT; put instructions in exerciseNotes, and write a complex such as 3+1 with complex.
prescriptionUnit"reps" | "seconds" | "minutes" | "meters" | "distance_time" | null
repsRangeboolean | nullSet true for a low/high quantity range. Null or false clears the range flag without removing reps values.
weightsnumber | null
setWeightsarray of number | null
targetSecondsarray of integer | null
itemsarray of object | nullSend items to set what the exercise tracks; null returns it to the prescription fields.
itemValuesarray of object | nullWhat the athlete logged per item; null clears the logged values.
circuitTextstringA circuit typed in plain words, as an alternative to circuit, such as "3 rounds for time, 15 min cap: 10 burpees, 15 KB swings @ 24kg, 200m row". Atlas reads it as POST /circuits/parse does, matching each movement against the club and Atlas exercise libraries, and adds words it cannot place to exerciseNotes. Text that is not a valid circuit answers 400 VALIDATION_ERROR with the reason. Send circuit or circuitText, not both.max length 2000
circuitobject | nullSend a circuit to make the exercise one; it replaces the exercise's items, itemValues and complex, and Atlas writes sets, reps and prescriptionUnit for older apps. null makes it a plain exercise again. A circuit sent without any logged rounds keeps what the athlete already logged when its movements still line up with the stored ones, by name in the same order.
complexobject | nullSend a complex to make the exercise one such as 3+1; null makes it a plain exercise again. Sending reps, a prescriptionUnit other than reps, items without a reps item, or reps item targets other than the complex's per-set totals, without complex also makes it plain. Renaming the exercise or changing its category without complex names the parts for the new lift and keeps their reps.
setSecondsarray of integer | null
percentIntensityValue | nullSet to switch this exercise to percent intensity and clear rpe. At most one decimal, as on the program body. Velocity is left unchanged. Null clears percent without changing mode unless intensityMode or rpe is also sent.
intensityModeIntensityMode | null
rpeRpe | null
loadLoad | nullSet to switch this exercise to weight intensity and clear percent and rpe. Null clears load and loadUnit.
loadUnitLoadUnit | null
velocityVelocity | nullOptional velocity overlay. Null clears velocity and velocityRange without changing intensityMode, percent, or rpe.
velocityRangeboolean | nullSet true to store velocity as a range. Null or false clears the range flag without removing velocity values.
setStatusesarray of "pending" | "complete" | "miss" | null
completedboolean
athleteCommentsstring | nullmax length 1000

Week

object

FieldTypeDetails
weekNumbernumber
daysRequiredarray of Day

ProgramInput

any | any

FieldTypeDetails
athleteIdstringStable roster ID; preferred over athleteName
athleteNamestring
programNameRequiredstringmin length 1, max length 120
startDateRequiredstringformat date
weekCountnumber
repTargetsRepTargets
repTargetChangesRepTargetChanges
weekTotalsarray of object
FieldTypeDetails
weekNumberRequirednumber
totalRequiredstring
weeksRequiredarray of Week

ProgramReplaceInput

any | any

FieldTypeDetails
athleteIdstringStable roster ID; preferred over athleteName
athleteNamestring
programNameRequiredstringmin length 1, max length 120
startDateRequiredstringformat date
weekCountnumber
repTargetsRepTargets
repTargetChangesRepTargetChanges
weekTotalsarray of object
FieldTypeDetails
weekNumberRequirednumber
totalRequiredstring
weeksRequiredarray of Week
sessionOriginsarray of SessionOriginWhere each sent session came from: for each sent weekNumber and dayNumber, the storedWeekNumber and storedDayNumber of the stored session it carries. With it, the athlete's comments and circuit logs that the request leaves out stay with that session wherever it moved. Each stored session may be named once; a sent session left out starts as a new session. Without it, a session keeps them only on the same day number with the same movements, or when its movements match exactly one stored day of the week.
loggedDayEditsarray of LoggedDayEditThe days with logged work this replace edits, as the console's save sends them. A logged day left out keeps what is stored.

LoggedDayEdit

object

FieldTypeDetails
weekNumberRequirednumber
dayNumberRequirednumber
storedExerciseIndexesRequiredarray of number | nullOne entry per exercise sent for this day, in order: the zero-based position of the stored exercise it edits, or null for a new exercise.

SessionOrigin

object

FieldTypeDetails
weekNumberRequirednumber
dayNumberRequirednumber
storedWeekNumberRequirednumber
storedDayNumberRequirednumber

TemplateInput

object

FieldTypeDetails
programNameRequiredstringmin length 1, max length 120
sport"weightlifting" | "powerlifting" | "general_fitness"The sport a new template is programmed for; left out, the club's sport (getClubSettings). A template's sport never changes: replacing one with another sport is refused with 400. It is assigned only to athletes and groups of the same sport.
folderIdstring | nullTemplate-folder ID. Omit when updating to preserve the current folder; use null to move the template to the root.
sourceProgramIdstringThe athlete program these weeks were copied from, as Save To Library on the console sends it. The template keeps the program as the coach wrote it: exercises and sessions the athlete added are left out, and a movement or prescription the athlete changed goes back to the coach's. A program the token cannot read answers 404.
weekCountnumber
repTargetsRepTargets
repTargetChangesRepTargetChanges
weekTotalsarray of object
FieldTypeDetails
weekNumberRequirednumber
totalRequiredstring
weeksRequiredarray of object
FieldTypeDetails
weekNumbernumber
daysRequiredarray of object
FieldTypeDetails
dayNumbernumber
weekday"sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"The weekday the session is on. Assigning the template puts it on that weekday of each program week. Send it on every session; a session sent without one takes its day number's weekday column for now.
dayLabelstringThe session's name. A weekday on its own is refused.
coachNotesstringmax length 2000
exercisesRequiredarray of object

TemplateAssignmentInput

any | any

FieldTypeDetails
athleteIdstring
athleteNamestring
programNameRequiredstringmin length 1, max length 120
startDateRequiredstringformat date

PersonalRecordInput

object

FieldTypeDetails
exerciseNameRequiredstringNormalized before it is stored. Spellings of a record lift are stored as its id: snatch, clean, jerk, clean_jerk, power_snatch, power_clean, push_press, snatch_balance, overhead_squat, back_squat, front_squat, bench_press, deadlift. Aliases such as "C&J", "clean and jerk", "bench", "competition bench", "BP", "DL" and "conventional deadlift" count as spellings. Variations such as "Sumo Deadlift" or "Snatch Deadlift" are not record lifts. Any other exercise keeps its spelling, trimmed with whitespace collapsed, and matches an existing record regardless of case and punctuation. Weightlifting athletes track snatch, clean, jerk, clean_jerk, power_snatch, power_clean, push_press, snatch_balance, overhead_squat, back_squat, front_squat as record lifts; powerlifting and general fitness athletes track back_squat, bench_press, deadlift. Records of another sport's lifts stay stored.min length 1, max length 120
repMaxRequiredintegerA record lift or club lift takes 1 up to its top rep max and any rep max up to 10 a coach opened for the athlete (GET …/personal-records/opened-rep-maxes). A coach's save above the top, up to 10, opens that rep max. Any other exercise takes any rep max.minimum 1
weightRequirednumberKilograms, at most 1500. For a club lift measured in something other than weight (its measure in GET /club-lifts), the value in the measure's stored unit (height in cm, distance in m, time in s, velocity in m/s, power in W, calories in cal, reps in reps), above 0 and within that measure's range; anything else answers 400.minimum 0, maximum 100000
recordedAtnumberUnix timestamp in milliseconds; defaults to the time of the write when omittedminimum 0
clubLiftIdstringA clubLiftId from GET /club-lifts. The record is stored under the lift's current name, so exerciseName may be any spelling. A lift of another club or sport, an archived lift and a rep max above its topRepMax that is not opened are refused; an exerciseName that spells an active club lift of the athlete's sport gets the same checks.

ExerciseLibraryInput

object

FieldTypeDetails
nameRequiredstring
primary"Accessory" | "Back Squat" | "Bench Press" | "Clean" | "Clean And Jerk" | "Deadlift" | "Front Squat" | "Jerk" | "Snatch"Movement category, one of: Accessory, Back Squat, Bench Press, Clean, Clean And Jerk, Deadlift, Front Squat, Jerk, Snatch. Matching ignores case and spacing and reads "&" or "+" as "and", and the value is stored as listed ("clean & jerk" is stored as Clean And Jerk). Any other value is rejected with VALIDATION_ERROR, including the retired Primaries Squat, Plyo, and Isometric (use Back Squat or Front Squat, or Accessory), unless the exercise already holds that value.
secondarystring
linkstringYouTube video URL. Required for an Atlas exercise and optional for a club exercise; any link sent must be a YouTube video.format uri
prescriptionUnit"reps" | "seconds" | "minutes" | "meters" | "distance_time"The Unit this exercise is measured in: reps, seconds, minutes, meters or distance_time. Omit for reps. Picking, switching or adding the exercise in a program applies it, and Coach API program writes that omit prescriptionUnit use it.
intensityMode"percent" | "weight" | "rpe" | "none"The Intensity this exercise is prescribed with: percent, weight, rpe or none (no load; the athlete logs no weight). Omit for percent. Picking, switching or adding the exercise in a program applies it, and Coach API program writes that omit intensityMode and every intensity value use it.
defaultItemsarray of objectThe items this exercise starts with when it is picked, switched to or added in a program, with no targets. Keys are reps, percent, weight, band, rpe, rir, time, distance, height, velocity, power, calories; at most 3 per exercise, each once, and at most one of percent, weight, band. Omit for reps and percent. Sending defaultItems also sets prescriptionUnit and intensityMode to their closest match for older apps.
FieldTypeDetails
keyRequired"reps" | "percent" | "weight" | "band" | "rpe" | "rir" | "time" | "distance" | "height" | "velocity" | "power" | "calories"
unit"kg" | "lb" | "m" | "yd" | "mi" | "km" | "in" | "cm"
basisobject | object
notesstringPlain-text notes athletes see beside the exercise while they train: cues, setup and anything else they should know. Trimmed, at most 2000 characters; an empty value stores none. A club's notes reach its own athletes, an Atlas exercise's reach every club that uses the Atlas library.max length 2000
circuitobjectSaves this exercise as a circuit, plan only. A circuit is one exercise whose exerciseName is the circuit's name. format is rounds (Rounds), forTime (For Time), amrap (AMRAP) or emom (EMOM). rounds and forTime take rounds (1 to 50) and may take restSeconds between rounds (0 to 600); forTime may take timeCapSeconds (whole seconds up to 120 minutes). amrap and emom take durationSeconds instead, in whole minutes up to 120; emom also takes intervalSeconds (1 to 5 whole minutes, dividing durationSeconds) and emomStyle, everyMovement (every movement each interval) or alternate (the movements take the intervals in turn: with emomGroupSizes, such as [2, 2], the first 2 movements share interval 1, the next 2 interval 2, and so on, the sizes adding up to the movement count; without it, one movement per interval). movements holds 1 to 12 movements in order, each with a name, a category (kept for reference; every circuit rep counts as accessory) and items whose targets are per round, so reps targets [21, 15, 9] write 21-15-9; a target list shorter than the round count repeats its last value. A circuit's reps count toward no lift in rep allocation; a circuit never feeds personal records, rep maxes, estimated 1RMs or meet plans. A circuit cannot also carry items or complex. Atlas writes sets as the round count, reps as one blank per round and prescriptionUnit reps for older apps. Placing it in a program or adding it by name copies the plan; the program never links back to the library. Club and Atlas exercises take a circuit; an athlete's personal exercise cannot.
FieldTypeDetails
formatRequired"rounds" | "forTime" | "amrap" | "emom"
roundsnumber
durationSecondsnumber
intervalSecondsnumber
emomStyle"everyMovement" | "alternate"
emomGroupSizesarray of number
timeCapSecondsnumber
restSecondsnumber
movementsRequiredarray of object
FieldTypeDetails
nameRequiredstring
categoryRequiredstring
itemsRequiredarray of object

ExerciseLibraryPatch

object

min properties 1

FieldTypeDetails
primary"Accessory" | "Back Squat" | "Bench Press" | "Clean" | "Clean And Jerk" | "Deadlift" | "Front Squat" | "Jerk" | "Snatch" | nullMovement category, one of: Accessory, Back Squat, Bench Press, Clean, Clean And Jerk, Deadlift, Front Squat, Jerk, Snatch. Matching ignores case and spacing and reads "&" or "+" as "and", and the value is stored as listed ("clean & jerk" is stored as Clean And Jerk). Any other value is rejected with VALIDATION_ERROR, including the retired Primaries Squat, Plyo, and Isometric (use Back Squat or Front Squat, or Accessory), unless the exercise already holds that value. Send null to clear it.
secondarystring | null
linkstring | nullA non-null value must be a YouTube video URLformat uri
prescriptionUnit"reps" | "seconds" | "minutes" | "meters" | "distance_time" | nullSend null to return it to reps.
intensityMode"percent" | "weight" | "rpe" | "none" | nullSend null to return it to percent.
defaultItemsarray of object | nullSend null to return it to its Unit and Intensity.
notesstring | nullSend null or an empty string to clear them.
circuitobject | nullSend a circuit plan to save the exercise as a circuit; null makes it a plain exercise again. Programs that already placed it keep their copy.

BulkPersonalRecordInput

object

FieldTypeDetails
recordsRequiredarray of PersonalRecordInputmax items 100

MoveDayInput

object

FieldTypeDetails
targetDateRequiredstringformat date

CompleteWorkoutInput

object

FieldTypeDetails
ratingRequired"Trash" | "Below Average" | "Average" | "Above Average" | "Crushing It"
sessionIntensityRequirednumberminimum 0, maximum 10
sessionDurationMsnumberminimum 0
sessionStartedAtintegerWhen the athlete started the workout timer, in epoch milliseconds. Send with sessionStartUtcOffsetMinutes.minimum 1577836800000, less than 4102444800000
sessionStartUtcOffsetMinutesintegerThe athlete's UTC offset when the workout started, in minutes east of UTC (UTC-5 is -300). Send with sessionStartedAt.minimum -720, maximum 840

Error

object

FieldTypeDetails
errorRequiredobject
FieldTypeDetails
codeRequired"UNAUTHENTICATED" | "FORBIDDEN" | "NOT_FOUND" | "CONFLICT" | "VALIDATION_ERROR" | "PAYLOAD_TOO_LARGE" | "RATE_LIMITED" | "PRECONDITION_REQUIRED" | "PRECONDITION_FAILED" | "RESULT_SET_TOO_LARGE" | "PLAN_LIMIT_REACHED" | "UPSTREAM_ERROR" | "INTERNAL_ERROR"
messageRequiredstring
detailsany

ProgramMutationResult

object

FieldTypeDetails
dataRequiredobject
FieldTypeDetails
programIdRequiredstring
createdRequiredboolean
revisionRequiredintegerminimum 1

Athlete

object

FieldTypeDetails
athleteIdRequiredstring
nameRequiredstring
locationRequiredstring | nullLocation. Free text, trimmed.max length 2000
sportRequired"weightlifting" | "powerlifting" | "general_fitness"
groupIdsRequiredarray of string
hasIndividualCoachingRequiredboolean

AthleteCreate

object

FieldTypeDetails
nameRequiredstringmin length 2, max length 100
sport"weightlifting" | "powerlifting" | "general_fitness"A new athlete's sport. Left out, the athlete takes the club's sport (getClubSettings). An athlete the request adopts keeps theirs.
weightClassstring | nullWeight Class. Free text, trimmed. Not for general fitness athletes: a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.max length 40
heightstring | nullHeight. Free text, trimmed.max length 40
locationstring | nullLocation. Free text, trimmed.max length 2000
occupationstring | nullOccupation. Free text, trimmed.max length 2000
athleticHistorystring | nullAthletic History. Free text, trimmed.max length 4000
injuryHistorystring | nullInjury History. Free text, trimmed. Reads return null to a token without the write permission.max length 4000
shortTermGoalsstring | nullShort Term Goals. Free text, trimmed.max length 4000
longTermGoalsstring | nullLong Term Goals. Free text, trimmed.max length 4000
biggestWeaknessstring | nullBiggest Weakness. Free text, trimmed.max length 2000
biggestStrengthsstring | nullBiggest Strengths. Free text, trimmed.max length 2000
athleteIdentitystring | nullWhat kind of athlete are you and what kind of athlete do you want to be?max length 4000
weightliftingMotivationstring | nullWhy weightlifting and why our team?max length 4000
careerSuccessstring | nullWhen you retire from the sport and look back at your career, what would have had to happen to make it a success?max length 4000
gender"Men" | "Women" | nullMen or Women. Not for general fitness athletes: a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.
daysPerWeekAvailableinteger | nullDays a week the athlete can train. General fitness athletes only: for any other sport a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.minimum 1, maximum 7
equipmentAccess"home" | "gym" | "both" | nullWhere the athlete can train: home, gym, or both. General fitness athletes only: for any other sport a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.
currentActivityLevel"sedentary" | "lightly_active" | "active" | "very_active" | nullHow active the athlete is before starting. General fitness athletes only: for any other sport a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.
ageinteger | nullWhole years. Reads count it from birthDate when one is set. Writing age is kept for older clients; it shows only while no birthDate is set.minimum 1, maximum 120
birthDatestring | nullYYYY-MM-DD, counted on the athlete's own calendar; under 18 is a minor. Reads return the athlete's birthdate from an earlier club when this profile has none. Send null to clear this profile's own date; the app asks the athlete again only when no earlier profile has one. Refused with FORBIDDEN on the token owner's own athlete profile when another coach coaches them. Reads answer null, with age still counted, to the platform admin's token for an athlete in a club its owner does not coach in.format date
coachNotesstring | nullCoach-only notes the athlete never sees. Reads return null to a token without the write permission. Reads also return null, and writes are refused with FORBIDDEN, on the token owner's own athlete profile when another coach coaches them.max length 4000

AthleteProfile

object

FieldTypeDetails
athleteIdRequiredstring
nameRequiredstring
emailRequiredstring | nullformat email
signsInThroughGuardianRequiredbooleanTrue for an athlete under 18 with no email of their own, who signs in through their guardian (POST /athletes/through-guardian); their email is null.
invitationStatusRequired"not_invited" | "pending" | "accepted" | "failed" | "revoked"
invitedAtRequirednumber | null
joinedAtRequirednumber | null
inviteErrorRequiredstring | null
outputAthleteIdRequiredstring | null
outputAthleteNameRequiredstring | null
isSelfRequiredboolean
sportRequired"weightlifting" | "powerlifting" | "general_fitness"
groupIdsRequiredarray of string
hasIndividualCoachingRequiredboolean
sportsRequiredarray of "weightlifting" | "powerlifting" | "general_fitness"
athleticHistoryRequiredstring | nullAthletic History. Free text, trimmed.max length 4000
injuryHistoryRequiredstring | nullInjury History. Free text, trimmed. Reads return null to a token without the write permission.max length 4000
weightClassRequiredstring | nullWeight Class. Free text, trimmed. Not for general fitness athletes: a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.max length 40
genderRequired"Men" | "Women" | nullMen or Women. Not for general fitness athletes: a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.
heightRequiredstring | nullHeight. Free text, trimmed.max length 40
ageRequiredinteger | nullWhole years. Reads count it from birthDate when one is set. Writing age is kept for older clients; it shows only while no birthDate is set.minimum 1, maximum 120
shortTermGoalsRequiredstring | nullShort Term Goals. Free text, trimmed.max length 4000
longTermGoalsRequiredstring | nullLong Term Goals. Free text, trimmed.max length 4000
biggestWeaknessRequiredstring | nullBiggest Weakness. Free text, trimmed.max length 2000
biggestStrengthsRequiredstring | nullBiggest Strengths. Free text, trimmed.max length 2000
locationRequiredstring | nullLocation. Free text, trimmed.max length 2000
occupationRequiredstring | nullOccupation. Free text, trimmed.max length 2000
athleteIdentityRequiredstring | nullWhat kind of athlete are you and what kind of athlete do you want to be?max length 4000
weightliftingMotivationRequiredstring | nullWhy weightlifting and why our team?max length 4000
careerSuccessRequiredstring | nullWhen you retire from the sport and look back at your career, what would have had to happen to make it a success?max length 4000
daysPerWeekAvailableRequiredinteger | nullDays a week the athlete can train. General fitness athletes only: for any other sport a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.minimum 1, maximum 7
equipmentAccessRequired"home" | "gym" | "both" | nullWhere the athlete can train: home, gym, or both. General fitness athletes only: for any other sport a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.
currentActivityLevelRequired"sedentary" | "lightly_active" | "active" | "very_active" | nullHow active the athlete is before starting. General fitness athletes only: for any other sport a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.
coachNotesRequiredstring | nullCoach-only notes the athlete never sees. Reads return null to a token without the write permission. Reads also return null, and writes are refused with FORBIDDEN, on the token owner's own athlete profile when another coach coaches them.max length 4000
birthDateRequiredstring | nullYYYY-MM-DD, counted on the athlete's own calendar; under 18 is a minor. Reads return the athlete's birthdate from an earlier club when this profile has none. Send null to clear this profile's own date; the app asks the athlete again only when no earlier profile has one. Refused with FORBIDDEN on the token owner's own athlete profile when another coach coaches them. Reads answer null, with age still counted, to the platform admin's token for an athlete in a club its owner does not coach in.format date

AthleteProfilePatch

object

min properties 1

FieldTypeDetails
namestringmin length 2, max length 100
emailstring | nullformat email
outputAthleteIdstring | nullAn Output Sports athlete ID from GET /output/athletes, or null to disconnect. The club's own Output account must list it, no other active athlete in the club may be linked to it, and an assistant coach may link only athletes assigned to them. Atlas fills in outputAthleteName from Output Sports.
outputAthleteNamestring | nullIgnored: Atlas takes the name from Output Sports. Accepted beside outputAthleteId for older clients.
weightClassstring | nullWeight Class. Free text, trimmed. Not for general fitness athletes: a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.max length 40
heightstring | nullHeight. Free text, trimmed.max length 40
locationstring | nullLocation. Free text, trimmed.max length 2000
occupationstring | nullOccupation. Free text, trimmed.max length 2000
athleticHistorystring | nullAthletic History. Free text, trimmed.max length 4000
injuryHistorystring | nullInjury History. Free text, trimmed. Reads return null to a token without the write permission.max length 4000
shortTermGoalsstring | nullShort Term Goals. Free text, trimmed.max length 4000
longTermGoalsstring | nullLong Term Goals. Free text, trimmed.max length 4000
biggestWeaknessstring | nullBiggest Weakness. Free text, trimmed.max length 2000
biggestStrengthsstring | nullBiggest Strengths. Free text, trimmed.max length 2000
athleteIdentitystring | nullWhat kind of athlete are you and what kind of athlete do you want to be?max length 4000
weightliftingMotivationstring | nullWhy weightlifting and why our team?max length 4000
careerSuccessstring | nullWhen you retire from the sport and look back at your career, what would have had to happen to make it a success?max length 4000
gender"Men" | "Women" | nullMen or Women. Not for general fitness athletes: a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.
daysPerWeekAvailableinteger | nullDays a week the athlete can train. General fitness athletes only: for any other sport a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.minimum 1, maximum 7
equipmentAccess"home" | "gym" | "both" | nullWhere the athlete can train: home, gym, or both. General fitness athletes only: for any other sport a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.
currentActivityLevel"sedentary" | "lightly_active" | "active" | "very_active" | nullHow active the athlete is before starting. General fitness athletes only: for any other sport a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing.
ageinteger | nullWhole years. Reads count it from birthDate when one is set. Writing age is kept for older clients; it shows only while no birthDate is set.minimum 1, maximum 120
birthDatestring | nullYYYY-MM-DD, counted on the athlete's own calendar; under 18 is a minor. Reads return the athlete's birthdate from an earlier club when this profile has none. Send null to clear this profile's own date; the app asks the athlete again only when no earlier profile has one. Refused with FORBIDDEN on the token owner's own athlete profile when another coach coaches them. Reads answer null, with age still counted, to the platform admin's token for an athlete in a club its owner does not coach in.format date
coachNotesstring | nullCoach-only notes the athlete never sees. Reads return null to a token without the write permission. Reads also return null, and writes are refused with FORBIDDEN, on the token owner's own athlete profile when another coach coaches them.max length 4000

OutputAthlete

object

FieldTypeDetails
idRequiredstring
firstNameRequiredstring
lastNameRequiredstring
fullNameRequiredstring

CoachSettings

object

The coach's settings in the token's club. Each club the coach coaches keeps its own.

FieldTypeDetails
showSelfAsAthleteRequiredbooleanWhether the coach's own training profile in this club is on their roster.
weekStartDayRequired"sunday" | "monday"The day the coach's calendars in this club start the week.
defaultReadinessPercentAdjustmentRequiredbooleanWhether readiness adjusts percentages for the coach's athletes in this club with no setting of their own.
defaultEstimatedPersonalRecordsRequiredbooleanWhether, for the coach's athletes in this club with no setting of their own, a made set of more than one rep can set records through an estimate: the 1RM and every lower tracked rep max, for every record lift and club lift tracked by weight. On unless the coach turned it off; with it off, only a set of exactly that many reps sets a rep max.
defaultAthletesCanAddExercisesRequiredbooleanWhether the coach's athletes in this club with no setting of their own may add exercises to a session, or a workout to a rest day, in the app. On unless the coach turned it off; with it off those athletes can't add either.
defaultLockProgramEditsRequired"clubDefault" | "on" | "off"Lock Program Edits for the coach's assigned athletes and groups in this club whose own lockProgramEdits is coachDefault. clubDefault follows the club's lockProgramEdits; on or off wins over it. A locked athlete logs each workout as written: they mark sets made or missed and log values the coach did not prescribe, but cannot add, swap or remove exercises, change set counts or items, or log a weight, rep count or other prescribed value outside the plan (403 PROGRAM_EDITS_LOCKED). They can still undo their own earlier swaps and additions, move sessions, comment and check in. Coaches are never locked.
autoMarkA1PrimerRequiredbooleanMark A1 As Primer, for this club's programs. While on, naming the lift in a session's slot A1 in the coach console, Atlas Desktop or the app's coach mode stores the Primer category on it: block A position 1, or the session's first lift when it has no block letter. Clearing or repeating the name, moving lifts and other slots leave the category alone. Program writes through this API keep the categories they send. Off unless the coach turned it on. Only Olympic weightlifting clubs use it: in a club of another sport it reads false and never marks a lift, while a value sent here is still stored and applies again if the club's sport changes back to Olympic weightlifting.
trackPrimerRepsRequiredbooleanTrack Primer Reps, for this club's programs. While on, the coach's rep targets in the coach console and Atlas Desktop add a Primer column (repTargets.primer) that counts toward the block's 100%, and exercises in the Primer category, or complex parts filed as Primer, count toward it. Program exports by this coach show the Primer column too. Off unless the coach turned it on; with it off a stored repTargets.primer is kept but neither shown nor counted. Every sport offers it.

Program

object

FieldTypeDetails
programIdRequiredstring
athleteIdRequiredstring | null
athleteNameRequiredstring
programNameRequiredstring
startDateRequiredstringformat date
revisionRequiredintegerminimum 1
sportRequired"weightlifting" | "powerlifting" | "general_fitness"The sport the block is programmed for, set from its athlete or group when it is created: it decides the Categories, rep targets, and the maxes percents load from. A group member's copy has its group's.
weekCountRequiredintegerminimum 1
repTargetsRequiredRepTargets
repTargetChangesRequiredRepTargetChanges
weekTotalsRequiredarray of object
FieldTypeDetails
weekNumberRequiredintegerminimum 1
totalRequiredstring
weeksRequiredarray of object
FieldTypeDetails
weekNumberRequirednumber
daysRequiredarray of object
FieldTypeDetails
dayNumberRequirednumber
dayLabelstring
completedRequiredboolean
rating"Trash" | "Below Average" | "Average" | "Above Average" | "Crushing It"
readinessSelectedboolean
readinessPercentnumber
sessionIntensitynumber
sessionDurationMsnumberminimum 0
sessionStartedAtintegerWhen the athlete started the workout timer, in epoch milliseconds. Send with sessionStartUtcOffsetMinutes.minimum 1577836800000, less than 4102444800000
sessionStartUtcOffsetMinutesintegerThe athlete's UTC offset when the workout started, in minutes east of UTC (UTC-5 is -300). Send with sessionStartedAt.minimum -720, maximum 840
sessionCommentsstringmax length 2000
coachNotesstringmax length 2000
completedAtnumber
athleteAddedboolean
scheduledDatestringThe date the session is on: the one field that places it on the calendar. Send it on every session; a session sent without one is placed by its week and day number for now, and a later API version will require it.format date
exercisesRequiredarray of object

Template

object

FieldTypeDetails
templateIdRequiredstring
programNameRequiredstringmin length 1, max length 120
folderIdRequiredstring | nullThe template folder holding it; null at the root.
revisionRequiredintegerminimum 1
sportRequired"weightlifting" | "powerlifting" | "general_fitness"The sport the template is programmed for. It never changes, and the template is assigned only to athletes and groups of the same sport.
weekCountRequirednumber
repTargetsRequiredRepTargets
repTargetChangesRequiredRepTargetChanges
weekTotalsRequiredarray of object
FieldTypeDetails
weekNumberRequirednumber
totalRequiredstring
weeksRequiredarray of object
FieldTypeDetails
weekNumberRequirednumber
daysRequiredarray of object
FieldTypeDetails
dayNumberRequirednumber
dayLabelstring
coachNotesstringmax length 2000
exercisesRequiredarray of object
weekday"sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"

TemplateFolder

object

FieldTypeDetails
folderIdRequiredstring
nameRequiredstring
createdAtRequirednumber

TemplateFolderInput

object

FieldTypeDetails
nameRequiredstringmin length 1, max length 80

TemplateFolderAssignmentInput

object

FieldTypeDetails
folderIdRequiredstring | nullUse null to move the template to the root.

ProgramEnvelope

object

FieldTypeDetails
dataRequiredProgram

NullableProgramEnvelope

object

FieldTypeDetails
dataRequiredProgram | null

TemplateEnvelope

object

FieldTypeDetails
dataRequiredTemplate

TemplateFolderEnvelope

object

FieldTypeDetails
dataRequiredTemplateFolder

TemplateFolderListEnvelope

object

FieldTypeDetails
dataRequiredarray of TemplateFolder

ProgramPageEnvelope

object

FieldTypeDetails
dataRequiredobject
FieldTypeDetails
pageRequiredarray of Program
continueCursorRequiredstring
isDoneRequiredboolean
splitCursorstring | null
pageStatus"SplitRecommended" | "SplitRequired" | null

TemplatePageEnvelope

object

FieldTypeDetails
dataRequiredobject
FieldTypeDetails
pageRequiredarray of Template
continueCursorRequiredstring
isDoneRequiredboolean
splitCursorstring | null
pageStatus"SplitRecommended" | "SplitRequired" | null

AthleteComment

object

An athlete's own comment on a workout or one exercise. Coach notes are never included.

FieldTypeDetails
keyRequiredstringStable comment key (programId:week:day:session or programId:week:day:exercise:N). Percent-encode it in a path.max length 200
programIdRequiredstring
athleteIdRequiredstring
athleteNameRequiredstring
weekNumberRequiredinteger
dayNumberRequiredinteger
dayLabelstring
scheduledDateRequiredstringformat date
kindRequired"session" | "exercise"
exerciseNamestring
commentRequiredstring
commentedAtRequirednumberWhen the athlete last saved the comment, in epoch milliseconds. Comments saved before save times were recorded use their session's completion time, or noon UTC on its scheduled date (see commentedAtPrecision).
commentedAtPrecisionRequired"time" | "day"day when commentedAt only stands in for the scheduled date: show the date, not a clock time.
readRequiredbooleanWhether the token owner marked this comment read since its text last changed

AthleteCommentFeedEnvelope

object

FieldTypeDetails
dataRequiredobject
FieldTypeDetails
commentsRequiredarray of AthleteCommentmax items 500
hasMoreRequiredboolean
unreadCountRequiredintegerUnread comments matching athleteId and sinceDate, on this page or not
athletesRequiredarray of objectEvery athlete with at least one comment, for filtering. With athleteId, only that athlete's programs are read, so it lists that athlete alone when they have a comment
FieldTypeDetails
athleteIdRequiredstring
nameRequiredstring

CommentReadStateEnvelope

object

FieldTypeDetails
dataRequiredobject
FieldTypeDetails
keyRequiredstring
readRequiredboolean

CurrentProgramSummaryEnvelope

object

FieldTypeDetails
dataRequiredobject | null
FieldTypeDetails
programNameRequiredstring
startDateRequiredstringformat date
statusRequired"upcoming" | "active" | "ended"
currentWeekRequiredinteger | nullNull before the program starts
weekCountRequiredinteger
totalSessionsRequiredinteger
completedSessionsRequiredinteger
missedSessionsRequiredintegerUntouched sessions dated before today
averageRatingRequirednumber | nullSession rating from 1 (Trash) to 5 (Crushing It)
ratedSessionsRequiredinteger
lowRatingsRequiredintegerSessions rated Below Average or Trash
highRatingsRequiredintegerSessions rated Above Average or Crushing It

WeekPatch

object

FieldTypeDetails
targetWeekNumberintegerminimum 1
weekTotalstring

CopyWeekInput

object

FieldTypeDetails
targetWeekNumberRequiredintegerminimum 1

CopyDayInput

object

FieldTypeDetails
targetWeekNumberRequiredintegerminimum 1
targetDayNumberRequiredintegerminimum 1
targetDatestringformat date

CopyExercisesInput

object

FieldTypeDetails
exerciseNumbersRequiredarray of integerExercises of the source day to copy. Copies keep the source day's order, whatever order these are sent in.min items 1, max items 40
targetDayNumberRequiredintegerThe day in each target week that receives the copiesminimum 1
targetWeekNumbersRequiredarray of integerWeeks of the target program to paste into. A week the program does not have is refused with NOT_FOUND.min items 1
targetProgramIdstringAnother program the coach manages to paste into, such as another athlete's or a group's; the revision sent is then that program's. Omit to paste into the source program.

WeightCalculationInput

object

FieldTypeDetails
exerciseNameRequiredstring
repMaxintegerminimum 1
percentagesRequiredarray of numbermin items 1, max items 50
roundingIncrementnumbergreater than 0

MeetInput

object

FieldTypeDetails
meetNameRequiredstringmin length 1, max length 120
meetDateRequiredstringWithin the next three years (36 months from tomorrow in UTC); a later date answers 400. An update that keeps a meet's stored date is not checked against the limit.format date

QuestionnaireQuestion

object

A question is required of the athlete unless optional is true. A choice question also needs options and allowMultiple; other kinds ignore them.

FieldTypeDetails
kindRequired"text" | "scale" | "yesNo" | "choice"text: long text answer. scale: a whole number from 1 to 5. yesNo: yes or no. choice: one or more of options.
promptRequiredstringmin length 1, max length 300
optionsarray of stringDistinct, ignoring casemin items 2, max items 10
allowMultiplebooleanWhether the athlete may pick more than one option
optionalbooleanWhether the athlete may leave the question unanswered; false when left out
minLabelstringScale questions only: the words under 1max length 100
maxLabelstringScale questions only: the words under 5max length 100
metric"sleep" | "energy" | "soreness" | "stress" | "goal" | "movementQuality" | "focus" | "bodyFeel" | "cues"Check-in questions only: the Atlas chart the answer feeds. goal and cues are text questions; the rest are scale questions. Each tag appears at most once, only in the check-in it belongs to (sleep, energy, soreness, stress and goal before a workout; movementQuality, focus, bodyFeel and cues after). Keep a tag on a reworded or moved question to keep its chart; drop the question to stop collecting it.

QuestionnaireInput

object

FieldTypeDetails
nameRequiredstringUnique in the club, ignoring casemin length 1, max length 100
questionsRequiredarray of QuestionnaireQuestionmin items 1, max items 30
use"postMeet" | "preWorkout" | "postWorkout"postMeet (the default) for a questionnaire sent after meets or by hand; preWorkout or postWorkout for a check-in athletes answer around each session. It never changes after creation.
putInUsebooleanFor a check-in: also make it the club's check-in. Takes effect only for a club admin; anyone else gets a library copy.
readinessReadinessSetup

ReadinessSetup

object

Only on a preWorkout check-in: the readiness rating athletes give before training, and how much each level changes their percentages

FieldTypeDetails
askedRequiredbooleanAsk Readiness; off means athletes never see the rating
adjustsPercentsRequiredbooleanAdjust Percentages; off means the rating is recorded but loads do not change
levelsRequiredarray of objectOne per level, lowest first: Trash, Below Average, Average, Above Average, Crushing Itmin items 5, max items 5
FieldTypeDetails
labelRequiredstringUnique among the levels, ignoring casemin length 1, max length 30
percentRequiredintegerminimum -20, maximum 20

CheckInChoiceInput

object

FieldTypeDetails
useRequired"preWorkout" | "postWorkout"
questionnaireIdstring | nullA club or Atlas check-in for that use; null or left out follows the level above
coachUserIdstringCoach level only: the coach whose athletes this applies to; yourself by default. Only a club admin may name another coach.

QuestionnairePatch

object

FieldTypeDetails
namestringmin length 1, max length 100
questionsarray of QuestionnaireQuestionmin items 1, max items 30
readinessReadinessSetup

QuestionnaireSettingInput

object

FieldTypeDetails
questionnaireIdRequiredstring | nullA club or Atlas questionnaire id, atlas_post_meet for the Atlas post-meet questionnaire, or null for Off

CheckInSettingInput

object

FieldTypeDetails
useRequired"preWorkout" | "postWorkout"
questionnaireIdRequiredstringA club or Atlas check-in for that use: atlas_pre_workout, atlas_post_workout, or a club questionnaire id

AthleteQuestionnaireSettingInput

object

FieldTypeDetails
choiceRequiredstringdefault to follow the club default, off, atlas_post_meet, or a club or Atlas questionnaire id

QuestionnaireSendInput

object

FieldTypeDetails
questionnaireIdRequiredstringA post-meet club or Atlas questionnaire id, or atlas_post_meet; a check-in cannot be sent

WeekNoteInput

object

FieldTypeDetails
noteRequiredstringmin length 1, max length 280

MeetPlanLift

object

FieldTypeDetails
openerstring | numberAny text up to 20 characters, such as 80 or 68-70. A number is kept as its text in kilograms. Plans return text.max length 20
secondstring | numberAny text up to 20 characters, such as 80 or 68-70. A number is kept as its text in kilograms. Plans return text.max length 20
thirdstring | numberAny text up to 20 characters, such as 80 or 68-70. A number is kept as its text in kilograms. Plans return text.max length 20
warmupsRequiredarray of objectmax items 30
FieldTypeDetails
attemptsOutRequiredintegerminimum 1, maximum 30
valueRequiredstringmax length 12

MeetPlanTotals

object

Bests or goals in kilograms: snatch and cleanAndJerk on a weightlifting plan, squat, bench and deadlift on a powerlifting plan, and total on either. A lift of the other sport is refused.

FieldTypeDetails
snatchnumbergreater than 0, maximum 1000
cleanAndJerknumbergreater than 0, maximum 1000
squatnumbergreater than 0, maximum 1000
benchnumbergreater than 0, maximum 1000
deadliftnumbergreater than 0, maximum 1000
totalnumbergreater than 0, maximum 1000

MeetPlanInput

object

A plan is made for one of the athlete's sports with meets, which sport names. A weightlifting plan has snatch and cleanAndJerk columns; a powerlifting plan has squat, bench and deadlift columns, and its snatch and cleanAndJerk are stored blank. A column of the other sport is refused unless it is blank.

FieldTypeDetails
meetIdstring | nullThe id of one of the athlete's meets (getMeet) that the plan is for. Its name and date are not copied; send meetName and meetDate too. Omit it to keep the plan's current link, or send null to clear it. Deleting the meet clears it.
meetNameRequiredstringmax length 120
meetDatestringformat date
sport"weightlifting" | "powerlifting" | "general_fitness"Which of the athlete's sports with meets this is for: their own sport combined with their groups'. Leave it out for the first of them, their own sport before their groups' in the order they joined. A sport the athlete doesn't train is refused with VALIDATION_ERROR ("This athlete does not train that sport").
weightClassstringmax length 40
entryTotalnumbergreater than 0, maximum 1000
coachNamestringmax length 80
snatchMeetPlanLift
cleanAndJerkMeetPlanLift
squatMeetPlanLift
benchMeetPlanLift
deadliftMeetPlanLift
competitionAfterSnatchstringmax length 2000
competitionBestsMeetPlanTotals
trainingBestsMeetPlanTotals
competitionGoalsMeetPlanTotals

MeetPlanPageExport

object

Full meet-plan page payload used for PDF export: worksheet fields plus recent lifts, check-in flags, last meet, and two-year history. Recent lifts are the plan sport's competition lifts.

FieldTypeDetails
athleteNameRequiredstring
exportedAtRequiredstringformat date-time
todayRequiredstringformat date
planIdRequiredstring
sportRequired"weightlifting" | "powerlifting" | "general_fitness"The sport the plan was made for.
metaRequiredobject
attemptsRequiredobjectOne column per lift of the plan's sport: snatch and cleanAndJerk, or squat, bench and deadlift.
totalsRequiredarray of objectBests and goals rows with label, total and the plan's lifts, keyed as in attempts.
recentLiftsRequiredarray of object
checkInFlagsRequiredarray of object
lastMeetRequiredobject | null
historyRequiredobject | null

SessionCheckIn

object

FieldTypeDetails
checkInIdRequiredstring
dateRequiredstringformat date
programIdRequiredstring
weekNumberRequiredintegerminimum 1
dayNumberRequiredintegerminimum 1
preRequiredobject | null
FieldTypeDetails
sleepintegerminimum 1, maximum 5
energyintegerminimum 1, maximum 5
sorenessinteger1 is none, 5 is extrememinimum 1, maximum 5
stressinteger1 is none, 5 is extrememinimum 1, maximum 5
goalstring
submittedAtRequirednumber
questionnaireId"atlas_post_meet" | "atlas_pre_workout" | "atlas_post_workout" | string
revisionnumber
namestring
questionsarray of object | object | object | objectThe questions the athlete answered, when the check-in came from the club's chosen questionnaire; absent on check-ins saved before custom check-ins
answersarray of object | object | object | object | nullOne answer per question, in order; null for an optional question left unanswered
postRequiredobject | null
FieldTypeDetails
movementQualityintegerminimum 1, maximum 5
focusintegerminimum 1, maximum 5
missesRequired"0" | "1" | "2" | "3" | "4" | "5+"
bodyFeelintegerminimum 1, maximum 5
cuesstring
submittedAtRequirednumber
questionnaireId"atlas_post_meet" | "atlas_pre_workout" | "atlas_post_workout" | string
revisionnumber
namestring
questionsarray of object | object | object | objectThe questions the athlete answered, when the check-in came from the club's chosen questionnaire; absent on check-ins saved before custom check-ins
answersarray of object | object | object | object | nullOne answer per question, in order; null for an optional question left unanswered

OuraMetricPoint

object

FieldTypeDetails
dateRequiredstringformat date
sleepDurationHoursRequirednumber | null
averageHrvMsRequirednumber | null
averageHeartRateBpmRequirednumber | null
readinessScoreRequirednumber | null

OuraMetricsEnvelope

object

FieldTypeDetails
dataRequiredobject
FieldTypeDetails
connectedRequiredboolean
pointsRequiredarray of OuraMetricPointmax items 400

NutritionDailyPoint

object

Daily food-diary totals from the athlete's connected nutrition app, FatSecret. Days without diary entries are omitted.

FieldTypeDetails
dateRequiredstringformat date
caloriesRequirednumber | nullEnergy intake in kcal
proteinGramsRequirednumber | null
carbohydrateGramsRequirednumber | null
fatGramsRequirednumber | null

NutritionMetricsEnvelope

object

FieldTypeDetails
dataRequiredobject
FieldTypeDetails
connectedRequiredboolean
pointsRequiredarray of NutritionDailyPointmax items 400

NutritionFoodEntry

object

One logged food item with its meal slot and nutrients as recorded by the athlete.

FieldTypeDetails
entryIdRequiredstring
dateRequiredstringformat date
mealRequired"breakfast" | "lunch" | "dinner" | "other"
nameRequiredstringmax length 300
descriptionRequiredstringServing and food, for example "1 cup Instant Oatmeal"max length 300
caloriesRequirednumber | null
proteinGramsRequirednumber | null
carbohydrateGramsRequirednumber | null
fatGramsRequirednumber | null
fiberGramsRequirednumber | null
sugarGramsRequirednumber | null
sodiumMilligramsRequirednumber | null

NutritionFoodEntriesEnvelope

object

FieldTypeDetails
dataRequiredobject
FieldTypeDetails
connectedRequiredboolean
entriesRequiredarray of NutritionFoodEntrymax items 200

MeetResultInput

object

A meet of one of the athlete's sports, which sport names. A weightlifter's needs every snatch and clean & jerk attempt in whole kilograms, at most 1000 either way (negative for a miss, 0 for none), and no powerlifting. A powerlifter's needs powerlifting and leaves the snatch and clean & jerk attempts out (or 0); its sourceKey, local or override, must be date::meet name::equipment::division, trimmed, space-collapsed and lowercased, made from the meet's own date, meet, equipment and division (a 400 otherwise). A key only matches a stored meet of that sport.

FieldTypeDetails
sourceKeyRequiredstring
kindRequired"local" | "override"
federationRequiredstring
meetRequiredstringmin length 1, max length 120
dateRequiredstringformat date
nameRequiredstring
ageRequiredstring
bodyWeightRequirednumber
snatch1integerminimum -1000, maximum 1000
snatch2integerminimum -1000, maximum 1000
snatch3integerminimum -1000, maximum 1000
cj1integerminimum -1000, maximum 1000
cj2integerminimum -1000, maximum 1000
cj3integerminimum -1000, maximum 1000
powerliftingPowerliftingMeetFields
sport"weightlifting" | "powerlifting" | "general_fitness"Which of the athlete's sports with meets this is for: their own sport combined with their groups'. Leave it out when they have one; with more it is required (VALIDATION_ERROR "This athlete trains more than one sport, so name the sport"). A sport the athlete doesn't train is refused with VALIDATION_ERROR ("This athlete does not train that sport").

ClubSettings

object

FieldTypeDetails
sportRequired"weightlifting" | "powerlifting" | "general_fitness"The sport the club's new athletes, group programs and coaches' own training profiles start with. Changing it never changes anyone already added.
athletePersonalRecordEditingRequiredbooleanWhether the club's athletes add, change and delete their own PRs, for every athlete whose personalRecordEditing is clubDefault. On unless a Club Admin turned it off. Coaches always edit their athletes' PRs, and PRs from logged training and meets are recorded either way.
programVisibilityRequired"wholeProgram" | "oneWeek" | "twoWeeks" | "threeWeeks" | "fourWeeks"How far past the current week the club's athletes and their guardians see their program in the app, for every athlete whose programVisibility is clubDefault. wholeProgram unless a Club Admin limited it. Past and current weeks, and any week the athlete has logged in, always show; coaches always see the whole program. The app hides the weeks; the API still returns them to anyone allowed to read the program.
lockProgramEditsRequiredbooleanLock Program Edits for the club: whether athletes whose own setting is coachDefault, and whose assigned coach's defaultLockProgramEdits is clubDefault, are locked. Off unless a Club Admin turned it on. A locked athlete logs each workout as written: they mark sets made or missed and log values the coach did not prescribe, but cannot add, swap or remove exercises, change set counts or items, or log a weight, rep count or other prescribed value outside the plan (403 PROGRAM_EDITS_LOCKED). They can still undo their own earlier swaps and additions, move sessions, comment and check in. Coaches are never locked.
photoUrlRequiredstring | nullWhere the club's photo is served, to signed-in members of the club, beside the club's exercises; null without a photo, when members see the club's initials.
workoutCheckInsRequiredbooleanPre- and Post-Workout Check-Ins. Asks every athlete in the club about sleep, energy and soreness before each workout, and how it went after. On unless a Club Admin turned it off; while off, no athlete in the club gets them, whatever their own workoutCheckIns.

ClubCoach

object

FieldTypeDetails
membershipIdRequiredstring
userIdRequiredstring
displayNameRequiredstring | null
emailRequiredstring | nullShown to a Club Admin, and to the coach themselves; null otherwise.
roleRequired"owner" | "assistant"owner is a Club Admin.
isClubOwnerRequiredboolean
assignedAthleteCountRequiredinteger | nullShown to a Club Admin, and to the coach themselves; null otherwise.

PendingAssistantInvitation

object

FieldTypeDetails
invitationIdRequiredstring
nameRequiredstring
emailRequiredstring
roleRequired"owner" | "assistant"The club role the coach gets on accepting: owner is a Club Admin. A coach who is already a Club Admin of the club stays one.
deliveryStatusRequired"pending" | "sent" | "failed"
sentAtRequirednumberMilliseconds since the Unix epoch.
expiresAtRequirednumberMilliseconds since the Unix epoch.

ArchivedAthlete

object

FieldTypeDetails
athleteIdRequiredstring
nameRequiredstring
emailRequiredstring | null
assignedCoachUserIdRequiredstring | null
archivedAtRequirednumber | null
rosterKind"group"

ClubTransfer

object

FieldTypeDetails
transferIdRequiredstring
athleteIdRequiredstring
athleteNameRequiredstring
sourceOrganizationIdRequiredstring
destinationOrganizationIdRequiredstring
destinationCoachUserIdRequiredstring | null
createdAtRequirednumber
directionRequired"incoming" | "outgoing"incoming transfers are this club's to accept; either club may cancel.

TransferDestination

object

FieldTypeDetails
organizationIdRequiredstring
nameRequiredstring

AthleteCoachingSettings

object

FieldTypeDetails
athleteIdRequiredstring
readinessPercentAdjustmentRequiredbooleanWhether the athlete's daily readiness adjusts their prescribed percentages now: their own choice, else their assigned coach's defaultReadinessPercentAdjustment, else off.
readinessPercentAdjustmentChoiceRequired"coachDefault" | "on" | "off"The athlete's own choice: coachDefault follows the assigned coach's defaultReadinessPercentAdjustment.
estimatedPersonalRecordsRequired"coachDefault" | "on" | "off"Whether, for this athlete, a made set of more than one rep can set records through an estimate: the 1RM and every lower tracked rep max, for every record lift and club lift tracked by weight. With it off, only a set of exactly that many reps sets a rep max. coachDefault follows the assigned coach's defaultEstimatedPersonalRecords; an athlete with no assigned coach in a club gets estimates.
estimatedPersonalRecordsEnabledRequiredbooleanWhat estimatedPersonalRecords resolves to for this athlete now.
personalRecordEditingRequired"clubDefault" | "on" | "off"Whether the athlete adds, changes and deletes their own PRs. clubDefault follows the club's athletePersonalRecordEditing; on or off wins over it. Coaches always edit the athlete's PRs, and PRs from logged training and meets are recorded either way.
personalRecordEditingEnabledRequiredbooleanWhat personalRecordEditing resolves to for this athlete now.
canAddExercisesRequired"coachDefault" | "on" | "off"Whether the athlete may add exercises to a session, or a workout to a rest day, in the app. With it off the athlete can't, though they can still log, swap a movement and change set counts on what is written; their coaches can still add. coachDefault follows the assigned coach's defaultAthletesCanAddExercises; an athlete with no assigned coach in a club may add.
canAddExercisesEnabledRequiredbooleanWhat canAddExercises resolves to for this athlete now. A locked athlete (lockProgramEditsInEffect) can't add either way.
lockProgramEditsRequired"coachDefault" | "on" | "off"The athlete's own Lock Program Edits choice, or the group program's for its members' copies. coachDefault follows the assigned coach's defaultLockProgramEdits, which in turn may follow the club's lockProgramEdits; on or off wins over both. A locked athlete logs each workout as written: they mark sets made or missed and log values the coach did not prescribe, but cannot add, swap or remove exercises, change set counts or items, or log a weight, rep count or other prescribed value outside the plan (403 PROGRAM_EDITS_LOCKED). They can still undo their own earlier swaps and additions, move sessions, comment and check in. Coaches are never locked.
lockProgramEditsInEffectRequiredbooleanWhether the athlete's 1-1 programs, or the group's member copies, are locked now.
lockProgramEditsSetByRequired"own" | "coach" | "club"Which level decided lockProgramEditsInEffect: own (this athlete or group), coach (the assigned coach's default) or club.
programVisibilityRequired"clubDefault" | "wholeProgram" | "oneWeek" | "twoWeeks" | "threeWeeks" | "fourWeeks"How far past the current week the athlete and their guardians see their program in the app. clubDefault follows the club's programVisibility; any other value wins over it. Past and current weeks, and any week the athlete has logged in, always show; coaches always see the whole program.
programVisibilityInEffectRequired"wholeProgram" | "oneWeek" | "twoWeeks" | "threeWeeks" | "fourWeeks"What programVisibility resolves to for this athlete now.
sportRequired"weightlifting" | "powerlifting" | "general_fitness"The athlete's own sport, or the group program's. The sports an athlete trains combine their own with their groups' sports.
sportLockedRequiredbooleanWhether the sport follows a group program the athlete belongs to, so only the group's sport changes it. A coach who manages the athlete or group changes any other sport at any time.
sportInUseRequiredbooleanWhether changing the sport now changes anything already there: an accepted invite, a MeetCal or Open Powerlifting link, or any program, PR, meet, meet result, meet plan or questionnaire for an athlete; a member or a program for a group. The console and Atlas Desktop ask the coach to confirm first.
workoutCheckInsRequiredbooleanThe athlete's own Pre- and Post-Workout Check-Ins switch. Asks this athlete about sleep, energy and soreness before each workout, and how it went after. On unless a coach turned it off.
workoutCheckInsEnabledRequiredbooleanWhether the athlete gets them now: their own switch and the club's workoutCheckIns are both on. Turned off for the whole club in Settings → Club Defaults, so this athlete gets none.

PendingOwnerInvitation

object

FieldTypeDetails
invitationIdRequiredstring
organizationIdRequiredstringThe club the invitation opens once accepted.
organizationNameRequiredstring
nameRequiredstring
emailRequiredstring
deliveryStatusRequired"pending" | "sent" | "failed"
deliveryErrorRequiredstring | null
invitedAtRequirednumber
expiresAtRequirednumber

PlatformClubPlan

object

FieldTypeDetails
organizationIdRequiredstring
stateRequired"unbilled" | "complimentary" | "custom" | "free" | "pending_payment" | "paid" | "grace" | "lapsed"
complimentaryMeetCalRequiredbooleanA complimentary or custom club's coaches, roster athletes and guardians get MeetCal. False on every other plan.
openSubscriptionRequiredbooleanA Stripe subscription still bills the club, so its plan cannot be set by hand.
customPriceRequiredobject | nullA custom club's price, which Atlas bills outside Stripe: amountCents each period, the note, and since, when the club went on the custom plan. Null on every other plan.
FieldTypeDetails
amountCentsRequirednumber
periodRequired"monthly" | "annual"
noteRequiredstring
sinceRequirednumber

ClubLift

object

A lift the club tracks PRs for, beside the record lifts of its sport.

FieldTypeDetails
clubLiftIdRequiredstringUse it in a percent item's basis ({ clubLiftId, repMax }) and in PR writes.
nameRequiredstringThe exercise's current name. Athletes' PRs for the lift are stored under it and follow a rename.
sportRequired"weightlifting" | "powerlifting" | "general_fitness"
topRepMaxRequiredintegerminimum 1, maximum 10
measureRequired"weight" | "height" | "distance" | "time" | "velocity" | "power" | "calories" | "reps"What the lift's rep maxes record. weight follows each viewer's kg or lb; PRs of any other measure are stored in its unit (weight in kg, height in cm, distance in m, time in s, velocity in m/s, power in W, calories in cal, reps in reps). reps is a bodyweight movement such as a pull-up: its one PR is the most reps with no added load, a whole number, and a logged set with added weight counts as estimated reps only when the athlete's estimated PRs are on and their weight class reads as a bodyweight. A lift starts as weight when none is sent, and its measure changes only while it has no PRs.
unit"in" | "cm" | "m" | "yd" | "mi" | "km"The unit the lift shows its values in, one its measure offers (height: in, cm; distance: m, yd, mi, km, in, cm); the first is the default. Other measures take none.
timeDirection"faster" | "longer"Time lifts only: faster keeps the lowest time as the PR, longer the highest. A time lift without one is faster. It changes only while the lift has no PRs.
measureLockedRequiredbooleanTrue once the lift has a PR, or when it was tracked before measures: its measure and time direction can no longer change. Its unit always can.
activeRequiredbooleanFalse once archived: the lift leaves pickers and PR lists, while its PRs and history stay and percentages already reading it keep working.
exerciseLibraryRequired"atlas" | "club"Where the exercise lives: the Atlas library or the club's own exercises.
ratioobject
FieldTypeDetails
liftRequired"snatch" | "clean" | "jerk" | "clean_jerk" | "power_snatch" | "power_clean" | "push_press" | "snatch_balance" | "overhead_squat" | "back_squat" | "front_squat" | "bench_press" | "deadlift"
minPercentRequirednumber
maxPercentRequirednumber
archivedAtnumberMilliseconds since the epoch
createdAtRequirednumberMilliseconds since the epoch
updatedAtRequirednumberMilliseconds since the epoch

RecordLiftState

object

One of Atlas's built-in record lifts for one sport, as the club tracks it.

FieldTypeDetails
sportRequired"weightlifting" | "powerlifting" | "general_fitness"
liftRequired"snatch" | "clean" | "jerk" | "clean_jerk" | "power_snatch" | "power_clean" | "push_press" | "snatch_balance" | "overhead_squat" | "back_squat" | "front_squat" | "bench_press" | "deadlift"The record lift's id, as in PR writes and percent bases ({ lift, repMax })
labelRequiredstringThe lift's name
removedRequiredbooleanTrue while the club has removed the lift for this sport: it leaves the sport's PR tables, leaderboards, highlights, ratio cards and Percent Of choices, and logged sets stop raising its PR. Stored PRs, their history and percentages already reading it stay.
removedAtnumberMilliseconds since the epoch

AthleteGuardians

object

FieldTypeDetails
athleteIdRequiredstring
athleteNameRequiredstring
isMinorRequiredbooleanUnder 18 on the athlete's own calendar. Only a minor gets guardian invitations.
canInviteRequiredbooleanA minor with fewer than four guardians and live invitations together.
guardiansRequiredarray of object
FieldTypeDetails
linkIdRequiredstringPass to DELETE …/guardians/{linkId}.
guardianUserIdRequiredstring
nameRequiredstringThe guardian's name in the club; never their email.
linkedAtRequirednumberEpoch milliseconds.
canRemoveRequiredboolean
holdsConsentRequiredbooleanThis guardian's consent is the one an athlete under 13 stands on; removing them puts the athlete back to waiting.
invitationsRequiredarray of objectPending invitations inside their 30 days.
FieldTypeDetails
invitationIdRequiredstringPass to DELETE …/guardian-invitations/{invitationId}.
emailRequiredstring
deliveryRequired"sending" | "sent" | "failed"
expiresAtRequirednumberEpoch milliseconds.
underThirteenRequiredbooleanUnder 13, the athlete's app waits for a guardian's consent (COPPA).
consentRequiredobject | nullThe standing consent for an athlete under 13; null otherwise, or while the athlete waits.
FieldTypeDetails
guardianNameRequiredstring
consentedAtRequirednumberEpoch milliseconds.

RunRecords

array of object

FieldTypeDetails
distanceRequired"mile" | "two_mile" | "five_k" | "ten_k" | "half_marathon" | "marathon"
secondsRequirednumberWhole seconds. Each distance refuses a time faster than its floor, set just under the world record: mile (1 Mile, from 3:30), two_mile (2 Mile, from 7:30), five_k (5K, from 12:00), ten_k (10K, from 25:00), half_marathon (Half Marathon, from 55:00), marathon (Marathon, from 1:55:00). Every distance is capped at 24:00:00.
recordedAtRequirednumberEpoch milliseconds of the last write.
sourceRequired"coach" | "athlete" | "onboarding" | "training" | "competition"

RunRecordHistory

array of object

FieldTypeDetails
_idRequiredstringPass to DELETE …/run-records/history/{entryId}.
distanceRequired"mile" | "two_mile" | "five_k" | "ten_k" | "half_marathon" | "marathon"
secondsRequirednumber
previousSecondsnumberThe time this one beat; missing on a distance's first time.
recordedAtRequirednumberEpoch milliseconds.
sourceRequired"coach" | "athlete" | "onboarding" | "training" | "competition"

RunRecordUpsertsInput

object

FieldTypeDetails
upsertsRequiredarray of objectmax items 6
FieldTypeDetails
distanceRequired"mile" | "two_mile" | "five_k" | "ten_k" | "half_marathon" | "marathon"
secondsRequiredintegerWhole seconds. Each distance refuses a time faster than its floor, set just under the world record: mile (1 Mile, from 3:30), two_mile (2 Mile, from 7:30), five_k (5K, from 12:00), ten_k (10K, from 25:00), half_marathon (Half Marathon, from 55:00), marathon (Marathon, from 1:55:00). Every distance is capped at 24:00:00.maximum 86400

ProgramImportSignInInput

object

FieldTypeDetails
emailRequiredstringmax length 256
passwordRequiredstringUsed once to sign in to the provider. Atlas never stores or logs it.max length 256
consentRequiredtrueConfirms the programs are the coach's to move into Atlas.

ProgramImportSelectionInput

object

FieldTypeDetails
sourceIdsRequiredarray of stringThe sourceId of each program to import, from the session's program list.min items 1, max items 25

ProgramImportCommitInput

object

FieldTypeDetails
sourceIdsRequiredarray of stringThe sourceId of each program to import, from the session's program list.min items 1, max items 25
exerciseChoicesarray of objectExercises to map onto a Library exercise of the coach's choosing. Every other unmatched name becomes a club exercise.
FieldTypeDetails
nameRequiredstringThe exercise name as the preview lists it.
libraryNameRequiredstringAn Atlas or club Library exercise.

OpenedRepMaxes

array of object

FieldTypeDetails
exerciseNameRequiredstringThe lift's record name: a record lift id, or a club lift's name.
repMaxRequirednumber

OpenedRepMaxInput

object

FieldTypeDetails
exerciseNameRequiredstringA record lift the athlete's sport tracks, under any spelling, or an active club lift of that sport by name.
repMaxRequiredintegerAbove the lift's top rep max; a tracked one is refused with 400.minimum 1, maximum 10
openedRequiredbooleantrue opens the rep max, false closes it again. Closing keeps the stored PR and its history.
clubLiftIdstringA clubLiftId from GET /club-lifts, in place of matching exerciseName to a club lift.

AthleteRetention

object

The coach-only retention record of an individually coached athlete. The athlete never sees it.

FieldTypeDetails
startDateRequiredstring | nullFirst day coached (YYYY-MM-DD) as entered; null while none is entered, when defaultStartDate applies.
endDateRequiredstring | nullLast day coached (YYYY-MM-DD) as entered; null while none is entered, when defaultEndDate applies.
defaultStartDateRequiredstringThe start date in force while startDate is null: the day the athlete was added to Atlas, in the token owner's time zone.
defaultEndDateRequiredstring | nullThe end date in force while endDate is null: the day the athlete was archived, or null while they are on the roster.
packageDaysPerWeekRequiredinteger | nullTraining days per week in the athlete's package.minimum 1, maximum 7
notesRequiredstring | nullWhy they left, pauses, package changes.max length 2000

CheckInSchedulingSettings

object

The token owner's check-in scheduling in the token's club: the message and booking link their assigned athletes get, and when.

FieldTypeDetails
messageRequiredstringThe text sent. The booking link follows it on its own line.max length 500
bookingLinkRequiredstring | nullThe https link where athletes book a time, or null while none is set.
frequencyRequired"off" | "everyWeek" | "every2Weeks" | "every4Weeks" | "every8Weeks" | "every12Weeks"off, or how many weeks pass between check-ins. A message goes out on the first sendOn day once that long has passed since the athlete's last check-in, at 9 AM in the athlete's time zone.
sendOnRequired"sunday" | "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday"The weekday interval check-ins go out on.
afterMeetRequiredbooleanWhether a check-in also goes out the day after an athlete's meet, at 9 AM in their time zone.

AthleteCheckInScheduling

object

One athlete's check-in scheduling: their own choices, the coach defaults they override, and what applies.

FieldTypeDetails
frequencyRequired"coachDefault" | "off" | "everyWeek" | "every2Weeks" | "every4Weeks" | "every8Weeks" | "every12Weeks"The athlete's own choice: coachDefault follows the coach's frequency.
afterMeetRequired"coachDefault" | "on" | "off"The athlete's own choice: coachDefault follows the coach's After A Meet setting.
coachFrequencyRequired"off" | "everyWeek" | "every2Weeks" | "every4Weeks" | "every8Weeks" | "every12Weeks"
coachAfterMeetRequiredboolean
effectiveFrequencyRequired"off" | "everyWeek" | "every2Weeks" | "every4Weeks" | "every8Weeks" | "every12Weeks"
effectiveAfterMeetRequiredboolean
lastSentAtRequirednumber | nullWhen the assigned coach's last check-in was sent to this athlete (epoch milliseconds), or null.
nextCheckInDateRequiredstring | nullThe day the next interval check-in is due (YYYY-MM-DD in the athlete's time zone), or null when none is scheduled.
canChangeRequiredbooleanWhether the token owner is the athlete's assigned coach, who alone may change these and send.
coachUserIdRequiredstringThe athlete's assigned coach, whose message and booking link the athlete gets.
coachNameRequiredstring
unavailableReasonRequired"noBookingLink" | "coachLeft" | "notJoined" | "needsGuardian" | "messagingOff" | nullWhy no check-in can be sent right now, or null.
previewRequiredstring | nullThe message as the athlete receives it, or null while the coach has no booking link.

PowerliftingMeetFields

object

A powerlifting meet's lifts. Best squat, bench and deadlift are the heaviest made of the first three attempts, and the total their sum once every contested lift has one.

FieldTypeDetails
equipmentRequired"Raw" | "Wraps" | "Single-ply" | "Multi-ply" | "Unlimited" | "Straps"
divisionRequiredstringBlank when none.max length 60
weightClassKgRequiredstringKilograms, such as 83 or 120+; blank when none.
squatAttemptsRequiredarray of objectIn order; the fourth is a record attempt outside the total.max items 4
FieldTypeDetails
weightKgRequirednumbergreater than 0, maximum 1000
madeRequiredboolean
benchAttemptsRequiredarray of objectIn order; the fourth is a record attempt outside the total.max items 4
FieldTypeDetails
weightKgRequirednumbergreater than 0, maximum 1000
madeRequiredboolean
deadliftAttemptsRequiredarray of objectIn order; the fourth is a record attempt outside the total.max items 4
FieldTypeDetails
weightKgRequirednumbergreater than 0, maximum 1000
madeRequiredboolean
placeinteger | "DQ" | "G" | "NS" | "DD"A place from 1, or DQ (disqualified), G (guest), NS (no-show) or DD (doping disqualification).
dotsnumbergreater than 0, maximum 1000

OpenPowerliftingMeet

object

One meet from the lifter's Open Powerlifting history. Weights are kilograms.

FieldTypeDetails
meetNameRequiredstring
dateRequiredstringformat date
federationRequiredstring
parentFederationRequiredstring | null
meetCountryRequiredstring | null
meetStateRequiredstring | null
meetTownRequiredstring | null
eventRequiredstringThe lifts contested: SBD, BD, B, D and so on.
equipmentRequiredstring
sexRequiredstring | null
divisionRequiredstring | null
ageClassRequiredstring | null
bodyweightKgRequirednumber | null
weightClassKgRequiredstring | null
squatAttemptsRequiredarray of objectIn order; the fourth is a record attempt outside the total.max items 4
FieldTypeDetails
weightKgRequirednumbergreater than 0, maximum 1000
madeRequiredboolean
bestSquatKgRequirednumber | null
benchAttemptsRequiredarray of objectIn order; the fourth is a record attempt outside the total.max items 4
FieldTypeDetails
weightKgRequirednumbergreater than 0, maximum 1000
madeRequiredboolean
bestBenchKgRequirednumber | null
deadliftAttemptsRequiredarray of objectIn order; the fourth is a record attempt outside the total.max items 4
FieldTypeDetails
weightKgRequirednumbergreater than 0, maximum 1000
madeRequiredboolean
bestDeadliftKgRequirednumber | null
totalKgRequirednumber | null
placeRequiredinteger | "DQ" | "G" | "NS" | "DD" | nullA place from 1, or DQ (disqualified), G (guest), NS (no-show) or DD (doping disqualification).
dotsRequirednumber | null
wilksRequirednumber | null
testedRequiredboolean

OpenPowerliftingCandidate

object

A lifter a name search found, from their best ranked meet.

FieldTypeDetails
nameRequiredstring
usernameRequiredstring
countryRequiredstring | null
federationRequiredstring
meetDateRequiredstringformat date
sexRequiredstring
equipmentRequiredstring
divisionRequiredstring | null
bodyweightKgRequirednumber | null
weightClassKgRequiredstring | null
bestSquatKgRequirednumber | null
bestBenchKgRequirednumber | null
bestDeadliftKgRequirednumber | null
totalKgRequirednumber | null

ClubFormField

object

FieldTypeDetails
idRequiredstringStable across versions; answers name it.max length 40, pattern ^[a-z0-9-]+$
kindRequired"shortText" | "longText" | "date" | "yesNo"
labelRequiredstringmax length 200
requiredRequiredboolean

ClubFormRenewal

object | object | object

When a signing expires: never, a year after signing, or each year on a fixed date. Changing it applies to new signings only.

object

FieldTypeDetails
kindRequired"never"

object

FieldTypeDetails
kindRequired"yearly"

object

FieldTypeDetails
kindRequired"annualDate"
monthRequiredintegerminimum 1, maximum 12
dayRequiredintegerFebruary 29 expires on February 28 in a common year.minimum 1, maximum 31

ClubFormContent

object

FieldTypeDetails
sourceRequiredobject | object
fieldsRequiredarray of ClubFormFieldmax items 30

ClubFormSummary

object

FieldTypeDetails
formIdRequiredstring
nameRequiredstring
statusRequired"active" | "archived"
currentVersionRequiredinteger | nullThe published version's number; null while the form is a draft only.
requiredForRosterRequiredboolean
renewalRequiredClubFormRenewal
hasDraftRequiredboolean
fieldCountRequiredinteger
signedCountRequiredintegerAthletes in the club holding a current, unvoided signing or paper copy, expired ones included.
updatedAtRequirednumberEpoch milliseconds.

ClubFormVersion

object

FieldTypeDetails
versionIdRequiredstring
versionRequiredinteger
nameRequiredstring
contentRequiredClubFormContent
requiresResignRequiredboolean
publishedAtRequirednumberEpoch milliseconds.
publishedByUserIdRequiredstring

ClubFormDetail

object

FieldTypeDetails
formIdRequiredstring
nameRequiredstring
statusRequired"active" | "archived"
requiredForRosterRequiredboolean
renewalRequiredClubFormRenewal
currentRequiredClubFormVersion | null
draftRequiredClubFormContent | nullUnpublished edits; null for an assistant coach, and when there are none.
canEditRequiredbooleanWhether the token's coach is a Club Admin, who alone edits forms.
createdByUserIdRequiredstring
createdAtRequirednumberEpoch milliseconds.
updatedAtRequirednumberEpoch milliseconds.

ClubFormVersionSummary

object

FieldTypeDetails
versionIdRequiredstring
versionRequiredinteger
nameRequiredstring
publishedAtRequirednumberEpoch milliseconds.
publishedByUserIdRequiredstring
requiresResignRequiredboolean
fieldCountRequiredinteger
sourceKindRequired"text" | "pdf"
pageCountRequiredinteger | null

ClubFormPacket

object

FieldTypeDetails
trainingLockedRequiredbooleanWhether any packet form locks the athlete's Training tab now.
completeRequiredboolean
nextLockAtRequirednumber | nullWhen the next due form locks Training; clients lock it themselves then.
formsRequiredarray of object
FieldTypeDetails
formIdRequiredstring
nameRequiredstring
versionIdRequiredstring
versionRequiredinteger
hasFieldsRequiredboolean
stateRequired"signed" | "due" | "locked"
reasonRequired"unsigned" | "resign" | "expired" | "voided" | null
lockAtRequirednumber | nullEpoch milliseconds, or null.
expiresAtRequirednumber | nullEpoch milliseconds, or null.
expiresOnRequiredstring | nullThe last day the current signing counts, in the athlete's zone; null when it never expires.format date
dueSoonRequiredbooleanSigned, and expiring within 30 days.
submissionIdRequiredstring | null
signedAtRequirednumber | nullEpoch milliseconds, or null.
signedOnRequiredstring | nullA paper copy's signed date as entered; null for a signing in the app.format date
kindRequired"signed" | "paper" | null

ClubFormSubmission

object

FieldTypeDetails
submissionIdRequiredstring
formIdRequiredstring
formNameRequiredstring
versionIdRequiredstring
versionRequiredinteger
kindRequired"signed" | "paper"signed in the app, or a paper copy a coach uploaded.
answersRequiredarray of object
FieldTypeDetails
fieldIdRequiredstring
valueRequiredstring | boolean
signerNameRequiredstring | null
uploadedByUserIdRequiredstring | nullThe coach who uploaded a paper copy.
signedAtRequirednumberEpoch milliseconds.
signedOnRequiredstring | nullA paper copy's signed date as the coach entered it.format date
expiresAtRequirednumber | nullEpoch milliseconds, or null.
expiresOnRequiredstring | nullThe last day it counts, in the athlete's zone.format date
pdfStatusRequired"pending" | "ready" | "failed"Download the PDF once ready.
currentRequiredbooleanFalse once a later signing or paper copy replaced it.
voidedAtRequirednumber | nullEpoch milliseconds, or null.
voidedByUserIdRequiredstring | null
voidReasonRequiredstring | null
createdAtRequirednumberEpoch milliseconds.

DocumentFile

object

FieldTypeDetails
fileIdRequiredstring
athleteIdRequiredstring | nullnull for a club library file.
folderRequiredstring | nullLibrary files only.
nameRequiredstring
mimeTypeRequired"application/pdf" | "image/jpeg" | "image/png"
byteSizeRequiredinteger
expiresOnRequiredstring | nullThe file's own expiry date, such as a certificate's.format date
uploadedByUserIdRequiredstring
uploadedAtRequirednumberEpoch milliseconds.

AthleteDocuments

object

FieldTypeDetails
athleteIdRequiredstring
roleRequired"admin" | "coach"admin for a Club Admin, coach for the athlete's assigned coach.
canVoidRequiredboolean
canUploadRequiredbooleanFalse for an archived athlete, whose documents are read-only.
packetRequiredClubFormPacket
submissionsRequiredarray of ClubFormSubmissionEvery signing and paper copy, newest first (at most 200), replaced and voided ones included.
filesRequiredarray of DocumentFile

WelcomeEmailSend

object

FieldTypeDetails
sendIdRequiredstring
audienceRequired"roster" | "group"
statusRequired"waiting" | "pending" | "sent" | "failed"waiting: held until the athlete enters their birthdate, for up to 30 days; pending: being sent.
subjectRequiredstring
toEmailRequiredstring
attemptsRequiredinteger
lastErrorRequired"not_configured" | "email_off" | "athlete_left" | "no_reply_to" | "guardian_consent" | "age_unknown" | "rejected" | "rate_limited" | "provider_error" | "timeout" | "network" | nullWhy a failed send ended. age_unknown: no birthdate within 30 days of the join, so Atlas never learned the athlete's age.
createdAtRequirednumberEpoch milliseconds.
sentAtRequirednumber | nullEpoch milliseconds, or null.
failedAtRequirednumber | nullEpoch milliseconds, or null.

WelcomeEmail

object

FieldTypeDetails
audienceRequired"roster" | "group"
groupIdRequiredstring | null
nameRequiredstringRoster, or the group program's name.
clubNameRequiredstring
emailRequiredobject | null
FieldTypeDetails
enabledRequiredboolean
subjectRequiredstring
bodyRequiredstring
attachmentFileIdsRequiredarray of string
sampleValuesRequiredobjectWhat a Preview or test fills the fields with.
FieldTypeDetails
athlete_first_nameRequiredstring
athlete_nameRequiredstring
coach_nameRequiredstring
club_nameRequiredstring
hasPacketRequiredbooleanThe athletes it goes to have forms to sign, so it carries Sign Your Forms.
signFormsUrlRequiredstring | null
fromAddressRequiredstring
replyToRequiredstring | nullThe club's primary owner's address; with none the email is not sent.
deliveryConfiguredRequiredboolean

QuietHours

object

FieldTypeDetails
enabledRequiredboolean
startMinuteRequiredintegerMinutes after midnight in timeZoneminimum 0, maximum 1439
endMinuteRequiredintegerMinutes after midnight in timeZoneminimum 0, maximum 1439
timeZoneRequiredstringIANA time zone name

MessagingSettings

object

FieldTypeDetails
quietHoursRequiredQuietHours
voicePlaybackSpeedRequired1 | 1.25 | 1.5 | 1.75 | 2The speed voice messages start at, 1 until it is first saved
quickReactionsRequiredarray of stringThe 6 reactions shown first when reacting to a message in the app, the console and Atlas Desktop, in order; 👍 ❤️ 🫡 💪 😂 😅 until they are first saved

MessagingReport

object

FieldTypeDetails
reportIdRequiredstring
conversationIdRequiredstring
messageIdRequiredstring | null
reporterUserIdRequiredstring
reportedUserIdRequiredstring | null
reasonRequired"spam" | "harassment" | "unsafe_content" | "unwanted_contact" | "other"
detailsRequiredstring | null
statusRequired"open" | "resolved"
createdAtRequirednumber
resolvedAtRequirednumber | null
excerptRequiredarray of objectThe reported message and the 10 before it, or a conversation's newest 11, as the reporter saw them
FieldTypeDetails
messageIdRequiredstring
senderUserIdRequiredstring
senderDisplayNameRequiredstring
sentAtRequirednumber
textRequiredstring | nullNull for a message without text or already unsent
unsentRequiredboolean
attachmentKindsRequiredarray of "photo" | "video" | "voice" | "file"

ExerciseLibrarySettings

object

FieldTypeDetails
atlasLibraryEnabledRequiredboolean

MeetResultsRefresh

object

FieldTypeDetails
statusRequired"scheduled" | "fresh" | "in_progress" | "backoff" | "throttled" | "unavailable"

PersonalRecordHistoryEntry

object

FieldTypeDetails
idRequiredstringThe history entry's id, used to delete it. A baseline row for a record set before history was kept carries the record's own id and cannot be deleted here.
exerciseNameRequiredstring
repMaxRequiredintegerminimum 1
weightRequirednumber
previousWeightRequirednumber | null
recordedAtRequirednumber | nullMilliseconds since the epoch
sourceRequired"coach" | "athlete" | "onboarding" | "training" | "competition" | null
canDeleteRequiredbooleanOnly rows a coach entered or a meet set can be deleted, and not while they are still the current record

AnalyticsLayoutItem

object

One chart on the analytics board. Built-in charts name a builtinId; custom charts give their own fields and an id like c_xxxxxxxx.

FieldTypeDetails
idRequiredstring
kindRequired"builtin" | "custom"
builtinIdstring
titlestringmax length 80
xFieldstring
yFieldstring
chartKind"heatmap" | "histogram" | "table"
seriesarray of object
FieldTypeDetails
fieldRequiredstring
mark"line" | "bar" | "area"
breakdown"repsByMovement" | "repsByIntensityZone"
xMetricstring
rangeobjectA custom chart's own time range. Leave it out to follow the board's dates. lastWeeks takes weeks of 4, 8, 12, 26; custom takes startDate and endDate (YYYY-MM-DD, spanning at most 1096 days with both ends included); currentBlock uses the athlete's running program and falls back to the board's dates.
FieldTypeDetails
kindRequired"board" | "lastWeeks" | "currentBlock" | "custom"
weeksnumber
startDatestring
endDatestring
liftFilterobjectNarrows a chart's Lifts metrics (lift.topSet, lift.estimatedOneRepMax, lift.volume, lift.reps, lift.makeRate) to one exercise by name or to one exercise category.
FieldTypeDetails
kindRequired"lift" | "category"
valueRequiredstringmax length 120
widthColumnsintegerminimum 1, maximum 12
heightPxintegerminimum 240, maximum 800
variableOptionsarray of objectOne entry per variable, in the order of the chart's variables (yField, or each series, or xMetric then yField on a scatter), up to 5. lagDays moves a value recorded on day D to day D plus the lag, 0 to 28 days or whole weeks up to 8 (weekly training metrics lag by whole weeks only). aggregation rolls days up into each bucket: average, sum, max, min, count, latest. transform changes daily values before bucketing: rollingAverage over 7, 14, 28 days, percentChange, runningTotal, or vsOwnMedian.
FieldTypeDetails
lagDaysnumber
aggregation"average" | "sum" | "max" | "min" | "count" | "latest"
transformobject | object
formulasarray of objectUp to 3 formula variables named f1, f2, f3, each combining two daily variables on the same day with divide, multiply, subtract, add. Use one as a variable with the field formula:f1. A divide by zero gives no value, and body.weight carries the latest meet body weight forward.
FieldTypeDetails
idRequired"f1" | "f2" | "f3"
labelRequiredstring
leftRequiredstring
operatorRequired"divide" | "multiply" | "subtract" | "add"
rightRequiredstring
filtersarray of objectUp to 5 conditions on daily variables (lt, lte, gt, gte, eq, neq a number, with an optional lagDays); only days passing every filter are charted, and a day missing a filtered variable is dropped.
FieldTypeDetails
fieldRequiredstring
lagDaysnumber
operatorRequired"lt" | "lte" | "gt" | "gte" | "eq" | "neq"
valueRequirednumber
groupByobject | objectBuckets days by bands of a daily variable (known zones, else quartiles, or up to 5 rising cutoffs for at most 6 bands), weekday, lift (Lifts metrics only), programWeek or block, instead of by date or week. Each bucket reports how many days it holds.
rowGroupByobject | objectThe row grouping of a heatmap, which needs both groupBy and rowGroupBy; lift is not allowed.
referenceLinesarray of objectUp to 3 lines on the x or y axis at value, or shaded ranges from value to toValue, each with an optional label.
FieldTypeDetails
axisRequired"x" | "y"
valueRequirednumber
toValuenumber
labelstring
binWidthnumberA histogram's bin width; left out, the values split into about ten even bins.
memberAggregation"average" | "median" | "sum" | "perMember"Group charts only: how members combine, average, median, sum, perMember (perMember draws one series per member, 10 at most and the rest as Others).
chartType"line" | "bar" | "combo" | "stackedBar" | "stackedArea" | "pie" | "donut" | "scatter" | "heatmap" | "histogram" | "table"

AnalyticsLayout

object

FieldTypeDetails
itemsRequiredarray of objectmax items 64
FieldTypeDetails
idRequiredstring
kindRequired"builtin" | "custom"
builtinIdstring
titlestringmax length 80
xFieldstring
yFieldstring
chartKind"heatmap" | "histogram" | "table"
seriesarray of object
FieldTypeDetails
fieldRequiredstring
mark"line" | "bar" | "area"
breakdown"repsByMovement" | "repsByIntensityZone"
xMetricstring
rangeobjectA custom chart's own time range. Leave it out to follow the board's dates. lastWeeks takes weeks of 4, 8, 12, 26; custom takes startDate and endDate (YYYY-MM-DD, spanning at most 1096 days with both ends included); currentBlock uses the athlete's running program and falls back to the board's dates.
FieldTypeDetails
kindRequired"board" | "lastWeeks" | "currentBlock" | "custom"
weeksnumber
startDatestring
endDatestring
liftFilterobjectNarrows a chart's Lifts metrics (lift.topSet, lift.estimatedOneRepMax, lift.volume, lift.reps, lift.makeRate) to one exercise by name or to one exercise category.
FieldTypeDetails
kindRequired"lift" | "category"
valueRequiredstringmax length 120
widthColumnsintegerminimum 1, maximum 12
heightPxintegerminimum 240, maximum 800
variableOptionsarray of objectOne entry per variable, in the order of the chart's variables (yField, or each series, or xMetric then yField on a scatter), up to 5. lagDays moves a value recorded on day D to day D plus the lag, 0 to 28 days or whole weeks up to 8 (weekly training metrics lag by whole weeks only). aggregation rolls days up into each bucket: average, sum, max, min, count, latest. transform changes daily values before bucketing: rollingAverage over 7, 14, 28 days, percentChange, runningTotal, or vsOwnMedian.
FieldTypeDetails
lagDaysnumber
aggregation"average" | "sum" | "max" | "min" | "count" | "latest"
transformobject | object
formulasarray of objectUp to 3 formula variables named f1, f2, f3, each combining two daily variables on the same day with divide, multiply, subtract, add. Use one as a variable with the field formula:f1. A divide by zero gives no value, and body.weight carries the latest meet body weight forward.
FieldTypeDetails
idRequired"f1" | "f2" | "f3"
labelRequiredstring
leftRequiredstring
operatorRequired"divide" | "multiply" | "subtract" | "add"
rightRequiredstring
filtersarray of objectUp to 5 conditions on daily variables (lt, lte, gt, gte, eq, neq a number, with an optional lagDays); only days passing every filter are charted, and a day missing a filtered variable is dropped.
FieldTypeDetails
fieldRequiredstring
lagDaysnumber
operatorRequired"lt" | "lte" | "gt" | "gte" | "eq" | "neq"
valueRequirednumber
groupByobject | objectBuckets days by bands of a daily variable (known zones, else quartiles, or up to 5 rising cutoffs for at most 6 bands), weekday, lift (Lifts metrics only), programWeek or block, instead of by date or week. Each bucket reports how many days it holds.
rowGroupByobject | objectThe row grouping of a heatmap, which needs both groupBy and rowGroupBy; lift is not allowed.
referenceLinesarray of objectUp to 3 lines on the x or y axis at value, or shaded ranges from value to toValue, each with an optional label.
FieldTypeDetails
axisRequired"x" | "y"
valueRequirednumber
toValuenumber
labelstring
binWidthnumberA histogram's bin width; left out, the values split into about ten even bins.
memberAggregation"average" | "median" | "sum" | "perMember"Group charts only: how members combine, average, median, sum, perMember (perMember draws one series per member, 10 at most and the rest as Others).
chartType"line" | "bar" | "combo" | "stackedBar" | "stackedArea" | "pie" | "donut" | "scatter"
layoutVersioninteger

QuestionnaireNotification

object

FieldTypeDetails
notificationIdRequiredstring
sendIdRequiredstring
athleteIdRequiredstring
athleteNameRequiredstring
questionnaireNameRequiredstring
meetNameRequiredstring | null
submittedAtRequirednumberMilliseconds since the epoch
readRequiredboolean

GroupWebhookStatus

object

FieldTypeDetails
enabledRequiredboolean
canManageRequiredbooleanWhether the token owner may create, replace or turn off the URL: the group's coach or a club admin
tokenPreviewRequiredstring | nullThe start and end of the secret, to recognize it. The full URL is only returned when it is created.
createdAtRequirednumber | null
storesRequiredarray of object
FieldTypeDetails
storeRequired"stripe" | "shopify"
secretPreviewRequiredstring | null
savedAtRequirednumber | null
paymentLinkIdsRequiredarray of string
productIdsRequiredarray of string
deliveriesRequiredarray of objectmax items 50
FieldTypeDetails
deliveryIdRequiredstring
atRequirednumber
actionRequired"add" | "remove" | "unknown"
emailRequiredstring
outcomeRequired"invited" | "restored" | "already_member" | "removed" | "not_member" | "refused" | "rate_limited"
detailRequiredstring | null

ClubOutputAccount

object

FieldTypeDetails
statusRequired"not_connected" | "connected" | "needs_reconnecting"needs_reconnecting: Output Sports refuses the saved login; connect again with PUT
emailRequiredstring | nullThe Output Sports account's email; null when not connected
connectedAtRequiredinteger | nullMilliseconds since the epoch
failingSinceRequiredinteger | nullWhen Output Sports began refusing the login, in milliseconds since the epoch; null while it works
outputAthleteCountRequiredintegerOutput athletes the account listed when last refreshed
outputAthletesRefreshedAtRequiredinteger | nullMilliseconds since the epoch

NotificationSettings

object

FieldTypeDetails
organizationIdRequiredstringThe club these settings belong to: the token's club
commentEmailAlertsRequiredobjectEmail when athletes comment on an exercise or workout
FieldTypeDetails
enabledRequiredboolean
timeZoneRequiredstringIANA time zone daily and weekly emails follow; UTC until saved
emailRequiredstring | nullThe verified address emails go to; null while off
deliveryConfiguredRequiredbooleanWhether this deployment can send coach emails at all
cadenceRequired"immediate" | "daily" | "weekly"
commentPushAlertsRequiredobjectPush to the Atlas app when an athlete comments on an exercise or workout
FieldTypeDetails
enabledRequiredboolean
personalRecordAlertsRequiredobjectEmail when athletes set personal records
FieldTypeDetails
enabledRequiredboolean
timeZoneRequiredstringIANA time zone daily and weekly emails follow; UTC until saved
emailRequiredstring | nullThe verified address emails go to; null while off
deliveryConfiguredRequiredbooleanWhether this deployment can send coach emails at all
cadenceRequired"immediate" | "daily" | "weekly"
programmingDigestRequiredobjectEmail listing assigned athletes who need programming
FieldTypeDetails
enabledRequiredboolean
timeZoneRequiredstringIANA time zone daily and weekly emails follow; UTC until saved
emailRequiredstring | nullThe verified address emails go to; null while off
deliveryConfiguredRequiredbooleanWhether this deployment can send coach emails at all
cadenceRequired"daily" | "weekly"
checkInEmailAlertsRequiredobjectAthletes Needing A Check-In email: Athletes who missed their last two programmed days or sent no lift videos from their last two sessions. Skipped when there are none.
FieldTypeDetails
enabledRequiredboolean
timeZoneRequiredstringIANA time zone daily and weekly emails follow; UTC until saved
emailRequiredstring | nullThe verified address emails go to; null while off
deliveryConfiguredRequiredbooleanWhether this deployment can send coach emails at all
cadenceRequired"daily" | "weekly"

AppearanceSettings

object

FieldTypeDetails
consoleThemeRequired"system" | "light" | "dark" | "blue" | "forest" | "plum" | "slate" | "ember"

SettingsLevels

object

FieldTypeDetails
organizationIdRequiredstring
clubNameRequiredstring
clubAccessRequired"change" | "read"change for a Club Admin, read for an assistant.
coachesRequiredarray of objectThe token owner first (isViewer), then, for a Club Admin, every other coach in the club with access filter: picking one only narrows the athletes and group programs.
FieldTypeDetails
userIdRequiredstring
nameRequiredstring | null
isViewerRequiredboolean
accessRequired"change" | "filter"
showsNoCoachRequiredbooleanWhether the token owner may filter to athletes and group programs with no assigned coach (Unassigned).
targetsRequiredarray of objectThe athletes outside group programs and the group programs the token owner may change settings for, by name.
FieldTypeDetails
athleteIdRequiredstring
nameRequiredstring
kindRequired"athlete" | "group"
coachUserIdRequiredstring | nullThe assigned coach, or null when none is assigned or the assigned coach left the club.
archivedRequiredboolean

CoachProfile

object

FieldTypeDetails
nameRequiredstring | nullThe coach's name as the club shows it; null until they set one
weightUnitRequired"kg" | "lb"The unit loads show in while coaching: in the console, Atlas Desktop and the app's coach mode. It follows trainingWeightUnit until the coach chooses one.
trainingWeightUnitRequired"kg" | "lb"The unit loads show in for the coach's own training in the app; kg until they choose
weightUnitFollowsTrainingRequiredbooleanWhether weightUnit still follows trainingWeightUnit because the coach has not chosen a coaching unit
profilePhotoUrlRequiredstring | nullWhere the coach's photo is served, to signed-in Atlas users who share a club with them; null without a photo

ApiToken

object

FieldTypeDetails
_idRequiredstringThe token's id, used to revoke it. The token itself is never shown again after it is created.
nameRequiredstring
tokenPrefixRequiredstringThe token's first characters, to recognize it
createdAtRequirednumberMilliseconds since the epoch
lastUsedAtRequirednumber | nullMilliseconds since the epoch; null until first used
revokedAtRequirednumber | nullMilliseconds since the epoch; null while it works
permissionsRequiredarray of "read" | "wearables_read" | "write" | "messaging_read" | "messaging_write" | "workout_delete" | "program_delete" | "athlete_data_delete" | "athlete_passwords" | "admin" | "delete"
expiresAtRequirednumber | nullMilliseconds since the epoch; null when it never expires
organizationNameRequiredstring | nullThe club the token works in: the calling token's club
clubAccessRequiredbooleanWhether the token's holder still coaches in that club, without which the token stops working