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/v1This page is generated from the OpenAPI document, which agents and tools can import directly:
https://graceful-tortoise-95.convex.site/api/v1/openapi.jsonAccount 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)
- CLI
atlas health
Responses
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
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
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
| Name | In | Type | Details |
|---|---|---|---|
tokenIdRequired | path | string |
Responses
200Token revoked (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
adminpermission (Manage Club) as well as the coach's club role: every write under/club,PUT /athletes/by-id/{athleteId}/coach, andPUT /exercise-library/settings. Awritetoken never reaches them, and existing tokens do not gainadmin. - 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
503when 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
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
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
| Field | Type | Details |
|---|---|---|
sport | "weightlifting" | "powerlifting" | "general_fitness" | |
athletePersonalRecordEditing | boolean | |
programVisibility | "wholeProgram" | "oneWeek" | "twoWeeks" | "threeWeeks" | "fourWeeks" | |
lockProgramEdits | boolean | |
workoutCheckIns | boolean |
Responses
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
| Field | Type | Details |
|---|---|---|
storageIdRequired | string |
Responses
200Club settings with the new photo (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
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
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
| Name | In | Type | Details |
|---|---|---|---|
membershipIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
roleRequired | "owner" | "assistant" |
Responses
200The coach with their new role (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
membershipIdRequired | path | string |
Responses
200Coach removed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
membershipIdRequired | path | string |
Responses
200The new Club Owner (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
membershipIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
toMembershipIdRequired | string | From listClubCoaches. |
Responses
200Athletes moved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Field | Type | Details |
|---|---|---|
emailRequired | string | format email, max length 320 |
nameRequired | string | min 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
201Invitation sent (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429An invitation went to this address recently, or the club has sent as many as it can this hour or today (RATE_LIMITED)503Sending 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
| Name | In | Type | Details |
|---|---|---|---|
invitationIdRequired | path | string |
Responses
200Invitation revoked (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)503Sending 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
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
| Field | Type | Details |
|---|---|---|
athleteIdRequired | string | |
destinationOrganizationIdRequired | string |
Responses
201Transfer requested (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
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
| Name | In | Type | Details |
|---|---|---|---|
transferIdRequired | path | string |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
destinationCoachMembershipId | string | A coach of this club, from listClubCoaches. |
Responses
200Transfer accepted (object)400Invalid request (Error)401Missing or invalid token (Error)402The club's plan has no room for this athlete (PLAN_LIMIT_REACHED)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
transferIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | Only 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
200The retention report (object)401Missing or invalid token (Error)403The token lacks the permission, or its owner is not a Club Admin of the token's club (FORBIDDEN) (Error)429A 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
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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | Only athletes this coach is assigned to: a value from the coaches list GET /club/highlights returns. Anything else counts the whole club. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
distanceRequired | path | "mile" | "two_mile" | "five_k" | "ten_k" | "half_marathon" | "marathon" |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
exerciseNameRequired | query | string | The exercise as it appears in a program. |
exerciseCategory | query | string | The exercise's category, which tells apart lifts that share a name. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
period | query | string | A 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. |
coach | query | string | Only athletes this coach is assigned to: a value from the coaches list GET /club/highlights returns. Anything else counts the whole club. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
period | query | string | A 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. |
coach | query | string | Only athletes this coach is assigned to: a value from the coaches list GET /club/highlights returns. Anything else counts the whole club. |
format | query | "feed" | "story" | feed is a square image for a feed post, story a tall one for a story. Defaults to feed. |
includeLeaderboards | query | boolean | Defaults to false. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
format | query | "feed" | "story" | feed is a square image for a feed post, story a tall one for a story. Defaults to feed. |
Responses
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
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
| Field | Type | Details |
|---|---|---|
emailRequired | string | format email, max length 320 |
passwordRequired | string | format password, min length 1, max length 1024 |
Responses
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
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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
limit | query | integer | |
cursor | query | string |
Responses
200Paginated roster with page, continueCursor, and isDone; each page entry is an Athlete with its location (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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
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
201Athlete created or adopted (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
200Updated athlete profile (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200Profile deleted (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | Lists 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
POST /athletes/by-id/{athleteId}/restore
Bring an archived athlete back onto the roster with their history
- Operation ID
restoreArchivedAthlete- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200Athlete restored (object)400Invalid request (Error)401Missing or invalid token (Error)402The club's plan has no room for this athlete (PLAN_LIMIT_REACHED)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
coachMembershipIdRequired | string | From listClubCoaches. |
Responses
200Coach assigned (object)400Invalid request (Error)401Missing or invalid token (Error)402The club's plan has no room for this athlete (PLAN_LIMIT_REACHED)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
min properties 1
| Field | Type | Details |
|---|---|---|
readinessPercentAdjustment | boolean | null | true 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" | |
today | string | Sent with sport: the caller's local date.format date |
workoutCheckIns | boolean |
Responses
200Updated athlete settings (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
email | string | format email, max length 320 |
Responses
200Invitation sent (object)400Invalid request (Error)401Missing or invalid token (Error)402The club's plan has no room for this athlete (PLAN_LIMIT_REACHED)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429An invitation went to this address recently, or the club has sent as many as it can this hour or today (RATE_LIMITED)503Sending 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200Invitation revoked (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)503Sending 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
| Field | Type | Details |
|---|---|---|
nameRequired | string | max length 100 |
guardianEmailRequired | string | format email, max length 320 |
birthDateRequired | string | format date |
sport | "weightlifting" | "powerlifting" | "general_fitness" |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200The athlete's groups and 1-1 coaching (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
coachMembershipIdRequired | string |
Responses
200The athlete is on the coach's roster (object)400Invalid request (Error)401Missing or invalid token (Error)402The club's plan has no room for another athlete403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
today | query | string |
Responses
200The athlete trains with their groups only (object)400Invalid request (Error)401Missing or invalid token (Error)402The club's plan has no room for another group member403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
Group Programs
Group Program Members And Webhooks
- A group program is one program many athletes follow.
GET /group-programslists the token owner's, andGET /group-programs/{groupId}/memberslists one's members, each withhasIndividualCoaching. - 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
groupIdsandhasIndividualCoaching;GET /athletes/by-id/{athleteId}/groupsnames each group, its sport and coach, and the athlete's 1-1 coach. POST /group-programstakes{ "name" }and creates one on the token owner's roster; a club admin may addcoachMembershipId, that coach's club membership ID, to put it on another coach's. Its join link starts switched on. Itssportjoins each member's own sports; it never replaces them.GETandPATCH /group-programs/{groupId}/settingsread and change its settings:joinEnabled,joinBlurb(the join page's text),visibleWeeksAhead,membersInClubChatandactivityAlerts. The answer carriesjoinUrl, the public join page.POST /group-programs/{groupId}/join-link/rotatereplaces the link, so every copy shared so far stops working.DELETE /group-programs/{groupId}/join-linkswitches it off; it deletes nothing, so it needs onlywrite.POST /group-programs/{groupId}/memberstakes{ "name", "email" }and sends the invitation a coach would. It answersinvitedwith201, orrestoredfor a former member, who keeps their history, oralready_member(both200). The group webhook answers every success,invitedincluded, with HTTP200. 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 needswrite.- 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}/athletestakes{ "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 answer409.DELETE /group-programs/{groupId}/members/{athleteId}ends that one membership: the sessions they logged stay and the group's future ones go. It answersarchived: truewhen 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, answeringremovedornot_member, and also cancels the invitation of someone who never joined. The olderPOST /group-programs/{groupId}/members/{athleteId}/make-individualis deprecated and now does the same as the delete.POST /athletes/by-id/{athleteId}/rosterwith{ "coachMembershipId" }gives an athlete a 1-1 coach, andDELETE /athletes/by-id/{athleteId}/rosterends it while they stay in their groups; an athlete in no group answers409. These and the membership removals delete no history, so they needwrite.
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.
POSTa JSON object withContent-Type: application/json:{ "action": "add", "email", "name" }to add someone, or{ "action": "remove", "email" }to take them off. Without anaction, a delivery adds. A form-encoded body is not JSON, so Atlas answers400with{ "error": "Invalid JSON body" }. Valid JSON that is not an object answers400with{ "error": "Request body must be a JSON object" }.- A success answers HTTP
200and{ "status", "email" }.statusisinvited,restored,already_member,removed, ornot_member.invitedis200here. The Coach API member route answers that sameinvitedwith201. - An add without a usable
name(2 to 100 characters) uses one made from the email:jane.doe@example.comjoins 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.
| Answer | Meaning |
|---|---|
200 | Done. The body status is invited, restored, already_member, removed, or not_member. invited is included in this 200. |
400 | The 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. |
402 | The 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. |
413 | The body is over 16 KB. The error is Request body is too large. |
404 | The URL was turned off or replaced, or the group has ended. |
429 | Too many deliveries this hour. Send it again later. |
500, 503 | Atlas 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.
- 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
/stripeto its end. - 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, andcustomer.subscription.deleted. - 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. - 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. - 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.completedadds 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 oncheckout.session.async_payment_succeeded.customer.subscription.deletedtakes 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.
- 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
/shopifyto its end. - 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.
- 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.
- 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.
- 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.
- 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 dataactionto the textadd,emailto the buyer's email, andnameto their name. - 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. - Take off those who cancel or get a refund. Make a second Zap or scenario that posts
actionremoveand the customer'semail. Only this group's membership ends, their history is kept, and adding them again later restores it. A refund uses the same remove. - Test it. Run the test with an email that has no Atlas account. A plus address works on Gmail and some other providers: add
+anythingbefore the@in your own address, as inyou+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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
200Group program deleted (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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
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
| Field | Type | Details |
|---|---|---|
nameRequired | string | min length 2, max length 100 |
coachMembershipId | string | |
sport | "weightlifting" | "powerlifting" | "general_fitness" |
Responses
201The new group program, its member count (0) and settings (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
200The group's settings (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
joinEnabled | boolean | |
joinBlurb | string | null | max length 600 |
visibleWeeksAhead | integer | |
membersInClubChat | boolean | |
activityAlerts | boolean | |
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
200The group's settings after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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}/join-link
Switch a group program's join link off
The link and its QR code stop taking sign-ups. It keeps its code: PATCH the settings with joinEnabled true to switch it back on, or rotate it for a new one. Deletes nothing, so it needs only the write permission.
- Operation ID
disableGroupProgramJoinLink- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
200The group's settings, joinEnabled false (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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}/join-link/rotate
Replace a group program's join link
Every link and QR code shared so far stops working; the answer carries the new joinUrl.
- Operation ID
rotateGroupProgramJoinLink- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
200The group's settings with the new join code (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
200Members and whether more exist (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
nameRequired | string | max length 100 |
emailRequired | string | format email |
Responses
200Already a member, or restored (object)201Invited (object)400Invalid request (Error)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429Too many adds for this group or address in the last hour503Adding 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | |
emailRequired | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
200The group's blocks (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | |
programIdRequired | path | string | |
todayRequired | query | string | The coach's local date, which decides which sessions are due. |
cursor | query | string | continueCursor from the previous page. |
limit | query | integer |
Responses
200A page of member stats (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | |
kind | query | "comment" | "personal_record" |
Responses
200Group activity (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | |
cursor | query | string | continueCursor from the previous page. |
limit | query | integer |
Responses
200A page of members' check-in question answers (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | |
cursor | query | string | continueCursor from the previous page. |
limit | query | integer |
Responses
200A page of members' report cards (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | The group program. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | The group program. |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
formIdsRequired | array of string | max items 20 |
Responses
200The group's forms after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
itemsRequired | array of AnalyticsLayoutItem | max items 64 |
layoutVersion | 2 | 3 | 4 | 5 | 6 | 7 |
Responses
200The board as saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
athleteIdRequired | string | |
today | string | format date |
Responses
200The athlete is a member (object)400Invalid request (Error)401Missing or invalid token (Error)402The club's plan has no room for another group member403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | |
athleteIdRequired | path | string |
Responses
200The membership ended (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | |
athleteIdRequired | path | string |
Responses
200The membership ended (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | |
storeRequired | path | "stripe" | "shopify" |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
signingSecret | string | format password, min length 16, max length 200 |
paymentLinkIds | array of string | Stripe onlymax items 20 |
productIds | array of string | Shopify onlymax items 20 |
Responses
200The webhook after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string | |
storeRequired | path | "stripe" | "shopify" |
Responses
200The webhook after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
groupIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
itemRequired | AnalyticsLayoutItem | ||||||||||
todayRequired | string | The viewer's date, which lastWeeks and currentBlock ranges count back fromformat date | |||||||||
dateRange | object | The board's dates, which a chart without its own range follows
| |||||||||
weekStartDay | "sunday" | "monday" | The day calendar weeks start on; defaults to the coach's setting | |||||||||
programId | string | Counts only this program, bucketed by its program weeks | |||||||||
utcOffsetMinutes | integer | The viewer's offset from UTC in minutes; defaults to 0minimum -720, maximum 840 |
Responses
200The combined chart data (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
emailRequired | string | format email, max length 320 |
Responses
201Invitation created; the email goes out in the background (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429Ten 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
linkIdRequired | path | string |
Responses
200Guardian removed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
invitationIdRequired | path | string |
Responses
200Invitation withdrawn (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
passwordRequired | string | format password, max length 256 |
Responses
200Password set and every session of the athlete ended (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429Too many password attempts by this coach recently (RATE_LIMITED)503The 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
201Code created (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429Too many sign-in codes created by this coach recently (RATE_LIMITED)503The 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200The athlete's retention record (object)401Missing or invalid token (Error)403The 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)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
Each field: left out keeps what is stored, null clears it, a value sets it.
| Field | Type | Details |
|---|---|---|
startDate | string | null | First day coached, YYYY-MM-DD. Not after endDate when both are entered. |
endDate | string | null | Last day coached, YYYY-MM-DD. Not before startDate when both are entered. |
packageDaysPerWeek | integer | null | minimum 1, maximum 7 |
notes | string | null | Stored trimmed; blank clears it.max length 2000 |
Responses
200The record after the update (object)400Invalid request (Error)401Missing or invalid token (Error)403The 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)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | The athlete's roster id |
Responses
200The athlete's reminder state (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | The athlete's roster id |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | The athlete's roster id |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | The athlete's roster id |
Responses
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. weightis kilograms from 0 to 1,500, andrecordedAt(epoch milliseconds) defaults to the time of the write.repMaxis 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-weightsrounds 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
todayRequired | query | string |
Responses
POST /athletes/{athleteName}/calculate-weights
Calculate rounded training weights from an athlete PR
- Operation ID
calculateTrainingWeights- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
200Calculated raw and rounded weights (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
exerciseName | query | string |
Responses
PUT /athletes/{athleteName}/personal-records
Create or update an athlete personal record
- Operation ID
upsertPersonalRecord- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
DELETE /athletes/{athleteName}/personal-records
Delete every personal record for an athlete
- Operation ID
deleteAllPersonalRecords- Permission
athlete_data_delete
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
POST /athletes/{athleteName}/personal-records/bulk
Create or update up to 100 personal records
- Operation ID
bulkUpsertPersonalRecords- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
DELETE /athletes/{athleteName}/personal-records/{personalRecordId}
Delete one personal record
- Operation ID
deletePersonalRecord- Permission
athlete_data_delete
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
personalRecordIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
200Run PRs saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
distanceRequired | path | "mile" | "two_mile" | "five_k" | "ten_k" | "half_marathon" | "marathon" |
Responses
200Whether a run PR was cleared (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
entryIdRequired | path | string |
Responses
200Whether an entry was removed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
200The athlete's opened rep maxes (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
entryIdRequired | path | string |
Responses
200Entry deleted (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
today | string | format date |
Responses
200How many records changed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
todayRequired | query | string |
Responses
POST /athletes/id/{athleteId}/calculate-weights
Calculate rounded training weights from an athlete PR
- Operation ID
calculateTrainingWeightsById- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
200Calculated raw and rounded weights (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
exerciseName | query | string |
Responses
PUT /athletes/id/{athleteId}/personal-records
Create or update an athlete personal record
- Operation ID
upsertPersonalRecordById- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
DELETE /athletes/id/{athleteId}/personal-records
Delete every personal record for an athlete
- Operation ID
deleteAllPersonalRecordsById- Permission
athlete_data_delete
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
POST /athletes/id/{athleteId}/personal-records/bulk
Create or update up to 100 personal records
- Operation ID
bulkUpsertPersonalRecordsById- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
DELETE /athletes/id/{athleteId}/personal-records/{personalRecordId}
Delete one personal record
- Operation ID
deletePersonalRecordById- Permission
athlete_data_delete
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
personalRecordIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
200The athlete's opened rep maxes (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
entryIdRequired | path | string |
Responses
200Entry deleted (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
today | string | format date |
Responses
200How many records changed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
startDateRequired | query | string | |
endDateRequired | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
sourceKeyRequired | path | string | |
sport | query | "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
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
meetIdRequired | path | string |
Request Body
Required, JSON
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
meetIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
todayRequired | query | string | The coach's local date, which sets the athlete's competition age. |
Responses
200The qualifying totals sheet (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200What the request did (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
todayRequired | query | string | The coach's local date, the last day of the window. |
sport | query | "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
200Recent competition lifts (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200Post-meet report cards (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
sport | query | "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
200The profile, or null with nothing to show yet (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
force | boolean |
Responses
200Nothing started, and why (object)202Refresh scheduled (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
startDateRequired | query | string | |
endDateRequired | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
sourceKeyRequired | path | string | |
sport | query | "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
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
meetIdRequired | path | string |
Request Body
Required, JSON
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
meetIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
sport | query | "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
200The profile, or null with nothing to show yet (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
force | boolean |
Responses
200Nothing started, and why (object)202Refresh scheduled (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
GET /athletes/{athleteName}/meet-plans/{meetPlanId}
Get one meet-day worksheet
- Operation ID
getMeetPlan- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
meetPlanIdRequired | path | string |
Responses
PUT /athletes/{athleteName}/meet-plans/{meetPlanId}
Replace one meet-day worksheet
- Operation ID
updateMeetPlan- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
meetPlanIdRequired | path | string |
Request Body
Required, JSON
Responses
200Meet plan saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
meetPlanIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
meetPlanIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
meetPlanIdRequired | path | string | |
todayRequired | query | string | Anchor date for recent-lift and meet-history windows |
format | query | "json" | "pdf" | Use pdf or send Accept: application/pdf for a binary PDF download |
Responses
200Meet plan page export (object) as application/pdf400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)413The PDF would pass the 4 MB export limit (PAYLOAD_TOO_LARGE) (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
GET /athletes/id/{athleteId}/meet-plans/{meetPlanId}
Get one meet-day worksheet
- Operation ID
getMeetPlanById- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
meetPlanIdRequired | path | string |
Responses
PUT /athletes/id/{athleteId}/meet-plans/{meetPlanId}
Replace one meet-day worksheet
- Operation ID
updateMeetPlanById- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
meetPlanIdRequired | path | string |
Request Body
Required, JSON
Responses
200Meet plan saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
meetPlanIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
meetPlanIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
meetPlanIdRequired | path | string | |
todayRequired | query | string | Anchor date for recent-lift and meet-history windows |
format | query | "json" | "pdf" | Use pdf or send Accept: application/pdf for a binary PDF download |
Responses
200Meet plan page export (object) as application/pdf400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)413The PDF would pass the 4 MB export limit (PAYLOAD_TOO_LARGE) (Error)429A 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
Read a powerlifter's Open Powerlifting link and cached meet history
Never fetches. Athletes of another sport read as unlinked; a link made before a sport change is kept and shows again if they move back.
- Operation ID
getOpenPowerliftingLink- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
PUT /athletes/by-id/{athleteId}/open-powerlifting
Link a powerlifter to an Open Powerlifting lifter, or unlink them
username is the lifter's username or their page URL (https://www.openpowerlifting.org/u/<username>); null unlinks. Powerlifting athletes only, by a coach who may edit the athlete's profile. Linking fetches the history in the background and fixes the athlete's sport.
- Operation ID
setOpenPowerliftingLink- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
usernameRequired | string | null | max length 400 |
Responses
200The stored username (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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}/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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
nameRequired | query | string |
Responses
200Matching lifters (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200What the request did (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)
MeetCal Search
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200The search settings (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
searchNameRequired | string | null | min length 2, max length 100 |
lifter | object | object | null |
Responses
200The search settings after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
weekStartDateRequired | path | string |
Request Body
Required, JSON
Responses
DELETE /athletes/{athleteName}/week-notes/{weekStartDate}
Remove the coach note for the week containing a date
- Operation ID
deleteAthleteWeekNote- Permission
athlete_data_delete
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
weekStartDateRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
weekStartDateRequired | path | string |
Request Body
Required, JSON
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
weekStartDateRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
from | query | string | |
to | query | string | |
limit | query | integer |
Responses
GET /athletes/id/{athleteId}/session-check-ins
List pre- and post-workout check-ins for an athlete
- Operation ID
listSessionCheckInsById- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
from | query | string | |
to | query | string | |
limit | query | integer |
Responses
Athlete Questionnaires
Sending And Reading Answers
PUT …/questionnaire-settingstakes{ "choice" }:defaultto follow the club,off, or a questionnaire ID. The read also says what the athlete's next meet will send.POST …/questionnairessends 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 answers400.GET …/questionnaireslists sends newest first with their answers; filter withstatus(pending,submitted, orcancelled). Each answer sits at the same position as its question, and answers never change after the athlete submits.POST /questionnaires/sends/{sendId}/cancelwithdraws 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
200Athlete post-meet setting saved (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
200Athlete check-ins saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
status | query | "pending" | "submitted" | "cancelled" |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
Responses
201Questionnaire sent (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
200Athlete post-meet setting saved (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
200Athlete check-ins saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
status | query | "pending" | "submitted" | "cancelled" |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
Responses
201Questionnaire sent (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200The athlete's check-in scheduling (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
Each field left out keeps what is stored.
| Field | Type | Details |
|---|---|---|
frequency | "coachDefault" | "off" | "everyWeek" | "every2Weeks" | "every4Weeks" | "every8Weeks" | "every12Weeks" | |
afterMeet | "coachDefault" | "on" | "off" |
Responses
200The athlete's check-in scheduling after the update (object)400Invalid request (Error)401Missing or invalid token (Error)403The 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)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
Idempotency-KeyRequired | header | string | Stable 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
201The check-in sent (object)400Invalid request (Error)401Missing or invalid token (Error)403The 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)404Resource not found (Error)409A 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)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
fromRequired | query | string | |
toRequired | query | string |
Responses
200Live Oura metrics, or an empty result when not connected (OuraMetricsEnvelope)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)503Oura 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
fromRequired | query | string | Inclusive start date; the range may not exceed 366 days |
toRequired | query | string |
Responses
200Live nutrition totals, or an empty result when not connected (NutritionMetricsEnvelope)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)503The 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
dateRequired | query | string |
Responses
200Live food entries for the day, or an empty result when not connected (NutritionFoodEntriesEnvelope)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)503The 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
fromRequired | query | string | |
toRequired | query | string |
Responses
200Live Oura metrics, or an empty result when not connected (OuraMetricsEnvelope)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)503Oura 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
fromRequired | query | string | Inclusive start date; the range may not exceed 366 days |
toRequired | query | string |
Responses
200Live nutrition totals, or an empty result when not connected (NutritionMetricsEnvelope)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)503The 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
dateRequired | query | string |
Responses
200Live food entries for the day, or an empty result when not connected (NutritionFoodEntriesEnvelope)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)503The 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200The Output Sports dashboard (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200The jump height trend (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
programName | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
exerciseNameRequired | query | string | The movement's name, as a program writes it, such as Snatch or Back Squat |
limit | query | integer |
Responses
200Logged sessions of the movement, newest first (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
programName | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
exerciseNameRequired | query | string | The movement's name, as a program writes it, such as Snatch or Back Squat |
limit | query | integer |
Responses
200Logged sessions of the movement, newest first (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
circuitNameRequired | query | string | |
limit | query | integer |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
circuitNameRequired | query | string | |
limit | query | integer |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
from | query | string | |
to | query | string | |
weekStartDay | query | "sunday" | "monday" |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
rangeRequired | query | "1mo" | "3mo" | "6mo" | "1yr" | "All" | |
todayRequired | query | string | |
startDate | query | string | With endDate, counts only sessions dated in this inclusive range instead of range's window |
endDate | query | string | Given together with startDate |
weekStartDay | query | "sunday" | "monday" | The day calendar weeks start on; defaults to monday |
programId | query | string | Counts only this program, bucketed by its program weeks instead of calendar weeks |
Responses
200Pace trends by exercise (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
todayRequired | query | string | |
startDate | query | string | With endDate, counts only sessions dated in this inclusive range instead of range's window |
endDate | query | string | Given together with startDate |
weekStartDay | query | "sunday" | "monday" | The day calendar weeks start on; defaults to monday |
programId | query | string | Counts only this program, bucketed by its program weeks instead of calendar weeks |
utcOffsetMinutes | query | integer | The viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0 |
Responses
200Story charts (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
todayRequired | query | string | |
startDate | query | string | With endDate, counts only sessions dated in this inclusive range instead of range's window |
endDate | query | string | Given together with startDate |
weekStartDay | query | "sunday" | "monday" | The day calendar weeks start on; defaults to monday |
programId | query | string | Counts only this program, bucketed by its program weeks instead of calendar weeks |
utcOffsetMinutes | query | integer | The viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0 |
Responses
200Connector story charts (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
itemRequired | AnalyticsLayoutItem | ||||||||||
todayRequired | string | The viewer's date, which lastWeeks and currentBlock ranges count back fromformat date | |||||||||
dateRange | object | The board's dates, which a chart without its own range follows
| |||||||||
weekStartDay | "sunday" | "monday" | The day calendar weeks start on; defaults to the coach's setting | |||||||||
programId | string | Counts only this program, bucketed by its program weeks | |||||||||
utcOffsetMinutes | integer | The viewer's offset from UTC in minutes; defaults to 0minimum -720, maximum 840 |
Responses
200The chart's data (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string | |
todayRequired | query | string | |
startDate | query | string | With endDate, counts only sessions dated in this inclusive range instead of range's window |
endDate | query | string | Given together with startDate |
weekStartDay | query | "sunday" | "monday" | The day calendar weeks start on; defaults to monday |
programId | query | string | Counts only this program, bucketed by its program weeks instead of calendar weeks |
utcOffsetMinutes | query | integer | The viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0 |
Responses
200Recovery against training load (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
from | query | string | |
to | query | string | |
weekStartDay | query | "sunday" | "monday" |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
rangeRequired | query | "1mo" | "3mo" | "6mo" | "1yr" | "All" | |
todayRequired | query | string | |
startDate | query | string | With endDate, counts only sessions dated in this inclusive range instead of range's window |
endDate | query | string | Given together with startDate |
weekStartDay | query | "sunday" | "monday" | The day calendar weeks start on; defaults to monday |
programId | query | string | Counts only this program, bucketed by its program weeks instead of calendar weeks |
Responses
200Pace trends by exercise (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
todayRequired | query | string | |
startDate | query | string | With endDate, counts only sessions dated in this inclusive range instead of range's window |
endDate | query | string | Given together with startDate |
weekStartDay | query | "sunday" | "monday" | The day calendar weeks start on; defaults to monday |
programId | query | string | Counts only this program, bucketed by its program weeks instead of calendar weeks |
utcOffsetMinutes | query | integer | The viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0 |
Responses
200Story charts (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
todayRequired | query | string | |
startDate | query | string | With endDate, counts only sessions dated in this inclusive range instead of range's window |
endDate | query | string | Given together with startDate |
weekStartDay | query | "sunday" | "monday" | The day calendar weeks start on; defaults to monday |
programId | query | string | Counts only this program, bucketed by its program weeks instead of calendar weeks |
utcOffsetMinutes | query | integer | The viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0 |
Responses
200Connector story charts (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
itemRequired | AnalyticsLayoutItem | ||||||||||
todayRequired | string | The viewer's date, which lastWeeks and currentBlock ranges count back fromformat date | |||||||||
dateRange | object | The board's dates, which a chart without its own range follows
| |||||||||
weekStartDay | "sunday" | "monday" | The day calendar weeks start on; defaults to the coach's setting | |||||||||
programId | string | Counts only this program, bucketed by its program weeks | |||||||||
utcOffsetMinutes | integer | The viewer's offset from UTC in minutes; defaults to 0minimum -720, maximum 840 |
Responses
200The chart's data (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | |
todayRequired | query | string | |
startDate | query | string | With endDate, counts only sessions dated in this inclusive range instead of range's window |
endDate | query | string | Given together with startDate |
weekStartDay | query | "sunday" | "monday" | The day calendar weeks start on; defaults to monday |
programId | query | string | Counts only this program, bucketed by its program weeks instead of calendar weeks |
utcOffsetMinutes | query | integer | The viewer's offset from UTC in minutes, so PRs land on their local date; defaults to 0 |
Responses
200Recovery against training load (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteNameRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
itemsRequired | array of AnalyticsLayoutItem | max items 64 |
layoutVersion | 2 | 3 | 4 | 5 | 6 | 7 |
Responses
200The board as saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
itemsRequired | array of AnalyticsLayoutItem | max items 64 |
layoutVersion | 2 | 3 | 4 | 5 | 6 | 7 |
Responses
200The board as saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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 returnsnullwhen 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/validatebefore 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, returns409. - 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.
| Shape | Example | Meaning |
|---|---|---|
| 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.
| Field | Type | Notes |
|---|---|---|
intensityMode | percent, percent_range, rpe, rpe_range, weight, weight_range, or none | Omit 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. |
percent | number, number array, or array of pairs | Greater 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. |
load | number, number array, or array of pairs | A weight in kilograms, from 0 to 500, for weight and weight_range. Shaped like percent. Mutually exclusive with percent and rpe. |
loadUnit | kg or lb | The 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. |
rpe | number, number array, or array of pairs | Rating of perceived exertion from 1 to 10, in the same shapes as percent. |
velocity | number, number array, or array of pairs | Optional bar speed in m/s, greater than 0 and at most 5. Independent of intensityMode. |
velocityRange | boolean | When true, velocity stores a lower and upper bound. Without it, a two-number array is two per-set values. |
loggedVelocity | number or number array | Athlete-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
RepTargetskeys. Weightlifting categories left out are stored as empty strings;benchPressanddeadliftare 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
| Name | In | Type | Details |
|---|---|---|---|
athleteName | query | string | |
athleteId | query | string | |
limit | query | integer | |
cursor | query | string |
Responses
200Programs (ProgramPageEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
Idempotency-Key | header | string | Optional; 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
200Existing idempotent result (ProgramMutationResult)201Program created (ProgramMutationResult)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)422Invalid request (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
format | query | "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
200The exported file (string) as application/pdf or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)413The file would pass the 4 MB export limit (PAYLOAD_TOO_LARGE) (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
If-None-Match | header | string | Return 304 when this revision ETag is still current |
Responses
200Program (ProgramEnvelope)304Program has not changed401Missing or invalid token (Error)403Token lacks the required permission (Error)404Not found429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
200Program updated (object)400Invalid request (Error)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)412The resource changed since its revision was read; read it again for the current revision (Error)422Invalid request (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
athleteName | string | |
programName | string | min length 1, max length 120 |
startDate | string | format date |
athleteId | string | |
shiftScheduledDates | boolean | With 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. |
repTargets | RepTargets | |
weekTotals | array of object | |
repTargetChanges | RepTargetChanges | Replaces the whole schedule; [] clears it |
Responses
200Program metadata updated (object)400Invalid request (Error)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Responses
200Program deleted (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
todayRequired | query | string | |
athleteName | query | string | |
athleteId | query | string |
Responses
200Current program or null (NullableProgramEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
todayRequired | query | string | |
athleteId | query | string | |
athleteName | query | string |
Responses
200Program summary, or null when the athlete has no program (CurrentProgramSummaryEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteName | query | string | |
athleteId | query | string | |
programNameRequired | query | string | |
startDateRequired | query | string |
Responses
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
POST /programs/{programId}/weeks
Add a week and update weekCount automatically
- Operation ID
addProgramWeek- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
201Week added (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
200Week updated (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Responses
200Week deleted (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer |
Responses
POST /programs/{programId}/weeks/{weekNumber}/copy
Copy a week while resetting athlete completion data
- Operation ID
copyProgramWeek- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
201Week copied (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
201Workout day added (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
200Workout day updated (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Responses
200Workout day deleted (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Responses
200Logged session deleted (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
200Workout day moved (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
200Workout completed (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
201Day copied (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision 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.
| Field | Type | Details | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
exerciseNumber | number | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
exerciseNameRequired | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
exerciseCategory | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
exerciseNotes | string | max length 2000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
supersetGroup | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
supersetOrder | number | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
sets | integer | minimum 1, maximum 99 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
reps | string | array of string | Prescribed 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). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
repsRange | boolean | When 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
items | array of object | The 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
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
itemValues | array of object | What 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
complex | object | Makes 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
circuit | object | Makes 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
weights | number | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
setWeights | array of number | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
targetSeconds | array of integer | Target time in whole seconds per set for a distance_time exercise, in set order. 0 means no target for that set. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSeconds | array of integer | Athlete-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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
percent | IntensityValue | Percent 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
intensityMode | IntensityMode | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
rpe | Rpe | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
load | Load | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
loadUnit | LoadUnit | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
velocity | Velocity | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
velocityRange | boolean | When true, velocity stores a lower and upper bound. A two-number array without this flag remains two per-set values. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
loggedVelocity | number | array of number | Athlete-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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
setStatuses | array of "pending" | "complete" | "miss" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
completed | boolean | default false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
athleteComments | string | max length 1000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
circuitText | string | A 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
201Exercise added (object)400Invalid request (Error)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision 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
201Exercises copied (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
exerciseNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Request Body
Required, JSON
Responses
200Exercise updated (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programIdRequired | path | string | |
weekNumberRequired | path | integer | |
dayNumberRequired | path | integer | |
exerciseNumberRequired | path | integer | |
If-MatchRequired | header | integer | Revision returned by GET /programs/{programId} |
Responses
200Exercise deleted (object)401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
limit | query | integer | |
cursor | query | string | |
sport | query | "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
200Templates (TemplatePageEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
If-Match | header | integer | Required when replacing, renaming, moving, or deleting an existing template |
Request Body
Required, JSON
Responses
200Template replaced (object)201Template created (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)412The resource changed since its revision was read; read it again for the current revision (Error)422Invalid request (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
templateIdRequired | path | string | |
format | query | "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
200The exported file (string) as application/pdf or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)413The file would pass the 4 MB export limit (PAYLOAD_TOO_LARGE) (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
templateIdRequired | path | string | |
If-None-Match | header | string | Return 304 when this revision ETag is still current |
Responses
200Template (TemplateEnvelope)304Template has not changed401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
templateIdRequired | path | string | |
If-MatchRequired | header | integer | Required when replacing, renaming, moving, or deleting an existing template |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
programNameRequired | string | min length 1, max length 120 |
Responses
200Template renamed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
templateIdRequired | path | string | |
If-MatchRequired | header | integer | Required when replacing, renaming, moving, or deleting an existing template |
Responses
200Template deleted (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
programNameRequired | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
templateIdRequired | path | string | |
Idempotency-Key | header | string | Optional; 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
200The original result for a retry (object)201Program assigned (object)400The athlete or group has another sport than the template, or the body is invalid401Missing or invalid token (Error)402PLAN_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)403Token lacks the required permission (Error)409The athlete already has a program with this name and start date, or the Idempotency-Key was already used with a different body (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
templateIdRequired | path | string | |
If-MatchRequired | header | integer | Required when replacing, renaming, moving, or deleting an existing template |
Request Body
Required, JSON
Responses
200Template moved (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)412The resource changed since its revision was read; read it again for the current revision (Error)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
templateIdRequired | path | string |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
programName | string | min length 1, max length 120 |
Responses
201Template copied (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
200Template folders (TemplateFolderListEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
201Template folder created (TemplateFolderEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
folderIdRequired | path | string |
Request Body
Required, JSON
Responses
200Template folder renamed (TemplateFolderEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
folderIdRequired | path | string |
Responses
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
| Field | Type | Details |
|---|---|---|
textRequired | string | max length 2000 |
Responses
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
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
| Name | In | Type | Details |
|---|---|---|---|
providerRequired | path | "trainheroic" | "coachlogik" | "truecoach" | "bridge" |
Request Body
Required, JSON
Responses
201Import session and the programs it can import (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
sessionIdRequired | path | string |
Request Body
Required, JSON
Responses
200Program counts and exercise matches (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
sessionIdRequired | path | string |
Request Body
Required, JSON
Responses
201Templates created (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
sessionIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
search | query | string | |
limit | query | integer | |
cursor | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
library | query | "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
201Exercise added (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
nameRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
nameRequired | path | string | |
library | query | "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
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
| Name | In | Type | Details |
|---|---|---|---|
nameRequired | path | string | |
library | query | "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
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
| Name | In | Type | Details |
|---|---|---|---|
nameRequired | path | string | |
library | query | "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
| Field | Type | Details |
|---|---|---|
newNameRequired | string | min length 1 |
Responses
200Exercise renamed, or renaming (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
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
| Field | Type | Details |
|---|---|---|
atlasLibraryEnabledRequired | boolean |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
sport | query | "weightlifting" | "powerlifting" | "general_fitness" | |
includeArchived | query | boolean |
Responses
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
| Field | Type | Details | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
exerciseNameRequired | string | min length 1, max length 120 | ||||||||||||
sportRequired | "weightlifting" | "powerlifting" | "general_fitness" | The athletes who track it: athletes of this sport in the club | ||||||||||||
topRepMaxRequired | integer | The 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 | ||||||||||||
ratio | object | An 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.
| ||||||||||||
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
201Club lift created (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
clubLiftIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
topRepMax | integer | The 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 |
ratio | object | 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
200Club lift saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
clubLiftIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
clubLiftIdRequired | path | string |
Responses
200Club lift restored (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
sport | query | "weightlifting" | "powerlifting" | "general_fitness" |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
sportRequired | path | "weightlifting" | "powerlifting" | "general_fitness" | |
liftRequired | path | "snatch" | "clean" | "jerk" | "clean_jerk" | "power_snatch" | "power_clean" | "push_press" | "snatch_balance" | "overhead_squat" | "back_squat" | "front_squat" | "bench_press" | "deadlift" |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
sportRequired | path | "weightlifting" | "powerlifting" | "general_fitness" | |
liftRequired | path | "snatch" | "clean" | "jerk" | "clean_jerk" | "power_snatch" | "power_clean" | "push_press" | "snatch_balance" | "overhead_squat" | "back_squat" | "front_squat" | "bench_press" | "deadlift" |
Responses
Questionnaires
Questionnaire Rules
GET /questionnaireslists the Atlas questionnaires every club sees first, read-only and markedisBuiltIn: 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 ause:postMeet,preWorkoutorpostWorkout, 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 isnullwhen skipped. A question istext(up to 4,000 characters),scale(a whole number from 1 to 5),yesNo, orchoicewith 2 to 10 distinct options andallowMultiple. A scale may carryminLabelandmaxLabel. 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.
PATCHandDELETEtake the revision from a read in an optionalIf-Match, and answer412when it is stale. Deleting needsprogram_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;
/usagecounts 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. EachPUTtakes{ "use", "questionnaireId" }; at the coach and athlete levelsnullfollows 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 alabeland a wholepercentfrom -20 to 20, plusaskedandadjustsPercents. A session'sratingstays 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 andputInUse; a club admin's copy goes into use at once. - Each check-in from
GET …/session-check-insstores 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
POST /questionnaires
Create a club questionnaire. Any coach in the club may.
- Operation ID
createQuestionnaire- Permission
write
Request Body
Required, JSON
Responses
201Questionnaire created (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)429A 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
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
200Club post-meet setting saved (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
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
200Club check-ins saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
coachUserId | query | string | Yourself by default; only a club admin may read another coach's |
Responses
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
200Coach check-ins saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
sendIdRequired | path | string |
Responses
POST /questionnaires/sends/{sendId}/cancel
Cancel an unanswered questionnaire; it disappears from the athlete's app
- Operation ID
cancelQuestionnaireSend- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
sendIdRequired | path | string |
Responses
200Questionnaire cancelled (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
questionnaireIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
questionnaireIdRequired | path | string | |
If-Match | header | integer | Revision returned by GET /questionnaires/{questionnaireId} |
Request Body
Required, JSON
Responses
200Questionnaire updated (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)412The resource changed since its revision was read; read it again for the current revision (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
questionnaireIdRequired | path | string | |
If-Match | header | integer | Revision returned by GET /questionnaires/{questionnaireId} |
Responses
200Questionnaire deleted (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)412The resource changed since its revision was read; read it again for the current revision (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
questionnaireIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
questionnaireIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
athleteId | query | string | |
sinceAt | query | integer | |
unreadOnly | query | boolean | |
limit | query | integer |
Responses
200Rows, whether more exist, and the unread count (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Field | Type | Details |
|---|---|---|
athleteId | string | |
sinceAt | integer | minimum 0 |
Responses
200How many rows were marked, and how many unread remain (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
notificationIdRequired | path | string |
Responses
200Marked read (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
sendIdRequired | path | string |
Responses
200Whether a notification was marked (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
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.
| Field | Type | Details |
|---|---|---|
message | string | Stored trimmed; blank is refused.max length 500 |
bookingLink | string | null | An 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" | |
afterMeet | boolean |
Responses
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
readand changeswrite. Voiding a signing and deleting a file takeathlete_data_delete, since they remove the club's legal records. The API never signs a form: athletes sign in the app.
Uploads And Downloads
POST /documents/uploadsnames the purpose (formPdf,paperCopyorfile), the athlete and form it is for, and the file's name, type and exact size: PDF, JPEG or PNG, up to 25 MB.- POST the bytes to the
uploadUrlit answers, with the same token (it needswrite), the sameContent-Typeand the exactContent-Length, within an hour. - Finalize with
…/form-pdf,…/paper-copy(with thesignedOndate) or…/file.atlas upload-documentdoes 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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
athleteId | query | string | |
sinceAt | query | integer | |
unreadOnly | query | boolean | |
limit | query | integer |
Responses
200Rows, whether more exist, and the unread count (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Field | Type | Details |
|---|---|---|
athleteId | string | |
sinceAt | integer | minimum 0 |
Responses
200How many rows were marked, and how many unread remain (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
notificationIdRequired | path | string | A row from `GET /documents/notifications`. |
Responses
200Marked read (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
notificationIdRequired | path | string | A row from `GET /documents/notifications`. |
Responses
200Marked unread (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
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
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
| Field | Type | Details |
|---|---|---|
nameRequired | string | max length 100 |
body | string | The form's text, blank lines between paragraphs.max length 50000 |
fields | array of ClubFormField | max items 30 |
renewal | ClubFormRenewal |
Responses
201Form created (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Responses
200Form deleted (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
nameRequired | string | max length 100 |
sourceRequired | object | object | |
fields | array of ClubFormField | Omitted means none.max items 30 |
Responses
200Draft saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Responses
200Draft discarded (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
requiresResign | boolean | default false |
Responses
201Version published (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
renewalRequired | ClubFormRenewal |
Responses
200Renewal saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
requiredRequired | boolean |
Responses
200Saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
formIdRequired | path | string | The club form, from `GET /documents/forms`. |
Responses
GET /documents/versions/{versionId}
Get one published version of a form, with its text and fields
- Operation ID
getClubFormVersion- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
versionIdRequired | path | string | A published form version, from `GET /documents/forms/{formId}/versions`. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
versionIdRequired | path | string | A published form version, from `GET /documents/forms/{formId}/versions`. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
submissionIdRequired | path | string | A signing or paper copy, from an athlete's documents. |
Responses
200The file (string) as application/pdf401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
submissionIdRequired | path | string | A signing or paper copy, from an athlete's documents. |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
reasonRequired | string | min length 1, max length 500 |
Responses
200Voided (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Field | Type | Details |
|---|---|---|
purposeRequired | "formPdf" | "paperCopy" | "file" | |
athleteId | string | |
formId | string | |
fileNameRequired | string | max length 200 |
mimeTypeRequired | "application/pdf" | "image/jpeg" | "image/png" | |
byteSizeRequired | integer | minimum 1, maximum 26214400 |
Responses
201Upload authorized (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
uploadIdRequired | path | string | The upload authorized by `POST /documents/uploads`, after its bytes were sent to `uploadUrl`. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
uploadIdRequired | path | string | The upload authorized by `POST /documents/uploads`, after its bytes were sent to `uploadUrl`. |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
signedOnRequired | string | The date it was signed on paper, no later than today where the athlete is.format date |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
uploadIdRequired | path | string | The upload authorized by `POST /documents/uploads`, after its bytes were sent to `uploadUrl`. |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
name | string | Defaults to the uploaded file name.max length 200 |
folder | string | null | Library files only.max length 60 |
expiresOn | string | null | format date |
Responses
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
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
| Name | In | Type | Details |
|---|---|---|---|
fileIdRequired | path | string | A club library or athlete file. |
Request Body
Required, JSON
object
min properties 1
| Field | Type | Details |
|---|---|---|
name | string | max length 200 |
folder | string | null | max length 60 |
expiresOn | string | null | format date |
Responses
200The file (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
fileIdRequired | path | string | A club library or athlete file. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
fileIdRequired | path | string | A club library or athlete file. |
Responses
200The file (string) as application/pdf or image/jpeg or image/png401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
cursor | query | string | continueCursor from the previous page |
limit | query | integer | Rows to read, at most 50 (the default) |
Responses
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
| Field | Type | Details |
|---|---|---|
filter | "all" | "missing" | "expiring" | "locked" | The grid's filter: everyone, Missing, Expiring in 30 Days, or Locked.default all |
search | string | Only athletes whose name holds every word.max length 200, default |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
cursor | query | string | continueCursor from the previous page |
limit | query | integer | Rows to read, at most 100 (the default) |
Responses
200A page of signings and paper copies (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
cursor | query | string | continueCursor from the previous page |
limit | query | integer | Rows to read, at most 100 (the default) |
Responses
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
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
| Name | In | Type | Details |
|---|---|---|---|
audienceRequired | path | string | roster for the roster's email, or a group program's id |
Responses
200The email (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
audienceRequired | path | string | roster for the roster's email, or a group program's id |
Request Body
Required, JSON
object
min properties 1
| Field | Type | Details |
|---|---|---|
enabled | boolean | |
subject | string | One line.min length 1, max length 200 |
body | string | Plain text, blank lines between paragraphs. {athlete_first_name}, {athlete_name}, {coach_name} and {club_name} fill in.min length 1, max length 20000 |
attachmentFileIds | array of string | Club library files (fileIds from listClubLibraryFiles), 20 MB together, sent as links.max items 5 |
Responses
200The email after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
audienceRequired | path | string | roster for the roster's email, or a group program's id |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
subject | string | One line.min length 1, max length 200 |
body | string | Plain text, blank lines between paragraphs. {athlete_first_name}, {athlete_name}, {coach_name} and {club_name} fill in.min length 1, max length 20000 |
attachmentFileIds | array of string | Club library files (fileIds from listClubLibraryFiles), 20 MB together, sent as links.max items 5 |
Responses
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
200Output Sports athletes, sorted by name (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
today | query | string |
Responses
GET /schedule-summaries
Get each athlete's last scheduled date and days remaining
- Operation ID
getScheduleSummaries- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
todayRequired | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
rangeRequired | query | "1mo" | "3mo" | "6mo" | "1yr" | "All" | |
todayRequired | query | string | |
startDate | query | string | With endDate, counts only sessions dated in this inclusive range instead of range's window |
endDate | query | string | Given together with startDate |
weekStartDay | query | "sunday" | "monday" | The day calendar weeks start on; defaults to monday |
programId | query | string | Counts only this program, bucketed by its program weeks instead of calendar weeks |
athleteName | query | string | |
athleteId | query | string |
Responses
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
| Field | Type | Details |
|---|---|---|
textRequired | string | max length 200 |
Responses
200The chart item, or why none was built (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
rangeRequired | query | "1mo" | "3mo" | "6mo" | "1yr" | "All" | |
todayRequired | query | string | |
athleteName | query | string | |
athleteId | query | string |
Responses
GET /completed-days
List completed workout days
- Operation ID
getCompletedDays- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
athleteName | query | string | |
athleteId | query | string | |
limit | query | integer | |
timeOfDay | query | "morning" | "afternoon" | "evening" |
Responses
GET /session-activity
List sessions with logged work or completion, with optional planned sessions
- Operation ID
getSessionActivity- Permission
read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteName | query | string | |
athleteId | query | string | |
limit | query | integer | |
includePlanned | query | boolean |
Responses
200Session activity with planned, work_logged, or completed status and loggedSetCount (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
today | query | string | |
weekStartDay | query | "sunday" | "monday" |
Responses
Coach Settings
GET /settings
Get the coach's settings in the token's club
- Operation ID
getCoachSettings- Permission
read
Responses
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
| Field | Type | Details |
|---|---|---|
showSelfAsAthlete | boolean | |
weekStartDay | "sunday" | "monday" | |
defaultReadinessPercentAdjustment | boolean | |
defaultEstimatedPersonalRecords | boolean | |
defaultAthletesCanAddExercises | boolean | |
defaultLockProgramEdits | "clubDefault" | "on" | "off" | |
autoMarkA1Primer | boolean | |
trackPrimerReps | boolean |
Responses
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
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
| Name | In | Type | Details |
|---|---|---|---|
ratioRequired | path | "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
| Field | Type | Details |
|---|---|---|
minPercentRequired | number | minimum 1, maximum 200 |
maxPercentRequired | number | minimum 1, maximum 200 |
Responses
DELETE /settings/lift-ratio-ranges/{ratio}
Return one lift ratio to Atlas's default range
- Operation ID
resetLiftRatioRange- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
ratioRequired | path | "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
200Whether a custom range was removed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
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
| Field | Type | Details | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
commentEmailAlerts | object | Email when athletes comment on an exercise or workoutmin properties 1
| ||||||||||||
commentPushAlerts | object | Push to the Atlas app when an athlete comments on an exercise or workout
| ||||||||||||
personalRecordAlerts | object | Email when athletes set personal recordsmin properties 1
| ||||||||||||
programmingDigest | object | Email listing assigned athletes who need programmingmin properties 1
| ||||||||||||
checkInEmailAlerts | object | Athletes 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
|
Responses
200The settings after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)429A 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
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
PATCH /settings/appearance
Change the token owner's coach console theme
- Operation ID
updateAppearanceSettings- Permission
write
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
consoleThemeRequired | "system" | "light" | "dark" | "blue" | "forest" | "plum" | "slate" | "ember" |
Responses
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
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
| Field | Type | Details |
|---|---|---|
name | string | min length 2, max length 100 |
weightUnit | "kg" | "lb" | |
trainingWeightUnit | "kg" | "lb" |
Responses
200The profile after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)429A 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
| Field | Type | Details |
|---|---|---|
mimeTypeRequired | "image/jpeg" | "image/png" | "image/webp" | |
byteSizeRequired | integer | minimum 1, maximum 1048576 |
Responses
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
| Field | Type | Details |
|---|---|---|
storageIdRequired | string |
Responses
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
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 /commentslists athletes' own workout and exercise comments, newest first, withreadfor this coach,unreadCount,hasMore, and the athletes who commented. Filter withathleteId,sinceDate(YYYY-MM-DD),unreadOnly=true, andlimit(up to 500). It needsread.- Each comment has a stable
keysuch asprogramId:1:2:sessionorprogramId:1:2:exercise:3. Percent-encode it in a path. A malformed key returns400; a key outside this coach's comments returns404. POSTandDELETE /comments/{commentKey}/readmark one comment read or unread. Both needwrite; unmarking needs no delete permission. Editing a comment brings it back as unread.POST /comments/read-alltakes an optional{ "athleteId", "sinceDate" }, marks up to 500 unread comments, and returns{ "marked", "remaining" }. Repeat untilremainingis0. It needswrite.POST /comments/{commentKey}/repliestakes{ "text": "..." }and a requiredIdempotency-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 needsmessaging_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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
athleteId | query | string | |
sinceDate | query | string | Only sessions on or after this date |
limit | query | integer | |
unreadOnly | query | boolean |
Responses
200Comment feed with the token owner's read state (AthleteCommentFeedEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Field | Type | Details |
|---|---|---|
athleteId | string | |
sinceDate | string | format date |
Responses
POST /comments/{commentKey}/read
Mark one athlete comment read for the token owner
- Operation ID
markAthleteCommentRead- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
commentKeyRequired | path | string | A comment key from GET /comments, percent-encoded |
Responses
200Comment marked read (CommentReadStateEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
commentKeyRequired | path | string | A comment key from GET /comments, percent-encoded |
Responses
200Comment marked unread (CommentReadStateEnvelope)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
commentKeyRequired | path | string | A comment key from GET /comments, percent-encoded |
Idempotency-KeyRequired | header | string | Stable 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.
| Field | Type | Details |
|---|---|---|
text | string | max length 8000 |
attachmentIds | array of string | max items 8 |
Responses
201Reply sent, or the original reply for a retry (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409A 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)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
commentKeyRequired | path | string | A comment key from GET /comments, percent-encoded |
Responses
Messaging
Messaging Rules
messaging_readlists the inbox and history;messaging_writecreates 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/conversationslists 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 itsconversationId; 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
| Name | In | Type | Details |
|---|---|---|---|
cursor | query | string | |
limit | query | integer | |
archived | query | boolean | |
type | query | "group" | "direct" | direct for one-to-one conversations, group for every other kind |
Responses
GET /messages/conversations/{conversationId}
List messages in a conversation
- Operation ID
listConversationMessages- Permission
messaging_read
Parameters
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string | |
cursor | query | string | |
limit | query | integer |
Responses
POST /messages/conversations/{conversationId}
Send a message or reply in a conversation
- Operation ID
sendConversationMessage- Permission
messaging_write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string | |
Idempotency-KeyRequired | header | string | Stable 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
| Field | Type | Details | |||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
text | string | max length 8000 | |||||||||||||||||||||||||||||||||||||||||||||
replyToMessageId | string | ||||||||||||||||||||||||||||||||||||||||||||||
attachmentIds | array of string | max items 8 | |||||||||||||||||||||||||||||||||||||||||||||
scheduledFor | number | Future epoch milliseconds, at most 365 days | |||||||||||||||||||||||||||||||||||||||||||||
mentions | array of string | max items 20 | |||||||||||||||||||||||||||||||||||||||||||||
trainingReference | object |
| |||||||||||||||||||||||||||||||||||||||||||||
videoKind | "source" | "review" | source posts the athlete's workout video for review; review answers a source video with the coach's own clip | |||||||||||||||||||||||||||||||||||||||||||||
reviewOfMessageId | string | The source video message a review answers; replyToMessageId stands in when left out | |||||||||||||||||||||||||||||||||||||||||||||
reviewOfAttachmentId | string | The one clip of the source message a review answers | |||||||||||||||||||||||||||||||||||||||||||||
videoReview | object | Asks a coach to review the attached video; only awaiting_review is accepted
| |||||||||||||||||||||||||||||||||||||||||||||
exerciseSnapshot | object | The program exercise a source video shows; a coach may post one only for an athlete in the conversation
| |||||||||||||||||||||||||||||||||||||||||||||
poll | object | Sends 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.
|
Responses
201Message sent or original retry result (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)409A 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)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Responses
200Conversation deleted for the token owner (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
throughMessageId | string |
Responses
POST /messages/conversations/{conversationId}/attachments
Create an authenticated upload for a photo, voice message, or file
- Operation ID
createMessageAttachmentUpload- Permission
messaging_write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
fileNameRequired | string | |
mimeTypeRequired | string | |
byteSizeRequired | number | minimum 1, maximum 26214400 |
kindRequired | "photo" | "voice" | "file" | |
durationMs | number | minimum 1, maximum 600000 |
Responses
POST /messages/attachments/{uploadAuthorizationId}/finalize
Finalize a completed messaging attachment upload
- Operation ID
finalizeMessageAttachment- Permission
messaging_write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
uploadAuthorizationIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
storageIdRequired | string |
Responses
POST /messages/conversations/{conversationId}/videos
Create presigned video and optional poster uploads
- Operation ID
createMessageVideoUpload- Permission
messaging_write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
fileNameRequired | string | |
mimeTypeRequired | string | |
byteSizeRequired | number | minimum 1, maximum 167772160 |
durationMsRequired | number | minimum 1, maximum 600000 |
videoKindRequired | "source" | "review" | |
posterByteSize | number | minimum 1 |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
uploadAuthorizationIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
r2KeyRequired | string | |
byteSizeRequired | number | |
durationMsRequired | number | |
width | number | |
height | number | |
posterUploaded | boolean |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
attachmentIdRequired | path | string |
Responses
200Attachment transcript and summary (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
attachmentIdRequired | path | string |
Responses
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
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
| Field | Type | Details |
|---|---|---|
conversationIdsRequired | array of string | max items 9 |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Request Body
Required, JSON
object
min properties 1
| Field | Type | Details |
|---|---|---|
muted | boolean | |
archived | boolean | |
pinned | boolean | |
needsReply | boolean | Ignored: Needs Reply was retired. Accepted for older clients. |
mutedUntil | number | null | |
mentionPolicy | "all" | "mentions" | "none" |
Responses
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
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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string | |
Idempotency-Key | header | string | Required 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
| Field | Type | Details |
|---|---|---|
text | string | max length 8000 |
scheduledFor | number | New future epoch milliseconds, at most 365 days; not with sendNow |
sendNow | true | Deliver the message now; not with scheduledFor |
Responses
200Scheduled message updated (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)409A 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)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string |
Responses
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
| Field | Type | Details |
|---|---|---|
otherUserIdRequired | string |
Responses
POST /messages/groups
Create a custom in-club messaging group
- Operation ID
createMessageGroup- Permission
messaging_write
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
nameRequired | string | max length 100 |
memberUserIdsRequired | array of string | max items 99 |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
cursor | query | string | |
limit | query | integer |
Responses
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
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
| Field | Type | Details |
|---|---|---|
archivedRequired | boolean |
Responses
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
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
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
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
| Field | Type | Details | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
voicePlaybackSpeed | 1 | 1.25 | 1.5 | 1.75 | 2 | The speed voice messages start at, 1 until it is first saved | |||||||||||||||
quickReactions | array 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 | |||||||||||||||
quietHours | object | min properties 1
|
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
cursor | query | string | |
limit | query | integer |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
reportIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
reportIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string | |
Idempotency-KeyRequired | header | string | A 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
| Field | Type | Details |
|---|---|---|
textRequired | string | max length 8000 |
Responses
200Message edited (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409A 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)428A required If-Match revision or Idempotency-Key header is missing (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string | |
Idempotency-Key | header | string | Optional; a retried unsend returns the first result even though the message is gone; the same key on another target answers 409 |
Responses
200Message unsent (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409A 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)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string |
Responses
200Reactions grouped by emoji (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string | |
Idempotency-Key | header | string | Optional; 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
| Field | Type | Details |
|---|---|---|
emojiRequired | string | min length 1, max length 16 |
Responses
200Reaction added (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409A 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)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string | |
emojiRequired | path | string | The emoji, percent-encoded |
Responses
200Reaction removed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string | |
Idempotency-Key | header | string | Optional; 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
| Field | Type | Details |
|---|---|---|
reasonRequired | "spam" | "harassment" | "unsafe_content" | "unwanted_contact" | "other" | |
details | string | max length 2000 |
Responses
201The report, or the reporter's open report on the same target (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409A 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)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string |
Responses
200How many clips were marked (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
attachmentIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
reviewedRequired | boolean |
Responses
200Clip review state (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
fromMessageId | string |
Responses
200Conversation marked unread (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string | |
Idempotency-Key | header | string | Optional; 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
| Field | Type | Details |
|---|---|---|
reasonRequired | "spam" | "harassment" | "unsafe_content" | "unwanted_contact" | "other" | |
details | string | max length 2000 |
reportedUserId | string |
Responses
201The report, or the reporter's open report on the same target (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409A 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)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Request Body
Required, JSON
object
min properties 1
| Field | Type | Details |
|---|---|---|
name | string | min length 1, max length 100 |
announcementMessageId | string | null |
Responses
200Group updated (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
attachmentIdRequired | string |
Responses
200Group photo set (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Responses
200Group photo removed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Responses
200Conversation members (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
memberUserIdsRequired | array of string | min items 1, max items 100 |
Responses
200Members added (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string | |
memberUserIdRequired | path | string |
Responses
200Member removed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Responses
200Left the group (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
questionRequired | string | min length 1, max length 300 |
optionsRequired | array of string | 2 to 12 different answersmin items 2, max items 12 |
allowsMultipleRequired | boolean | True lets each person choose several answers; false allows one |
durationMs | number | minimum 300000, maximum 2592000000 |
endsAt | number |
Responses
200Done (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
optionIdsRequired | array of string | optionIds from the message's poll in list_messagesmax items 12 |
Responses
200Vote saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string |
Responses
200Done (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string |
Responses
200Voters by answer (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
qRequired | query | string | Words to look for |
conversationId | query | string | |
cursor | query | string | |
limit | query | integer |
Responses
200Matching messages, best match first (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
qRequired | query | string | Words to look for |
type | query | "group" | "direct" | direct for one-to-one conversations, group for every other kind |
cursor | query | string | |
limit | query | integer |
Responses
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
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
| Name | In | Type | Details |
|---|---|---|---|
limit | query | integer | At most this many people; 100 when left out |
Responses
200People the token owner can message (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
coachUserIdRequired | path | string | Another coach of the club |
type | query | "group" | "direct" | direct for one-to-one conversations, group for every other kind |
cursor | query | string | |
limit | query | integer |
Responses
200The coach's conversations, newest first (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string |
Responses
200The conversation (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Responses
200The conversation (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string | |
kindRequired | query | "links" | "files" | "video_review" | |
cursor | query | string | |
limit | query | integer |
Responses
200Shared resources (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string |
Responses
200The thread (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
messageIdRequired | path | string | |
Idempotency-Key | header | string | Optional; a retried unsend returns the first result even though the video is gone; the same key on another target answers 409 |
Responses
200Videos unsent (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409A 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)429A 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
| Name | In | Type | Details |
|---|---|---|---|
attachmentIdRequired | path | string | |
Idempotency-Key | header | string | Optional; a retried unsend returns the first result even though the video is gone; the same key on another target answers 409 |
Responses
200Video unsent (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409A 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)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | query | string | |
programIdRequired | query | string | |
weekNumberRequired | query | integer | |
dayNumberRequired | query | integer |
Responses
200Videos for the day (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
today | query | string | |
athleteId | query | string | |
sinceDate | query | string | |
unreadOnly | query | boolean | |
limit | query | integer |
Responses
200Rows, whether more exist, and the unread count (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Field | Type | Details |
|---|---|---|
today | string | format date |
athleteId | string | |
sinceDate | string | format date |
Responses
200How many rows were marked, and how many unread remain (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | The flagged athlete's roster id |
Request Body
Optional, JSON
object
| Field | Type | Details |
|---|---|---|
today | string | format date |
Responses
DELETE /check-in-notifications/{athleteId}/read
Mark one athlete's check-in notification unread
- Operation ID
markCheckInNotificationUnread- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
athleteIdRequired | path | string | The flagged athlete's roster id |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
today | query | string | |
athleteId | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
today | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
attachmentIdRequired | path | string | A video's attachmentId from listMessages |
Responses
200Bar path and metrics (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
attachmentIdRequired | path | string | A 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.
| Field | Type | Details | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
frameWidthRequired | integer | Width in pixels of the frame the points are measured inminimum 1, maximum 320 | ||||||||||||
frameHeightRequired | integer | Height in pixels of the frame the points are measured inminimum 1, maximum 320 | ||||||||||||
plateRadiusPxRequired | number | The plate's radius in frame pixels, at most the frame's longer side; it sets the scale from pixels to metersminimum 4 | ||||||||||||
plateDiameterMmRequired | number | The plate's real diameter in millimetersminimum 200, maximum 500 | ||||||||||||
loadKgRequired | number | null | The bar's load in kilograms, more than 0 and at most 500, or null when unknown; force and power need it | ||||||||||||
pointsRequired | array of object | The 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
|
Responses
200Saved bar path and metrics (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
attachmentIdRequired | path | string | A video's attachmentId from listMessages |
Responses
200Cleared (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
coach | query | string | A 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. |
athleteId | query | string | |
sinceDate | query | string | |
unreadOnly | query | boolean | |
limit | query | integer |
Responses
200Rows, whether more exist, and the unread count (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Field | Type | Details |
|---|---|---|
athleteId | string | |
sinceDate | string | format date |
Responses
200How many rows were marked, and how many unread remain (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
notificationIdRequired | path | string |
Responses
DELETE /video-notifications/{notificationId}/read
Mark one video notification unread
- Operation ID
markVideoNotificationUnread- Permission
messaging_write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
notificationIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
role | query | "offlineWriter" | "replacedWriter" | |
limit | query | integer |
Responses
200Replaced edits and whether more exist (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
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
| Name | In | Type | Details |
|---|---|---|---|
overwriteIdRequired | path | string | The replaced edit's id from GET /sync-overwrites |
Responses
200The restored row (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
shippedLimit | query | integer |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
titleRequired | query | string |
Responses
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
| Field | Type | Details |
|---|---|---|
titleRequired | string | min length 1, max length 80 |
description | string | null | max length 1000 |
status | "suggested" | "planned" | "building" | "shipped" |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
itemIdRequired | path | string | An itemId from getRoadmap or listSimilarRoadmapItems |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
itemIdRequired | path | string | An itemId from getRoadmap or listSimilarRoadmapItems |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
title | string | min length 1, max length 80 |
description | string | null | max length 1000 |
status | "suggested" | "planned" | "building" | "shipped" |
Responses
200Item changed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
itemIdRequired | path | string | An itemId from getRoadmap or listSimilarRoadmapItems |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
itemIdRequired | path | string | An itemId from getRoadmap or listSimilarRoadmapItems |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
itemIdRequired | path | string | An itemId from getRoadmap or listSimilarRoadmapItems |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
itemIdRequired | path | string | An itemId from getRoadmap or listSimilarRoadmapItems |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
mergedIntoItemIdRequired | string | min length 1 |
Responses
200Merged (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
limit | query | integer | |
unreadOnly | query | boolean |
Responses
POST /roadmap/notifications/read
Mark every Roadmap notification read
- Operation ID
markAllRoadmapNotificationsRead- Permission
write
Responses
POST /roadmap/notifications/{notificationId}/read
Mark one Roadmap notification read
- Operation ID
markRoadmapNotificationRead- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
notificationIdRequired | path | string | A notificationId from listRoadmapNotifications |
Responses
DELETE /roadmap/notifications/{notificationId}/read
Mark one Roadmap notification unread
- Operation ID
markRoadmapNotificationUnread- Permission
write
Parameters
| Name | In | Type | Details |
|---|---|---|---|
notificationIdRequired | path | string | A notificationId from listRoadmapNotifications |
Responses
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
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
| Field | Type | Details |
|---|---|---|
clubNameRequired | string | min length 2, max length 100 |
ownerNameRequired | string | min length 2, max length 100 |
emailRequired | string | format email, max length 320 |
Responses
201Invitation sent (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429An invitation went to this address recently, or the club has sent as many as it can this hour or today (RATE_LIMITED)503Sending 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
| Name | In | Type | Details |
|---|---|---|---|
invitationIdRequired | path | string |
Responses
200Invitation revoked (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A rate limit was exceeded: the token's, its account's, or the action's own. Sharded accounting cannot expose an exact remaining count. (Error)503Sending 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
| Name | In | Type | Details |
|---|---|---|---|
showDismissed | query | boolean | Defaults to false: only candidates not yet dismissed. |
Responses
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
| Field | Type | Details |
|---|---|---|
keysRequired | array of string | Candidate keys from listClubExerciseCandidates: the exercise name in lower case, its letters and digits split by single spaces.min items 1, max items 100 |
names | array of string | The 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
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
| Field | Type | Details |
|---|---|---|
keysRequired | array of string | Candidate keys from listClubExerciseCandidates: the exercise name in lower case, its letters and digits split by single spaces.min items 1, max items 100 |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
nameRequired | string | min length 2, max length 100 |
Responses
200Club renamed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
planRequired | "free" | "complimentary" | "custom" | |
meetCal | boolean | Complimentary or custom only: include MeetCal.default false |
amountCents | integer | Custom 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. |
note | string | Custom only: how the club pays, such as Invoiced by bank transfer.max length 200 |
Responses
200The club's plan after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
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
| Field | Type | Details |
|---|---|---|
audienceRequired | "coaches" | "athletes" | "everyone" | |
bodyRequired | string | min length 1, max length 8000 |
Responses
201Announcement sent; recipients are added in the background (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
broadcastIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
bodyRequired | string | min length 1, max length 8000 |
Responses
200Announcement changed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
broadcastIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
cursor | query | string | |
limit | query | integer | |
archived | query | boolean | |
query | query | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string | |
cursor | query | string | |
limit | query | integer |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string | |
Idempotency-KeyRequired | header | string | Stable 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
| Field | Type | Details |
|---|---|---|
text | string | max length 8000 |
replyToMessageId | string | |
attachmentIds | array of string | max items 8 |
Responses
201Reply sent (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409A 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)429A 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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
conversationIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
archivedRequired | boolean |
Responses
200Saved (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
section | query | "overview" | "revenue" | "product" | "reliability" | "releases" | "push" | "infrastructure" |
Responses
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
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
| Name | In | Type | Details |
|---|---|---|---|
cursor | query | string | |
limit | query | integer | |
name | query | string | Only 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
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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string |
Responses
200The club's active roster (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string |
Responses
200The club's archived athletes (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string | |
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
nameRequired | string | min length 1 |
emailRequired | string | null |
Responses
200The athlete's profile (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string | |
athleteIdRequired | path | string |
Responses
200Profile archived (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string | |
athleteIdRequired | path | string |
Responses
200Profile deleted (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
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
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
| Field | Type | Details |
|---|---|---|
nameRequired | string | Unique among Atlas questionnaires, ignoring casemin length 1, max length 100 |
questionsRequired | array of QuestionnaireQuestion | min 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. |
readiness | ReadinessSetup |
Responses
201Questionnaire created (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
questionnaireIdRequired | path | string | An Atlas questionnaire's id, or atlas_post_meet, atlas_pre_workout, atlas_post_workout for a use's Atlas fallback |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
questionnaireIdRequired | path | string | An Atlas questionnaire's id, or atlas_post_meet, atlas_pre_workout, atlas_post_workout for a use's Atlas fallback |
If-Match | header | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
nameRequired | string | Unique among Atlas questionnaires, ignoring casemin length 1, max length 100 |
questionsRequired | array of QuestionnaireQuestion | min 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. |
readiness | ReadinessSetup |
Responses
200The questionnaire's new revision (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)412The resource changed since its revision was read; read it again for the current revision (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
questionnaireIdRequired | path | string | An Atlas questionnaire's id, or atlas_post_meet, atlas_pre_workout, atlas_post_workout for a use's Atlas fallback |
Responses
200Questionnaire deleted (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
invariant | query | "programAthleteMissing" | "programClubMissing" | "programRevisionInvalid" | "programOutlineStale" | "groupCopySourceMissing" | "groupCopyNotAMember" | "groupCopyOutOfSync" | "groupCopyRevisionAhead" | "copyLinkProgramMissing" | "athleteClubMissing" | "athleteDuplicateActiveEmail" | "groupOnlyAthleteWithoutMembership" | "membershipAthleteNotActive" | "membershipGroupNotActive" | "membershipOfGroupRow" | "clubOverAthleteLimit" | "clubOverGroupMemberLimit" | "scheduledMessageStuck" | "attachmentFileMissing" | "openHistoryWithoutMembership" | "rosterChatMemberUnwanted" | "deletedAthleteDataLeft" | "deletedMinorFamilyThreadLeft" |
Responses
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
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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string | |
coachUserIdRequired | path | string | The coach's userId, as listed by the club's coaches |
Responses
200The coach (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string | |
coachUserIdRequired | path | string | The coach's userId, as listed by the club's coaches |
Request Body
Required, JSON
object
min properties 1
| Field | Type | Details |
|---|---|---|
name | string | min length 2, max length 100 |
showSelfAsAthlete | boolean | |
weekStartDay | "sunday" | "monday" | |
defaultReadinessPercentAdjustment | boolean | |
defaultEstimatedPersonalRecords | boolean | |
defaultAthletesCanAddExercises | boolean | |
defaultLockProgramEdits | "clubDefault" | "on" | "off" | |
autoMarkA1Primer | boolean | |
trackPrimerReps | boolean |
Responses
200The coach after the change (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string | |
coachUserIdRequired | path | string | The coach's userId, as listed by the club's coaches |
Responses
200Coach removed (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)409Conflicting or duplicate resource (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string |
Responses
200The club's coaches and pending invitations (object)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string | |
coachUserIdRequired | path | string | The coach's userId, as listed by the club's coaches |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
roleRequired | "owner" | "assistant" |
Responses
200The coach with their new role (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
organizationIdRequired | path | string | |
athleteIdRequired | path | string |
Request Body
Required, JSON
object
| Field | Type | Details |
|---|---|---|
coachMembershipIdRequired | string | A coach's membershipId from listPlatformClubCoaches. |
Responses
200Coach assigned (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
| Name | In | Type | Details |
|---|---|---|---|
questionnaireIdRequired | path | string | A stored Atlas questionnaire's questionnaireId from listAtlasQuestionnaires; a built-in default's id (atlas_post_meet and the check-in ids) answers 404 |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
tokenIdRequired | path | string |
Responses
200Token revoked (object)400Invalid request (Error)401Missing or invalid token (Error)403Token lacks the required permission (Error)404Resource not found (Error)429A 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
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
| Name | In | Type | Details |
|---|---|---|---|
format | query | "feed" | "story" | feed is a square image for a feed post, story a tall one for a story. Defaults to feed. |
Responses
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
| Name | In | Type | Details |
|---|---|---|---|
status | query | string | One or more statuses separated by commas, such as planned,building; items in any of them are listed. Leave it out for every status. |
cursor | query | string | |
limit | query | integer |
Responses
Schemas
Shared request and response shapes that the endpoints above link to.
GroupProgramSettings
object
| Field | Type | Details | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
joinCodeRequired | string | |||||||||||||||||||||||||
joinEnabledRequired | boolean | |||||||||||||||||||||||||
joinBlurbRequired | string | null | |||||||||||||||||||||||||
visibleWeeksAheadRequired | integer | |||||||||||||||||||||||||
membersInClubChatRequired | boolean | |||||||||||||||||||||||||
activityAlertsRequired | boolean | |||||||||||||||||||||||||
joinUrlRequired | string | null | format uri | ||||||||||||||||||||||||
lockProgramEditsRequired | object | The 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).
|
ClubPlan
object
| Field | Type | Details | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
stateRequired | "unbilled" | "complimentary" | "custom" | "free" | "pending_payment" | "paid" | "grace" | "lapsed" | |||||||||||||||||||||||||||||||||||||||||||
athleteLimitRequired | integer | null | Individually coached athletes allowed; null is no limit | ||||||||||||||||||||||||||||||||||||||||||
athleteSlotsUsedRequired | integer | |||||||||||||||||||||||||||||||||||||||||||
groupMemberLimitRequired | integer | null | Group members allowed: the included members plus the steps of 50 the owner pays for; null is no cap | ||||||||||||||||||||||||||||||||||||||||||
groupMemberCountRequired | integer | |||||||||||||||||||||||||||||||||||||||||||
includedGroupMembersRequired | integer | |||||||||||||||||||||||||||||||||||||||||||
includesMeetCalRequired | boolean | |||||||||||||||||||||||||||||||||||||||||||
graceEndsAtRequired | integer | null | Milliseconds since the epoch, in grace only | ||||||||||||||||||||||||||||||||||||||||||
billedThroughClubIdRequired | string | null | The club whose plan this club shares; its limits and usage count every club on that plan. Null when the club has its own plan | ||||||||||||||||||||||||||||||||||||||||||
lockedRequired | boolean | Over the Free plan's limits after the plan ended: nobody can be added and programs cannot change | ||||||||||||||||||||||||||||||||||||||||||
isOwnerRequired | boolean | |||||||||||||||||||||||||||||||||||||||||||
ownerBillingRequired | object | null |
|
TranscriptSummary
object
| Field | Type | Details |
|---|---|---|
textRequired | string | max length 1000 |
focusesRequired | array of string | Technique cues the coach gave in a video review; empty for every other recordingmax items 5 |
AttachmentTranscript
object
| Field | Type | Details |
|---|---|---|
attachmentIdRequired | string | |
messageIdRequired | string | |
conversationIdRequired | string | |
kindRequired | "voice" | "video" | |
videoKindRequired | "source" | "review" | null | |
exerciseNameRequired | string | null | |
transcriptRequired | string | null | max length 20000 |
transcriptSummaryRequired | TranscriptSummary | 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.
| Field | Type | Details |
|---|---|---|
snatchRequired | string | |
cleanRequired | string | |
jerkRequired | string | |
frontSquatRequired | string | |
backSquatRequired | string | The back squat; a powerlifting or general fitness block's squat |
snatchPullRequired | string | |
cleanPullRequired | string | |
benchPress | string | Powerlifting and general fitness blocks |
deadlift | string | Powerlifting and general fitness blocks |
primer | string | Exercises 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.
| Field | Type | Details |
|---|---|---|
startWeekRequired | integer | Week number these targets start onminimum 2 |
repTargetsRequired | RepTargets |
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
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
| Field | Type | Details | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
exerciseNumber | number | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
exerciseNameRequired | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
exerciseCategory | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
exerciseNotes | string | max length 2000 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
supersetGroup | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
supersetOrder | number | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
sets | integer | minimum 1, maximum 99 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
repsRequired | string | array of string | Prescribed 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). | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
repsRange | boolean | When 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
items | array of object | The 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
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
itemValues | array of object | What 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
complex | object | Makes 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
circuit | object | Makes 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.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
weights | number | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
setWeights | array of number | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
targetSeconds | array of integer | Target time in whole seconds per set for a distance_time exercise, in set order. 0 means no target for that set. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
setSeconds | array of integer | Athlete-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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
percent | IntensityValue | Percent 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
intensityMode | IntensityMode | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
rpe | Rpe | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
load | Load | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
loadUnit | LoadUnit | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
velocity | Velocity | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
velocityRange | boolean | When true, velocity stores a lower and upper bound. A two-number array without this flag remains two per-set values. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
loggedVelocity | number | array of number | Athlete-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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
setStatuses | array of "pending" | "complete" | "miss" | |||||||||||||||||||||||||||||||||||||||||||||||||||||||
completed | boolean | default false | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
athleteComments | string | max length 1000 |
Day
object
| Field | Type | Details |
|---|---|---|
dayNumber | number | |
dayLabel | string | The session's name, such as Heavy Snatch. A weekday on its own is refused: the weekday comes from scheduledDate. |
scheduledDate | string | The 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 |
completed | boolean | default false |
rating | "Trash" | "Below Average" | "Average" | "Above Average" | "Crushing It" | |
sessionIntensity | number | |
sessionDurationMs | number | minimum 0 |
sessionStartedAt | integer | When the athlete started the workout timer, in epoch milliseconds. Send with sessionStartUtcOffsetMinutes.minimum 1577836800000, less than 4102444800000 |
sessionStartUtcOffsetMinutes | integer | The athlete's UTC offset when the workout started, in minutes east of UTC (UTC-5 is -300). Send with sessionStartedAt.minimum -720, maximum 840 |
sessionComments | string | max length 2000 |
coachNotes | string | max length 2000 |
completedAt | number | |
exercisesRequired | array of Exercise |
DayPatch
object
| Field | Type | Details |
|---|---|---|
targetDayNumber | integer | minimum 1 |
dayLabel | string | null | The session's name; null clears it. A weekday on its own is refused. |
scheduledDate | string | null | Moves the session to this date; null puts it back on its week and day number.format date |
completed | boolean | |
rating | "Trash" | "Below Average" | "Average" | "Above Average" | "Crushing It" | null | |
sessionIntensity | number | null | |
sessionDurationMs | number | null | minimum 0 |
sessionComments | string | null | max length 2000 |
coachNotes | string | null | max length 2000 |
ExercisePatch
object
| Field | Type | Details |
|---|---|---|
targetExerciseNumber | integer | minimum 1 |
exerciseName | string | Switches 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. |
applyToLaterWeeks | boolean | With 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. |
exerciseCategory | string | null | |
exerciseNotes | string | null | max length 2000 |
supersetGroup | string | null | |
supersetOrder | number | null | |
sets | integer | null | minimum 1, maximum 99 |
reps | string | array of string | Prescribed 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 | |
repsRange | boolean | null | Set true for a low/high quantity range. Null or false clears the range flag without removing reps values. |
weights | number | null | |
setWeights | array of number | null | |
targetSeconds | array of integer | null | |
items | array of object | null | Send items to set what the exercise tracks; null returns it to the prescription fields. |
itemValues | array of object | null | What the athlete logged per item; null clears the logged values. |
circuitText | string | A 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 |
circuit | object | null | Send 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. |
complex | object | null | Send 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. |
setSeconds | array of integer | null | |
percent | IntensityValue | null | Set 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. |
intensityMode | IntensityMode | null | |
rpe | Rpe | null | |
load | Load | null | Set to switch this exercise to weight intensity and clear percent and rpe. Null clears load and loadUnit. |
loadUnit | LoadUnit | null | |
velocity | Velocity | null | Optional velocity overlay. Null clears velocity and velocityRange without changing intensityMode, percent, or rpe. |
velocityRange | boolean | null | Set true to store velocity as a range. Null or false clears the range flag without removing velocity values. |
setStatuses | array of "pending" | "complete" | "miss" | null | |
completed | boolean | |
athleteComments | string | null | max length 1000 |
Week
object
| Field | Type | Details |
|---|---|---|
weekNumber | number | |
daysRequired | array of Day |
ProgramInput
any | any
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
athleteId | string | Stable roster ID; preferred over athleteName | |||||||||
athleteName | string | ||||||||||
programNameRequired | string | min length 1, max length 120 | |||||||||
startDateRequired | string | format date | |||||||||
weekCount | number | ||||||||||
repTargets | RepTargets | ||||||||||
repTargetChanges | RepTargetChanges | ||||||||||
weekTotals | array of object |
| |||||||||
weeksRequired | array of Week |
ProgramReplaceInput
any | any
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
athleteId | string | Stable roster ID; preferred over athleteName | |||||||||
athleteName | string | ||||||||||
programNameRequired | string | min length 1, max length 120 | |||||||||
startDateRequired | string | format date | |||||||||
weekCount | number | ||||||||||
repTargets | RepTargets | ||||||||||
repTargetChanges | RepTargetChanges | ||||||||||
weekTotals | array of object |
| |||||||||
weeksRequired | array of Week | ||||||||||
sessionOrigins | array of SessionOrigin | Where 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. | |||||||||
loggedDayEdits | array of LoggedDayEdit | The 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
| Field | Type | Details |
|---|---|---|
weekNumberRequired | number | |
dayNumberRequired | number | |
storedExerciseIndexesRequired | array of number | null | One 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
| Field | Type | Details |
|---|---|---|
weekNumberRequired | number | |
dayNumberRequired | number | |
storedWeekNumberRequired | number | |
storedDayNumberRequired | number |
TemplateInput
object
| Field | Type | Details | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
programNameRequired | string | min 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. | |||||||||||||||||||||||||||
folderId | string | null | Template-folder ID. Omit when updating to preserve the current folder; use null to move the template to the root. | |||||||||||||||||||||||||||
sourceProgramId | string | The 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. | |||||||||||||||||||||||||||
weekCount | number | ||||||||||||||||||||||||||||
repTargets | RepTargets | ||||||||||||||||||||||||||||
repTargetChanges | RepTargetChanges | ||||||||||||||||||||||||||||
weekTotals | array of object |
| |||||||||||||||||||||||||||
weeksRequired | array of object |
|
TemplateAssignmentInput
any | any
| Field | Type | Details |
|---|---|---|
athleteId | string | |
athleteName | string | |
programNameRequired | string | min length 1, max length 120 |
startDateRequired | string | format date |
PersonalRecordInput
object
| Field | Type | Details |
|---|---|---|
exerciseNameRequired | string | Normalized 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 |
repMaxRequired | integer | A 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 |
weightRequired | number | Kilograms, 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 |
recordedAt | number | Unix timestamp in milliseconds; defaults to the time of the write when omittedminimum 0 |
clubLiftId | string | A 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
| Field | Type | Details | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
nameRequired | string | |||||||||||||||||||||||||||||||||||||||||||
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. | ||||||||||||||||||||||||||||||||||||||||||
secondary | string | |||||||||||||||||||||||||||||||||||||||||||
link | string | YouTube 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. | ||||||||||||||||||||||||||||||||||||||||||
defaultItems | array of object | The 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.
| ||||||||||||||||||||||||||||||||||||||||||
notes | string | Plain-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 | ||||||||||||||||||||||||||||||||||||||||||
circuit | object | Saves 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.
|
ExerciseLibraryPatch
object
min properties 1
| Field | Type | Details |
|---|---|---|
primary | "Accessory" | "Back Squat" | "Bench Press" | "Clean" | "Clean And Jerk" | "Deadlift" | "Front Squat" | "Jerk" | "Snatch" | null | 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. Send null to clear it. |
secondary | string | null | |
link | string | null | A non-null value must be a YouTube video URLformat uri |
prescriptionUnit | "reps" | "seconds" | "minutes" | "meters" | "distance_time" | null | Send null to return it to reps. |
intensityMode | "percent" | "weight" | "rpe" | "none" | null | Send null to return it to percent. |
defaultItems | array of object | null | Send null to return it to its Unit and Intensity. |
notes | string | null | Send null or an empty string to clear them. |
circuit | object | null | Send 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
| Field | Type | Details |
|---|---|---|
recordsRequired | array of PersonalRecordInput | max items 100 |
MoveDayInput
object
| Field | Type | Details |
|---|---|---|
targetDateRequired | string | format date |
CompleteWorkoutInput
object
| Field | Type | Details |
|---|---|---|
ratingRequired | "Trash" | "Below Average" | "Average" | "Above Average" | "Crushing It" | |
sessionIntensityRequired | number | minimum 0, maximum 10 |
sessionDurationMs | number | minimum 0 |
sessionStartedAt | integer | When the athlete started the workout timer, in epoch milliseconds. Send with sessionStartUtcOffsetMinutes.minimum 1577836800000, less than 4102444800000 |
sessionStartUtcOffsetMinutes | integer | The 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
| Field | Type | Details | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
errorRequired | object |
|
ProgramMutationResult
object
| Field | Type | Details | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dataRequired | object |
|
Athlete
object
| Field | Type | Details |
|---|---|---|
athleteIdRequired | string | |
nameRequired | string | |
locationRequired | string | null | Location. Free text, trimmed.max length 2000 |
sportRequired | "weightlifting" | "powerlifting" | "general_fitness" | |
groupIdsRequired | array of string | |
hasIndividualCoachingRequired | boolean |
AthleteCreate
object
| Field | Type | Details |
|---|---|---|
nameRequired | string | min 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. |
weightClass | string | null | Weight 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 |
height | string | null | Height. Free text, trimmed.max length 40 |
location | string | null | Location. Free text, trimmed.max length 2000 |
occupation | string | null | Occupation. Free text, trimmed.max length 2000 |
athleticHistory | string | null | Athletic History. Free text, trimmed.max length 4000 |
injuryHistory | string | null | Injury History. Free text, trimmed. Reads return null to a token without the write permission.max length 4000 |
shortTermGoals | string | null | Short Term Goals. Free text, trimmed.max length 4000 |
longTermGoals | string | null | Long Term Goals. Free text, trimmed.max length 4000 |
biggestWeakness | string | null | Biggest Weakness. Free text, trimmed.max length 2000 |
biggestStrengths | string | null | Biggest Strengths. Free text, trimmed.max length 2000 |
athleteIdentity | string | null | What kind of athlete are you and what kind of athlete do you want to be?max length 4000 |
weightliftingMotivation | string | null | Why weightlifting and why our team?max length 4000 |
careerSuccess | string | null | When 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" | null | Men or Women. Not for general fitness athletes: a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing. |
daysPerWeekAvailable | integer | null | Days 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" | null | Where 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" | null | How 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. |
age | integer | null | Whole 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 |
birthDate | string | null | YYYY-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 |
coachNotes | string | null | Coach-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
| Field | Type | Details |
|---|---|---|
athleteIdRequired | string | |
nameRequired | string | |
emailRequired | string | null | format email |
signsInThroughGuardianRequired | boolean | True 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" | |
invitedAtRequired | number | null | |
joinedAtRequired | number | null | |
inviteErrorRequired | string | null | |
outputAthleteIdRequired | string | null | |
outputAthleteNameRequired | string | null | |
isSelfRequired | boolean | |
sportRequired | "weightlifting" | "powerlifting" | "general_fitness" | |
groupIdsRequired | array of string | |
hasIndividualCoachingRequired | boolean | |
sportsRequired | array of "weightlifting" | "powerlifting" | "general_fitness" | |
athleticHistoryRequired | string | null | Athletic History. Free text, trimmed.max length 4000 |
injuryHistoryRequired | string | null | Injury History. Free text, trimmed. Reads return null to a token without the write permission.max length 4000 |
weightClassRequired | string | null | Weight 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" | null | Men or Women. Not for general fitness athletes: a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing. |
heightRequired | string | null | Height. Free text, trimmed.max length 40 |
ageRequired | integer | null | Whole 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 |
shortTermGoalsRequired | string | null | Short Term Goals. Free text, trimmed.max length 4000 |
longTermGoalsRequired | string | null | Long Term Goals. Free text, trimmed.max length 4000 |
biggestWeaknessRequired | string | null | Biggest Weakness. Free text, trimmed.max length 2000 |
biggestStrengthsRequired | string | null | Biggest Strengths. Free text, trimmed.max length 2000 |
locationRequired | string | null | Location. Free text, trimmed.max length 2000 |
occupationRequired | string | null | Occupation. Free text, trimmed.max length 2000 |
athleteIdentityRequired | string | null | What kind of athlete are you and what kind of athlete do you want to be?max length 4000 |
weightliftingMotivationRequired | string | null | Why weightlifting and why our team?max length 4000 |
careerSuccessRequired | string | null | When 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 |
daysPerWeekAvailableRequired | integer | null | Days 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" | null | Where 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" | null | How 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. |
coachNotesRequired | string | null | Coach-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 |
birthDateRequired | string | null | YYYY-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
| Field | Type | Details |
|---|---|---|
name | string | min length 2, max length 100 |
email | string | null | format email |
outputAthleteId | string | null | An 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. |
outputAthleteName | string | null | Ignored: Atlas takes the name from Output Sports. Accepted beside outputAthleteId for older clients. |
weightClass | string | null | Weight 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 |
height | string | null | Height. Free text, trimmed.max length 40 |
location | string | null | Location. Free text, trimmed.max length 2000 |
occupation | string | null | Occupation. Free text, trimmed.max length 2000 |
athleticHistory | string | null | Athletic History. Free text, trimmed.max length 4000 |
injuryHistory | string | null | Injury History. Free text, trimmed. Reads return null to a token without the write permission.max length 4000 |
shortTermGoals | string | null | Short Term Goals. Free text, trimmed.max length 4000 |
longTermGoals | string | null | Long Term Goals. Free text, trimmed.max length 4000 |
biggestWeakness | string | null | Biggest Weakness. Free text, trimmed.max length 2000 |
biggestStrengths | string | null | Biggest Strengths. Free text, trimmed.max length 2000 |
athleteIdentity | string | null | What kind of athlete are you and what kind of athlete do you want to be?max length 4000 |
weightliftingMotivation | string | null | Why weightlifting and why our team?max length 4000 |
careerSuccess | string | null | When 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" | null | Men or Women. Not for general fitness athletes: a new value is refused with VALIDATION_ERROR, and null or the value already stored changes nothing. |
daysPerWeekAvailable | integer | null | Days 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" | null | Where 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" | null | How 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. |
age | integer | null | Whole 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 |
birthDate | string | null | YYYY-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 |
coachNotes | string | null | Coach-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
| Field | Type | Details |
|---|---|---|
idRequired | string | |
firstNameRequired | string | |
lastNameRequired | string | |
fullNameRequired | string |
CoachSettings
object
The coach's settings in the token's club. Each club the coach coaches keeps its own.
| Field | Type | Details |
|---|---|---|
showSelfAsAthleteRequired | boolean | Whether 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. |
defaultReadinessPercentAdjustmentRequired | boolean | Whether readiness adjusts percentages for the coach's athletes in this club with no setting of their own. |
defaultEstimatedPersonalRecordsRequired | boolean | Whether, 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. |
defaultAthletesCanAddExercisesRequired | boolean | Whether 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. |
autoMarkA1PrimerRequired | boolean | Mark 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. |
trackPrimerRepsRequired | boolean | Track 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
| Field | Type | Details | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
programIdRequired | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
athleteIdRequired | string | null | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
athleteNameRequired | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
programNameRequired | string | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
startDateRequired | string | format date | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
revisionRequired | integer | minimum 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
weekCountRequired | integer | minimum 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
repTargetsRequired | RepTargets | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
repTargetChangesRequired | RepTargetChanges | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
weekTotalsRequired | array of object |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
weeksRequired | array of object |
|
Template
object
| Field | Type | Details | |||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
templateIdRequired | string | ||||||||||||||||||||||||||||
programNameRequired | string | min length 1, max length 120 | |||||||||||||||||||||||||||
folderIdRequired | string | null | The template folder holding it; null at the root. | |||||||||||||||||||||||||||
revisionRequired | integer | minimum 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. | |||||||||||||||||||||||||||
weekCountRequired | number | ||||||||||||||||||||||||||||
repTargetsRequired | RepTargets | ||||||||||||||||||||||||||||
repTargetChangesRequired | RepTargetChanges | ||||||||||||||||||||||||||||
weekTotalsRequired | array of object |
| |||||||||||||||||||||||||||
weeksRequired | array of object |
|
TemplateFolder
object
| Field | Type | Details |
|---|---|---|
folderIdRequired | string | |
nameRequired | string | |
createdAtRequired | number |
TemplateFolderInput
object
| Field | Type | Details |
|---|---|---|
nameRequired | string | min length 1, max length 80 |
TemplateFolderAssignmentInput
object
| Field | Type | Details |
|---|---|---|
folderIdRequired | string | null | Use null to move the template to the root. |
ProgramEnvelope
object
| Field | Type | Details |
|---|---|---|
dataRequired | Program |
NullableProgramEnvelope
object
| Field | Type | Details |
|---|---|---|
dataRequired | Program | null |
TemplateEnvelope
object
| Field | Type | Details |
|---|---|---|
dataRequired | Template |
TemplateFolderEnvelope
object
| Field | Type | Details |
|---|---|---|
dataRequired | TemplateFolder |
TemplateFolderListEnvelope
object
| Field | Type | Details |
|---|---|---|
dataRequired | array of TemplateFolder |
ProgramPageEnvelope
object
| Field | Type | Details | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dataRequired | object |
|
TemplatePageEnvelope
object
| Field | Type | Details | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dataRequired | object |
|
AthleteComment
object
An athlete's own comment on a workout or one exercise. Coach notes are never included.
| Field | Type | Details |
|---|---|---|
keyRequired | string | Stable comment key (programId:week:day:session or programId:week:day:exercise:N). Percent-encode it in a path.max length 200 |
programIdRequired | string | |
athleteIdRequired | string | |
athleteNameRequired | string | |
weekNumberRequired | integer | |
dayNumberRequired | integer | |
dayLabel | string | |
scheduledDateRequired | string | format date |
kindRequired | "session" | "exercise" | |
exerciseName | string | |
commentRequired | string | |
commentedAtRequired | number | When 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. |
readRequired | boolean | Whether the token owner marked this comment read since its text last changed |
AthleteCommentFeedEnvelope
object
| Field | Type | Details | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dataRequired | object |
|
CommentReadStateEnvelope
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
dataRequired | object |
|
CurrentProgramSummaryEnvelope
object
| Field | Type | Details | |||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dataRequired | object | null |
|
WeekPatch
object
| Field | Type | Details |
|---|---|---|
targetWeekNumber | integer | minimum 1 |
weekTotal | string |
CopyWeekInput
object
| Field | Type | Details |
|---|---|---|
targetWeekNumberRequired | integer | minimum 1 |
CopyDayInput
object
| Field | Type | Details |
|---|---|---|
targetWeekNumberRequired | integer | minimum 1 |
targetDayNumberRequired | integer | minimum 1 |
targetDate | string | format date |
CopyExercisesInput
object
| Field | Type | Details |
|---|---|---|
exerciseNumbersRequired | array of integer | Exercises 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 |
targetDayNumberRequired | integer | The day in each target week that receives the copiesminimum 1 |
targetWeekNumbersRequired | array of integer | Weeks of the target program to paste into. A week the program does not have is refused with NOT_FOUND.min items 1 |
targetProgramId | string | Another 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
| Field | Type | Details |
|---|---|---|
exerciseNameRequired | string | |
repMax | integer | minimum 1 |
percentagesRequired | array of number | min items 1, max items 50 |
roundingIncrement | number | greater than 0 |
MeetInput
object
| Field | Type | Details |
|---|---|---|
meetNameRequired | string | min length 1, max length 120 |
meetDateRequired | string | Within 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.
| Field | Type | Details |
|---|---|---|
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. |
promptRequired | string | min length 1, max length 300 |
options | array of string | Distinct, ignoring casemin items 2, max items 10 |
allowMultiple | boolean | Whether the athlete may pick more than one option |
optional | boolean | Whether the athlete may leave the question unanswered; false when left out |
minLabel | string | Scale questions only: the words under 1max length 100 |
maxLabel | string | Scale 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
| Field | Type | Details |
|---|---|---|
nameRequired | string | Unique in the club, ignoring casemin length 1, max length 100 |
questionsRequired | array of QuestionnaireQuestion | min 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. |
putInUse | boolean | For a check-in: also make it the club's check-in. Takes effect only for a club admin; anyone else gets a library copy. |
readiness | ReadinessSetup |
ReadinessSetup
object
Only on a preWorkout check-in: the readiness rating athletes give before training, and how much each level changes their percentages
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
askedRequired | boolean | Ask Readiness; off means athletes never see the rating | |||||||||
adjustsPercentsRequired | boolean | Adjust Percentages; off means the rating is recorded but loads do not change | |||||||||
levelsRequired | array of object | One per level, lowest first: Trash, Below Average, Average, Above Average, Crushing Itmin items 5, max items 5
|
CheckInChoiceInput
object
| Field | Type | Details |
|---|---|---|
useRequired | "preWorkout" | "postWorkout" | |
questionnaireId | string | null | A club or Atlas check-in for that use; null or left out follows the level above |
coachUserId | string | Coach level only: the coach whose athletes this applies to; yourself by default. Only a club admin may name another coach. |
QuestionnairePatch
object
| Field | Type | Details |
|---|---|---|
name | string | min length 1, max length 100 |
questions | array of QuestionnaireQuestion | min items 1, max items 30 |
readiness | ReadinessSetup |
QuestionnaireSettingInput
object
| Field | Type | Details |
|---|---|---|
questionnaireIdRequired | string | null | A club or Atlas questionnaire id, atlas_post_meet for the Atlas post-meet questionnaire, or null for Off |
CheckInSettingInput
object
| Field | Type | Details |
|---|---|---|
useRequired | "preWorkout" | "postWorkout" | |
questionnaireIdRequired | string | A club or Atlas check-in for that use: atlas_pre_workout, atlas_post_workout, or a club questionnaire id |
AthleteQuestionnaireSettingInput
object
| Field | Type | Details |
|---|---|---|
choiceRequired | string | default to follow the club default, off, atlas_post_meet, or a club or Atlas questionnaire id |
QuestionnaireSendInput
object
| Field | Type | Details |
|---|---|---|
questionnaireIdRequired | string | A post-meet club or Atlas questionnaire id, or atlas_post_meet; a check-in cannot be sent |
WeekNoteInput
object
| Field | Type | Details |
|---|---|---|
noteRequired | string | min length 1, max length 280 |
MeetPlanLift
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
opener | string | number | Any 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 | |||||||||
second | string | number | Any 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 | |||||||||
third | string | number | Any 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 | |||||||||
warmupsRequired | array of object | max items 30
|
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.
| Field | Type | Details |
|---|---|---|
snatch | number | greater than 0, maximum 1000 |
cleanAndJerk | number | greater than 0, maximum 1000 |
squat | number | greater than 0, maximum 1000 |
bench | number | greater than 0, maximum 1000 |
deadlift | number | greater than 0, maximum 1000 |
total | number | greater 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.
| Field | Type | Details |
|---|---|---|
meetId | string | null | The 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. |
meetNameRequired | string | max length 120 |
meetDate | string | format 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"). |
weightClass | string | max length 40 |
entryTotal | number | greater than 0, maximum 1000 |
coachName | string | max length 80 |
snatch | MeetPlanLift | |
cleanAndJerk | MeetPlanLift | |
squat | MeetPlanLift | |
bench | MeetPlanLift | |
deadlift | MeetPlanLift | |
competitionAfterSnatch | string | max length 2000 |
competitionBests | MeetPlanTotals | |
trainingBests | MeetPlanTotals | |
competitionGoals | MeetPlanTotals |
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.
| Field | Type | Details |
|---|---|---|
athleteNameRequired | string | |
exportedAtRequired | string | format date-time |
todayRequired | string | format date |
planIdRequired | string | |
sportRequired | "weightlifting" | "powerlifting" | "general_fitness" | The sport the plan was made for. |
metaRequired | object | |
attemptsRequired | object | One column per lift of the plan's sport: snatch and cleanAndJerk, or squat, bench and deadlift. |
totalsRequired | array of object | Bests and goals rows with label, total and the plan's lifts, keyed as in attempts. |
recentLiftsRequired | array of object | |
checkInFlagsRequired | array of object | |
lastMeetRequired | object | null | |
historyRequired | object | null |
SessionCheckIn
object
| Field | Type | Details | ||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
checkInIdRequired | string | |||||||||||||||||||||||||||||||||||||
dateRequired | string | format date | ||||||||||||||||||||||||||||||||||||
programIdRequired | string | |||||||||||||||||||||||||||||||||||||
weekNumberRequired | integer | minimum 1 | ||||||||||||||||||||||||||||||||||||
dayNumberRequired | integer | minimum 1 | ||||||||||||||||||||||||||||||||||||
preRequired | object | null |
| ||||||||||||||||||||||||||||||||||||
postRequired | object | null |
|
OuraMetricPoint
object
| Field | Type | Details |
|---|---|---|
dateRequired | string | format date |
sleepDurationHoursRequired | number | null | |
averageHrvMsRequired | number | null | |
averageHeartRateBpmRequired | number | null | |
readinessScoreRequired | number | null |
OuraMetricsEnvelope
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
dataRequired | object |
|
NutritionDailyPoint
object
Daily food-diary totals from the athlete's connected nutrition app, FatSecret. Days without diary entries are omitted.
| Field | Type | Details |
|---|---|---|
dateRequired | string | format date |
caloriesRequired | number | null | Energy intake in kcal |
proteinGramsRequired | number | null | |
carbohydrateGramsRequired | number | null | |
fatGramsRequired | number | null |
NutritionMetricsEnvelope
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
dataRequired | object |
|
NutritionFoodEntry
object
One logged food item with its meal slot and nutrients as recorded by the athlete.
| Field | Type | Details |
|---|---|---|
entryIdRequired | string | |
dateRequired | string | format date |
mealRequired | "breakfast" | "lunch" | "dinner" | "other" | |
nameRequired | string | max length 300 |
descriptionRequired | string | Serving and food, for example "1 cup Instant Oatmeal"max length 300 |
caloriesRequired | number | null | |
proteinGramsRequired | number | null | |
carbohydrateGramsRequired | number | null | |
fatGramsRequired | number | null | |
fiberGramsRequired | number | null | |
sugarGramsRequired | number | null | |
sodiumMilligramsRequired | number | null |
NutritionFoodEntriesEnvelope
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
dataRequired | object |
|
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.
| Field | Type | Details |
|---|---|---|
sourceKeyRequired | string | |
kindRequired | "local" | "override" | |
federationRequired | string | |
meetRequired | string | min length 1, max length 120 |
dateRequired | string | format date |
nameRequired | string | |
ageRequired | string | |
bodyWeightRequired | number | |
snatch1 | integer | minimum -1000, maximum 1000 |
snatch2 | integer | minimum -1000, maximum 1000 |
snatch3 | integer | minimum -1000, maximum 1000 |
cj1 | integer | minimum -1000, maximum 1000 |
cj2 | integer | minimum -1000, maximum 1000 |
cj3 | integer | minimum -1000, maximum 1000 |
powerlifting | PowerliftingMeetFields | |
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
| Field | Type | Details |
|---|---|---|
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. |
athletePersonalRecordEditingRequired | boolean | Whether 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. |
lockProgramEditsRequired | boolean | Lock 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. |
photoUrlRequired | string | null | Where 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. |
workoutCheckInsRequired | boolean | Pre- 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
| Field | Type | Details |
|---|---|---|
membershipIdRequired | string | |
userIdRequired | string | |
displayNameRequired | string | null | |
emailRequired | string | null | Shown to a Club Admin, and to the coach themselves; null otherwise. |
roleRequired | "owner" | "assistant" | owner is a Club Admin. |
isClubOwnerRequired | boolean | |
assignedAthleteCountRequired | integer | null | Shown to a Club Admin, and to the coach themselves; null otherwise. |
PendingAssistantInvitation
object
| Field | Type | Details |
|---|---|---|
invitationIdRequired | string | |
nameRequired | string | |
emailRequired | string | |
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" | |
sentAtRequired | number | Milliseconds since the Unix epoch. |
expiresAtRequired | number | Milliseconds since the Unix epoch. |
ArchivedAthlete
object
| Field | Type | Details |
|---|---|---|
athleteIdRequired | string | |
nameRequired | string | |
emailRequired | string | null | |
assignedCoachUserIdRequired | string | null | |
archivedAtRequired | number | null | |
rosterKind | "group" |
ClubTransfer
object
| Field | Type | Details |
|---|---|---|
transferIdRequired | string | |
athleteIdRequired | string | |
athleteNameRequired | string | |
sourceOrganizationIdRequired | string | |
destinationOrganizationIdRequired | string | |
destinationCoachUserIdRequired | string | null | |
createdAtRequired | number | |
directionRequired | "incoming" | "outgoing" | incoming transfers are this club's to accept; either club may cancel. |
TransferDestination
object
| Field | Type | Details |
|---|---|---|
organizationIdRequired | string | |
nameRequired | string |
AthleteCoachingSettings
object
| Field | Type | Details |
|---|---|---|
athleteIdRequired | string | |
readinessPercentAdjustmentRequired | boolean | Whether 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. |
estimatedPersonalRecordsEnabledRequired | boolean | What 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. |
personalRecordEditingEnabledRequired | boolean | What 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. |
canAddExercisesEnabledRequired | boolean | What 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. |
lockProgramEditsInEffectRequired | boolean | Whether 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. |
sportLockedRequired | boolean | Whether 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. |
sportInUseRequired | boolean | Whether 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. |
workoutCheckInsRequired | boolean | The 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. |
workoutCheckInsEnabledRequired | boolean | Whether 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
| Field | Type | Details |
|---|---|---|
invitationIdRequired | string | |
organizationIdRequired | string | The club the invitation opens once accepted. |
organizationNameRequired | string | |
nameRequired | string | |
emailRequired | string | |
deliveryStatusRequired | "pending" | "sent" | "failed" | |
deliveryErrorRequired | string | null | |
invitedAtRequired | number | |
expiresAtRequired | number |
PlatformClubPlan
object
| Field | Type | Details | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
organizationIdRequired | string | ||||||||||||||||
stateRequired | "unbilled" | "complimentary" | "custom" | "free" | "pending_payment" | "paid" | "grace" | "lapsed" | ||||||||||||||||
complimentaryMeetCalRequired | boolean | A complimentary or custom club's coaches, roster athletes and guardians get MeetCal. False on every other plan. | |||||||||||||||
openSubscriptionRequired | boolean | A Stripe subscription still bills the club, so its plan cannot be set by hand. | |||||||||||||||
customPriceRequired | object | null | A 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.
|
ClubLift
object
A lift the club tracks PRs for, beside the record lifts of its sport.
| Field | Type | Details | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
clubLiftIdRequired | string | Use it in a percent item's basis ({ clubLiftId, repMax }) and in PR writes. | ||||||||||||
nameRequired | string | The exercise's current name. Athletes' PRs for the lift are stored under it and follow a rename. | ||||||||||||
sportRequired | "weightlifting" | "powerlifting" | "general_fitness" | |||||||||||||
topRepMaxRequired | integer | minimum 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. | ||||||||||||
measureLockedRequired | boolean | True 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. | ||||||||||||
activeRequired | boolean | False 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. | ||||||||||||
ratio | object |
| ||||||||||||
archivedAt | number | Milliseconds since the epoch | ||||||||||||
createdAtRequired | number | Milliseconds since the epoch | ||||||||||||
updatedAtRequired | number | Milliseconds since the epoch |
RecordLiftState
object
One of Atlas's built-in record lifts for one sport, as the club tracks it.
| Field | Type | Details |
|---|---|---|
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 }) |
labelRequired | string | The lift's name |
removedRequired | boolean | True 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. |
removedAt | number | Milliseconds since the epoch |
AthleteGuardians
object
| Field | Type | Details | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
athleteIdRequired | string | ||||||||||||||||||||||
athleteNameRequired | string | ||||||||||||||||||||||
isMinorRequired | boolean | Under 18 on the athlete's own calendar. Only a minor gets guardian invitations. | |||||||||||||||||||||
canInviteRequired | boolean | A minor with fewer than four guardians and live invitations together. | |||||||||||||||||||||
guardiansRequired | array of object |
| |||||||||||||||||||||
invitationsRequired | array of object | Pending invitations inside their 30 days.
| |||||||||||||||||||||
underThirteenRequired | boolean | Under 13, the athlete's app waits for a guardian's consent (COPPA). | |||||||||||||||||||||
consentRequired | object | null | The standing consent for an athlete under 13; null otherwise, or while the athlete waits.
|
RunRecords
array of object
| Field | Type | Details |
|---|---|---|
distanceRequired | "mile" | "two_mile" | "five_k" | "ten_k" | "half_marathon" | "marathon" | |
secondsRequired | number | Whole 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. |
recordedAtRequired | number | Epoch milliseconds of the last write. |
sourceRequired | "coach" | "athlete" | "onboarding" | "training" | "competition" |
RunRecordHistory
array of object
| Field | Type | Details |
|---|---|---|
_idRequired | string | Pass to DELETE …/run-records/history/{entryId}. |
distanceRequired | "mile" | "two_mile" | "five_k" | "ten_k" | "half_marathon" | "marathon" | |
secondsRequired | number | |
previousSeconds | number | The time this one beat; missing on a distance's first time. |
recordedAtRequired | number | Epoch milliseconds. |
sourceRequired | "coach" | "athlete" | "onboarding" | "training" | "competition" |
RunRecordUpsertsInput
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
upsertsRequired | array of object | max items 6
|
ProgramImportSignInInput
object
| Field | Type | Details |
|---|---|---|
emailRequired | string | max length 256 |
passwordRequired | string | Used once to sign in to the provider. Atlas never stores or logs it.max length 256 |
consentRequired | true | Confirms the programs are the coach's to move into Atlas. |
ProgramImportSelectionInput
object
| Field | Type | Details |
|---|---|---|
sourceIdsRequired | array of string | The sourceId of each program to import, from the session's program list.min items 1, max items 25 |
ProgramImportCommitInput
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
sourceIdsRequired | array of string | The sourceId of each program to import, from the session's program list.min items 1, max items 25 | |||||||||
exerciseChoices | array of object | Exercises to map onto a Library exercise of the coach's choosing. Every other unmatched name becomes a club exercise.
|
OpenedRepMaxes
array of object
| Field | Type | Details |
|---|---|---|
exerciseNameRequired | string | The lift's record name: a record lift id, or a club lift's name. |
repMaxRequired | number |
OpenedRepMaxInput
object
| Field | Type | Details |
|---|---|---|
exerciseNameRequired | string | A record lift the athlete's sport tracks, under any spelling, or an active club lift of that sport by name. |
repMaxRequired | integer | Above the lift's top rep max; a tracked one is refused with 400.minimum 1, maximum 10 |
openedRequired | boolean | true opens the rep max, false closes it again. Closing keeps the stored PR and its history. |
clubLiftId | string | A 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.
| Field | Type | Details |
|---|---|---|
startDateRequired | string | null | First day coached (YYYY-MM-DD) as entered; null while none is entered, when defaultStartDate applies. |
endDateRequired | string | null | Last day coached (YYYY-MM-DD) as entered; null while none is entered, when defaultEndDate applies. |
defaultStartDateRequired | string | The start date in force while startDate is null: the day the athlete was added to Atlas, in the token owner's time zone. |
defaultEndDateRequired | string | null | The end date in force while endDate is null: the day the athlete was archived, or null while they are on the roster. |
packageDaysPerWeekRequired | integer | null | Training days per week in the athlete's package.minimum 1, maximum 7 |
notesRequired | string | null | Why 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.
| Field | Type | Details |
|---|---|---|
messageRequired | string | The text sent. The booking link follows it on its own line.max length 500 |
bookingLinkRequired | string | null | The 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. |
afterMeetRequired | boolean | Whether 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.
| Field | Type | Details |
|---|---|---|
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" | |
coachAfterMeetRequired | boolean | |
effectiveFrequencyRequired | "off" | "everyWeek" | "every2Weeks" | "every4Weeks" | "every8Weeks" | "every12Weeks" | |
effectiveAfterMeetRequired | boolean | |
lastSentAtRequired | number | null | When the assigned coach's last check-in was sent to this athlete (epoch milliseconds), or null. |
nextCheckInDateRequired | string | null | The day the next interval check-in is due (YYYY-MM-DD in the athlete's time zone), or null when none is scheduled. |
canChangeRequired | boolean | Whether the token owner is the athlete's assigned coach, who alone may change these and send. |
coachUserIdRequired | string | The athlete's assigned coach, whose message and booking link the athlete gets. |
coachNameRequired | string | |
unavailableReasonRequired | "noBookingLink" | "coachLeft" | "notJoined" | "needsGuardian" | "messagingOff" | null | Why no check-in can be sent right now, or null. |
previewRequired | string | null | The 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.
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
equipmentRequired | "Raw" | "Wraps" | "Single-ply" | "Multi-ply" | "Unlimited" | "Straps" | ||||||||||
divisionRequired | string | Blank when none.max length 60 | |||||||||
weightClassKgRequired | string | Kilograms, such as 83 or 120+; blank when none. | |||||||||
squatAttemptsRequired | array of object | In order; the fourth is a record attempt outside the total.max items 4
| |||||||||
benchAttemptsRequired | array of object | In order; the fourth is a record attempt outside the total.max items 4
| |||||||||
deadliftAttemptsRequired | array of object | In order; the fourth is a record attempt outside the total.max items 4
| |||||||||
place | integer | "DQ" | "G" | "NS" | "DD" | A place from 1, or DQ (disqualified), G (guest), NS (no-show) or DD (doping disqualification). | |||||||||
dots | number | greater than 0, maximum 1000 |
OpenPowerliftingMeet
object
One meet from the lifter's Open Powerlifting history. Weights are kilograms.
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
meetNameRequired | string | ||||||||||
dateRequired | string | format date | |||||||||
federationRequired | string | ||||||||||
parentFederationRequired | string | null | ||||||||||
meetCountryRequired | string | null | ||||||||||
meetStateRequired | string | null | ||||||||||
meetTownRequired | string | null | ||||||||||
eventRequired | string | The lifts contested: SBD, BD, B, D and so on. | |||||||||
equipmentRequired | string | ||||||||||
sexRequired | string | null | ||||||||||
divisionRequired | string | null | ||||||||||
ageClassRequired | string | null | ||||||||||
bodyweightKgRequired | number | null | ||||||||||
weightClassKgRequired | string | null | ||||||||||
squatAttemptsRequired | array of object | In order; the fourth is a record attempt outside the total.max items 4
| |||||||||
bestSquatKgRequired | number | null | ||||||||||
benchAttemptsRequired | array of object | In order; the fourth is a record attempt outside the total.max items 4
| |||||||||
bestBenchKgRequired | number | null | ||||||||||
deadliftAttemptsRequired | array of object | In order; the fourth is a record attempt outside the total.max items 4
| |||||||||
bestDeadliftKgRequired | number | null | ||||||||||
totalKgRequired | number | null | ||||||||||
placeRequired | integer | "DQ" | "G" | "NS" | "DD" | null | A place from 1, or DQ (disqualified), G (guest), NS (no-show) or DD (doping disqualification). | |||||||||
dotsRequired | number | null | ||||||||||
wilksRequired | number | null | ||||||||||
testedRequired | boolean |
OpenPowerliftingLink
object
| Field | Type | Details |
|---|---|---|
usernameRequired | string | null | Null when the athlete is unlinked. |
statusRequired | "unlinked" | "pending" | "cached" | "not_found" | "failed" | pending while the history is fetched (at most once a day); not_found when Open Powerlifting has no such lifter. |
resultsRequired | array of OpenPowerliftingMeet | Newest first. |
fetchedAtRequired | number | null | When the history was last fetched, in milliseconds since the epoch. |
OpenPowerliftingCandidate
object
A lifter a name search found, from their best ranked meet.
| Field | Type | Details |
|---|---|---|
nameRequired | string | |
usernameRequired | string | |
countryRequired | string | null | |
federationRequired | string | |
meetDateRequired | string | format date |
sexRequired | string | |
equipmentRequired | string | |
divisionRequired | string | null | |
bodyweightKgRequired | number | null | |
weightClassKgRequired | string | null | |
bestSquatKgRequired | number | null | |
bestBenchKgRequired | number | null | |
bestDeadliftKgRequired | number | null | |
totalKgRequired | number | null |
ClubFormField
object
| Field | Type | Details |
|---|---|---|
idRequired | string | Stable across versions; answers name it.max length 40, pattern ^[a-z0-9-]+$ |
kindRequired | "shortText" | "longText" | "date" | "yesNo" | |
labelRequired | string | max length 200 |
requiredRequired | boolean |
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
| Field | Type | Details |
|---|---|---|
kindRequired | "never" |
object
| Field | Type | Details |
|---|---|---|
kindRequired | "yearly" |
object
| Field | Type | Details |
|---|---|---|
kindRequired | "annualDate" | |
monthRequired | integer | minimum 1, maximum 12 |
dayRequired | integer | February 29 expires on February 28 in a common year.minimum 1, maximum 31 |
ClubFormContent
object
| Field | Type | Details |
|---|---|---|
sourceRequired | object | object | |
fieldsRequired | array of ClubFormField | max items 30 |
ClubFormSummary
object
| Field | Type | Details |
|---|---|---|
formIdRequired | string | |
nameRequired | string | |
statusRequired | "active" | "archived" | |
currentVersionRequired | integer | null | The published version's number; null while the form is a draft only. |
requiredForRosterRequired | boolean | |
renewalRequired | ClubFormRenewal | |
hasDraftRequired | boolean | |
fieldCountRequired | integer | |
signedCountRequired | integer | Athletes in the club holding a current, unvoided signing or paper copy, expired ones included. |
updatedAtRequired | number | Epoch milliseconds. |
ClubFormVersion
object
| Field | Type | Details |
|---|---|---|
versionIdRequired | string | |
versionRequired | integer | |
nameRequired | string | |
contentRequired | ClubFormContent | |
requiresResignRequired | boolean | |
publishedAtRequired | number | Epoch milliseconds. |
publishedByUserIdRequired | string |
ClubFormDetail
object
| Field | Type | Details |
|---|---|---|
formIdRequired | string | |
nameRequired | string | |
statusRequired | "active" | "archived" | |
requiredForRosterRequired | boolean | |
renewalRequired | ClubFormRenewal | |
currentRequired | ClubFormVersion | null | |
draftRequired | ClubFormContent | null | Unpublished edits; null for an assistant coach, and when there are none. |
canEditRequired | boolean | Whether the token's coach is a Club Admin, who alone edits forms. |
createdByUserIdRequired | string | |
createdAtRequired | number | Epoch milliseconds. |
updatedAtRequired | number | Epoch milliseconds. |
ClubFormVersionSummary
object
| Field | Type | Details |
|---|---|---|
versionIdRequired | string | |
versionRequired | integer | |
nameRequired | string | |
publishedAtRequired | number | Epoch milliseconds. |
publishedByUserIdRequired | string | |
requiresResignRequired | boolean | |
fieldCountRequired | integer | |
sourceKindRequired | "text" | "pdf" | |
pageCountRequired | integer | null |
ClubFormPacket
object
| Field | Type | Details | ||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
trainingLockedRequired | boolean | Whether any packet form locks the athlete's Training tab now. | ||||||||||||||||||||||||||||||||||||||||||||||||
completeRequired | boolean | |||||||||||||||||||||||||||||||||||||||||||||||||
nextLockAtRequired | number | null | When the next due form locks Training; clients lock it themselves then. | ||||||||||||||||||||||||||||||||||||||||||||||||
formsRequired | array of object |
|
ClubFormSubmission
object
| Field | Type | Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
submissionIdRequired | string | ||||||||||
formIdRequired | string | ||||||||||
formNameRequired | string | ||||||||||
versionIdRequired | string | ||||||||||
versionRequired | integer | ||||||||||
kindRequired | "signed" | "paper" | signed in the app, or a paper copy a coach uploaded. | |||||||||
answersRequired | array of object |
| |||||||||
signerNameRequired | string | null | ||||||||||
uploadedByUserIdRequired | string | null | The coach who uploaded a paper copy. | |||||||||
signedAtRequired | number | Epoch milliseconds. | |||||||||
signedOnRequired | string | null | A paper copy's signed date as the coach entered it.format date | |||||||||
expiresAtRequired | number | null | Epoch milliseconds, or null. | |||||||||
expiresOnRequired | string | null | The last day it counts, in the athlete's zone.format date | |||||||||
pdfStatusRequired | "pending" | "ready" | "failed" | Download the PDF once ready. | |||||||||
currentRequired | boolean | False once a later signing or paper copy replaced it. | |||||||||
voidedAtRequired | number | null | Epoch milliseconds, or null. | |||||||||
voidedByUserIdRequired | string | null | ||||||||||
voidReasonRequired | string | null | ||||||||||
createdAtRequired | number | Epoch milliseconds. |
DocumentFile
object
| Field | Type | Details |
|---|---|---|
fileIdRequired | string | |
athleteIdRequired | string | null | null for a club library file. |
folderRequired | string | null | Library files only. |
nameRequired | string | |
mimeTypeRequired | "application/pdf" | "image/jpeg" | "image/png" | |
byteSizeRequired | integer | |
expiresOnRequired | string | null | The file's own expiry date, such as a certificate's.format date |
uploadedByUserIdRequired | string | |
uploadedAtRequired | number | Epoch milliseconds. |
AthleteDocuments
object
| Field | Type | Details |
|---|---|---|
athleteIdRequired | string | |
roleRequired | "admin" | "coach" | admin for a Club Admin, coach for the athlete's assigned coach. |
canVoidRequired | boolean | |
canUploadRequired | boolean | False for an archived athlete, whose documents are read-only. |
packetRequired | ClubFormPacket | |
submissionsRequired | array of ClubFormSubmission | Every signing and paper copy, newest first (at most 200), replaced and voided ones included. |
filesRequired | array of DocumentFile |
WelcomeEmailSend
object
| Field | Type | Details |
|---|---|---|
sendIdRequired | string | |
audienceRequired | "roster" | "group" | |
statusRequired | "waiting" | "pending" | "sent" | "failed" | waiting: held until the athlete enters their birthdate, for up to 30 days; pending: being sent. |
subjectRequired | string | |
toEmailRequired | string | |
attemptsRequired | integer | |
lastErrorRequired | "not_configured" | "email_off" | "athlete_left" | "no_reply_to" | "guardian_consent" | "age_unknown" | "rejected" | "rate_limited" | "provider_error" | "timeout" | "network" | null | Why a failed send ended. age_unknown: no birthdate within 30 days of the join, so Atlas never learned the athlete's age. |
createdAtRequired | number | Epoch milliseconds. |
sentAtRequired | number | null | Epoch milliseconds, or null. |
failedAtRequired | number | null | Epoch milliseconds, or null. |
WelcomeEmail
object
| Field | Type | Details | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
audienceRequired | "roster" | "group" | ||||||||||||||||
groupIdRequired | string | null | ||||||||||||||||
nameRequired | string | Roster, or the group program's name. | |||||||||||||||
clubNameRequired | string | ||||||||||||||||
emailRequired | object | null |
| |||||||||||||||
sampleValuesRequired | object | What a Preview or test fills the fields with.
| |||||||||||||||
hasPacketRequired | boolean | The athletes it goes to have forms to sign, so it carries Sign Your Forms. | |||||||||||||||
signFormsUrlRequired | string | null | ||||||||||||||||
fromAddressRequired | string | ||||||||||||||||
replyToRequired | string | null | The club's primary owner's address; with none the email is not sent. | |||||||||||||||
deliveryConfiguredRequired | boolean |
QuietHours
object
| Field | Type | Details |
|---|---|---|
enabledRequired | boolean | |
startMinuteRequired | integer | Minutes after midnight in timeZoneminimum 0, maximum 1439 |
endMinuteRequired | integer | Minutes after midnight in timeZoneminimum 0, maximum 1439 |
timeZoneRequired | string | IANA time zone name |
MessagingSettings
object
| Field | Type | Details |
|---|---|---|
quietHoursRequired | QuietHours | |
voicePlaybackSpeedRequired | 1 | 1.25 | 1.5 | 1.75 | 2 | The speed voice messages start at, 1 until it is first saved |
quickReactionsRequired | array of string | 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 |
MessagingReport
object
| Field | Type | Details | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
reportIdRequired | string | |||||||||||||||||||||||||
conversationIdRequired | string | |||||||||||||||||||||||||
messageIdRequired | string | null | |||||||||||||||||||||||||
reporterUserIdRequired | string | |||||||||||||||||||||||||
reportedUserIdRequired | string | null | |||||||||||||||||||||||||
reasonRequired | "spam" | "harassment" | "unsafe_content" | "unwanted_contact" | "other" | |||||||||||||||||||||||||
detailsRequired | string | null | |||||||||||||||||||||||||
statusRequired | "open" | "resolved" | |||||||||||||||||||||||||
createdAtRequired | number | |||||||||||||||||||||||||
resolvedAtRequired | number | null | |||||||||||||||||||||||||
excerptRequired | array of object | The reported message and the 10 before it, or a conversation's newest 11, as the reporter saw them
|
ExerciseLibrarySettings
object
| Field | Type | Details |
|---|---|---|
atlasLibraryEnabledRequired | boolean |
MeetResultsRefresh
object
| Field | Type | Details |
|---|---|---|
statusRequired | "scheduled" | "fresh" | "in_progress" | "backoff" | "throttled" | "unavailable" |
PersonalRecordHistoryEntry
object
| Field | Type | Details |
|---|---|---|
idRequired | string | The 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. |
exerciseNameRequired | string | |
repMaxRequired | integer | minimum 1 |
weightRequired | number | |
previousWeightRequired | number | null | |
recordedAtRequired | number | null | Milliseconds since the epoch |
sourceRequired | "coach" | "athlete" | "onboarding" | "training" | "competition" | null | |
canDeleteRequired | boolean | Only 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.
| Field | Type | Details | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
idRequired | string | |||||||||||||||||||
kindRequired | "builtin" | "custom" | |||||||||||||||||||
builtinId | string | |||||||||||||||||||
title | string | max length 80 | ||||||||||||||||||
xField | string | |||||||||||||||||||
yField | string | |||||||||||||||||||
chartKind | "heatmap" | "histogram" | "table" | |||||||||||||||||||
series | array of object |
| ||||||||||||||||||
breakdown | "repsByMovement" | "repsByIntensityZone" | |||||||||||||||||||
xMetric | string | |||||||||||||||||||
range | object | A 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.
| ||||||||||||||||||
liftFilter | object | Narrows 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.
| ||||||||||||||||||
widthColumns | integer | minimum 1, maximum 12 | ||||||||||||||||||
heightPx | integer | minimum 240, maximum 800 | ||||||||||||||||||
variableOptions | array of object | 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.
| ||||||||||||||||||
formulas | array of object | Up 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.
| ||||||||||||||||||
filters | array of object | Up 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.
| ||||||||||||||||||
groupBy | object | object | Buckets 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. | ||||||||||||||||||
rowGroupBy | object | object | The row grouping of a heatmap, which needs both groupBy and rowGroupBy; lift is not allowed. | ||||||||||||||||||
referenceLines | array of object | Up to 3 lines on the x or y axis at value, or shaded ranges from value to toValue, each with an optional label.
| ||||||||||||||||||
binWidth | number | A 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
| Field | Type | Details | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
itemsRequired | array of object | max items 64
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
layoutVersion | integer |
QuestionnaireNotification
object
| Field | Type | Details |
|---|---|---|
notificationIdRequired | string | |
sendIdRequired | string | |
athleteIdRequired | string | |
athleteNameRequired | string | |
questionnaireNameRequired | string | |
meetNameRequired | string | null | |
submittedAtRequired | number | Milliseconds since the epoch |
readRequired | boolean |
GroupWebhookStatus
object
| Field | Type | Details | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
enabledRequired | boolean | ||||||||||||||||||||||
canManageRequired | boolean | Whether the token owner may create, replace or turn off the URL: the group's coach or a club admin | |||||||||||||||||||||
tokenPreviewRequired | string | null | The start and end of the secret, to recognize it. The full URL is only returned when it is created. | |||||||||||||||||||||
createdAtRequired | number | null | ||||||||||||||||||||||
storesRequired | array of object |
| |||||||||||||||||||||
deliveriesRequired | array of object | max items 50
|
ClubOutputAccount
object
| Field | Type | Details |
|---|---|---|
statusRequired | "not_connected" | "connected" | "needs_reconnecting" | needs_reconnecting: Output Sports refuses the saved login; connect again with PUT |
emailRequired | string | null | The Output Sports account's email; null when not connected |
connectedAtRequired | integer | null | Milliseconds since the epoch |
failingSinceRequired | integer | null | When Output Sports began refusing the login, in milliseconds since the epoch; null while it works |
outputAthleteCountRequired | integer | Output athletes the account listed when last refreshed |
outputAthletesRefreshedAtRequired | integer | null | Milliseconds since the epoch |
NotificationSettings
object
| Field | Type | Details | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
organizationIdRequired | string | The club these settings belong to: the token's club | ||||||||||||||||||
commentEmailAlertsRequired | object | Email when athletes comment on an exercise or workout
| ||||||||||||||||||
commentPushAlertsRequired | object | Push to the Atlas app when an athlete comments on an exercise or workout
| ||||||||||||||||||
personalRecordAlertsRequired | object | Email when athletes set personal records
| ||||||||||||||||||
programmingDigestRequired | object | Email listing assigned athletes who need programming
| ||||||||||||||||||
checkInEmailAlertsRequired | object | Athletes 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.
|
AppearanceSettings
object
| Field | Type | Details |
|---|---|---|
consoleThemeRequired | "system" | "light" | "dark" | "blue" | "forest" | "plum" | "slate" | "ember" |
SettingsLevels
object
| Field | Type | Details | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
organizationIdRequired | string | |||||||||||||||||||
clubNameRequired | string | |||||||||||||||||||
clubAccessRequired | "change" | "read" | change for a Club Admin, read for an assistant. | ||||||||||||||||||
coachesRequired | array of object | The 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.
| ||||||||||||||||||
showsNoCoachRequired | boolean | Whether the token owner may filter to athletes and group programs with no assigned coach (Unassigned). | ||||||||||||||||||
targetsRequired | array of object | The athletes outside group programs and the group programs the token owner may change settings for, by name.
|
CoachProfile
object
| Field | Type | Details |
|---|---|---|
nameRequired | string | null | The 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 |
weightUnitFollowsTrainingRequired | boolean | Whether weightUnit still follows trainingWeightUnit because the coach has not chosen a coaching unit |
profilePhotoUrlRequired | string | null | Where the coach's photo is served, to signed-in Atlas users who share a club with them; null without a photo |
ApiToken
object
| Field | Type | Details |
|---|---|---|
_idRequired | string | The token's id, used to revoke it. The token itself is never shown again after it is created. |
nameRequired | string | |
tokenPrefixRequired | string | The token's first characters, to recognize it |
createdAtRequired | number | Milliseconds since the epoch |
lastUsedAtRequired | number | null | Milliseconds since the epoch; null until first used |
revokedAtRequired | number | null | Milliseconds since the epoch; null while it works |
permissionsRequired | array of "read" | "wearables_read" | "write" | "messaging_read" | "messaging_write" | "workout_delete" | "program_delete" | "athlete_data_delete" | "athlete_passwords" | "admin" | "delete" | |
expiresAtRequired | number | null | Milliseconds since the epoch; null when it never expires |
organizationNameRequired | string | null | The club the token works in: the calling token's club |
clubAccessRequired | boolean | Whether the token's holder still coaches in that club, without which the token stops working |