Getting Started
Four ways to use this: work from Claude, ChatGPT, Gemini or Grok through Connectors; let an AI agent that runs commands do it, starting at the Agent Skill; run commands yourself with the Atlas CLI; or build an integration with the API below.
Atlas is a weightlifting coaching product. Its Coach API is a versioned REST API for AI agents, custom GPT actions, automation tools, and direct integrations. Everything a token can do is scoped to one club and to the coach who created it.
What Atlas Exposes
The Coach API publishes 507 operations. Each one is listed in the Coach API Reference, generated from the same OpenAPI document the API serves. With the right permissions a token can:
- List the roster, create or adopt stable roster entries, and read, update, or archive athlete profiles by athlete ID. List and restore archived athletes, add an athlete under 18 through their parent, send or revoke an athlete's invitation, and change each athlete's readiness, estimated record, sport, PR editing, adding exercises, and program visibility settings.
- Create, read, replace, and delete programs, or change one week, day, or exercise at a time, including coach notes and atomic session completion. Export a program as a PDF or Excel file.
- Create and organize reusable templates in folders, copy them, export them as a PDF or Excel file, and assign them to athletes.
- Browse and search the Atlas and club exercise libraries, and add or update club exercises.
- Read and write personal records and their history, run PRs for general fitness athletes, and the rep maxes opened for an athlete, raise records to recent training and meet bests, track the club's own lifts, remove or restore built-in record lifts, and read and write upcoming meets, meet results, annual plans, and weekly coach notes. A week note is stored on the Sunday on or before the date you send. The week start in coach settings changes the coach's training calendars, and it does not move that key. With a Monday start, Monday through Saturday share the note filed on the previous Sunday, and that Sunday is the key of the next note.
- Write meet-day worksheets, send one to the athlete and their guardians or take it back, and export the full meet plan as JSON or PDF.
- Read an athlete's competition profile, set the name and lifter their MeetCal results come from, and fetch those results again. Link a powerlifter to their Open Powerlifting lifter, found by a name search, and read the meet history Atlas keeps from it.
- List an athlete's guardians, invite a guardian by email, withdraw an invitation, and remove a guardian.
- Read and update an athlete's retention record: start and end dates, package days per week, and notes.
- Build club questionnaires, choose which one each athlete gets after a meet, send one now, read the answers, and read questionnaire notifications and mark them read.
- Create group programs, read their members, add or remove members by email, move an athlete onto a group or make a member individual again, and manage their join links. Each group can also take a secret webhook from a club's own signup system.
- Run club documents: write or upload forms, publish, archive, and require them, choose a group program's required forms, record paper copies, keep club and athlete files, read compliance and remind athletes to sign, read former athletes' signed forms and files, and change and test welcome emails. Athletes sign forms only in the Atlas app.
- Read the club's plan, its athlete and group member limits, and how much of each is used.
- Manage the club: its sport, whether athletes edit their own PRs, how far ahead athletes see their program, coach roles and removal, coach and athlete invitations, coach assignment, archived athletes, transfers between clubs, the Output Sports connection, and whether the club sees the Atlas exercise library.
- Read and change the coach's own settings: week start, readiness and estimated record defaults, Show Myself As An Athlete, Mark A1 As Primer, notifications, console theme, and each athlete's analytics board.
- Read session check-ins, completed days, session activity, weekly analytics, missed lifts by exercise, and performance by time of day. Set your check-in message, booking link, and each athlete's check-in schedule, and send a check-in now.
- Fetch live Oura and FatSecret data for athletes who connected them. Atlas does not store those measurements. Link athletes to the club's Output Sports account.
- Read and send club messages, including photos, voice messages, files, and form-review videos, schedule messages, pin conversations and reorder the pins, manage groups, reactions, and reports, set quiet hours, mark videos reviewed, and read form-review video notifications.
- Read athletes' workout and exercise comments, mark them read, and reply to them as a direct message.
- As the platform administrator, start clubs by inviting their Club Admins, rename clubs, and put a club on the Free, complimentary or custom plan.
Call the API directly, script it with the Atlas CLI, or give an AI agent the Agent Skill.
Create A Token
From a terminal, the Atlas CLI can create one for you: atlas login prints a code, you approve it in the console, and the CLI keeps the token in your computer's credential store. To create one by hand:
- Sign in to the coach console and open Integrations.
- Name the token, choose only the permissions the integration needs, and pick a lifetime of 30, 90, or 180 days, or no expiry.
- Copy the token. It is shown once; Atlas stores only a SHA-256 hash of it.
A token is bound to the club selected when it is created. Switching clubs in the Atlas app does not retarget it or any script that uses it, so create one token per club. A token stops working as soon as its coach leaves that club, and any token can be revoked from Integrations.
Older tokens created without a club by a coach who is not the platform administrator are rejected and must be replaced. The platform administrator's tokens without a club reach only the Platform Admin endpoints, GET /account and /settings/appearance; every other endpoint answers 403, whatever permissions the token carries. The platform administrator gets one by choosing Platform (No Club) as the token's club.
Base URL
Every path in these docs is relative to the API base URL. The API is served from Atlas's backend host below. That host is expected.
https://graceful-tortoise-95.convex.site/api/v1The OpenAPI 3.1 document is public and needs no token:
https://graceful-tortoise-95.convex.site/api/v1/openapi.jsonAn agent that supports OpenAPI actions can import that URL and use the token as an HTTP bearer credential. The stable operationId values tell it which action to call.
Authentication
Send the token on every request except the health check and the OpenAPI document:
Authorization: Bearer YOUR_ATLAS_API_TOKENStart with GET /account. It confirms which token is in use, the permissions it carries, and the published rate limit.
curl "https://graceful-tortoise-95.convex.site/api/v1/account" \
-H "Authorization: Bearer YOUR_ATLAS_API_TOKEN"Permissions
Each endpoint needs one permission, shown beside it in the reference. Messaging permissions are separate from program and roster permissions.
| Permission | Integrations Label | Allows | Endpoints |
|---|---|---|---|
read | Read Athletes And Programs | Roster, programs, templates, exercises, check-ins, and meet results. | 165 |
wearables_read | Read Health Data | Oura, WHOOP and nutrition logs, Output Sports tests, and HRV beside training load. Needs read. | 12 |
write | Create And Edit | Programs, templates, exercises, athletes, meet results, PRs, meet plans, and settings. Also deletes exercises and template folders. Needs read. | 165 |
workout_delete | Delete Workouts And Weeks | Remove workouts or whole weeks from a program. Needs write. | 4 |
program_delete | Delete Programs And Templates | Remove whole programs and templates. Needs write. | 3 |
athlete_data_delete | Delete Athlete Data | Remove an athlete's records. This cannot be undone. Needs write. | 26 |
athlete_passwords | Athlete Sign-In | Set a new password for an athlete you coach, which signs them out everywhere, or create a one-time sign-in code for them. Needs write. | 2 |
messaging_read | Read Messages | Conversations and attachments this token can see. | 23 |
messaging_write | Send Messages | Send, edit, react, and mark conversations read. Needs messaging_read. | 46 |
admin | Manage Club | Coach roles, coach and athlete invitations, coach assignments, athlete transfers, the Output Sports connection, and the Atlas exercise library. Still limited to what your club role allows. Needs write. | 60 |
workout_delete lets a token correct a program by removing exercises, days, or weeks. Deleting whole programs, templates, or questionnaires needs program_delete, and erasing personal records, meets, or an athlete's data needs athlete_data_delete. Legacy tokens that carry delete keep every deletion permission. A platform Super Admin token cannot read club messages unless its user also coaches in the token's club.
Errors
Every failure returns the same envelope:
{ "error": { "code": "NOT_FOUND", "message": "Program not found" } }A 4xx status means the request can be fixed; a 5xx status means it cannot.
| Code | Status | Meaning |
|---|---|---|
VALIDATION_ERROR | 400, or 422 with issues | The request or program body is invalid. A program or template body returns 422 with the offending path in issues. |
UNAUTHENTICATED | 401 | The token is missing, unknown, expired, or revoked. |
FORBIDDEN | 403 | The token lacks the permission, or the coach cannot reach that athlete or library entry. |
NOT_FOUND | 404 | The resource does not exist or is not visible to this token. |
CONFLICT | 409 | The write conflicts with stored data, such as a completed session or a duplicate program. |
PRECONDITION_FAILED | 412 | The If-Match revision is stale. Read the resource again and merge. |
PLAN_LIMIT_REACHED | 402 | The club’s plan has no room for another athlete or group program member, or the club is locked because its subscription ended with more athletes than the Free plan allows. The club owner can upgrade or renew under Billing in Settings. |
PAYLOAD_TOO_LARGE | 413 | The request body is over the 1 MB limit. |
PRECONDITION_REQUIRED | 428 | The write needs an If-Match revision. |
RATE_LIMITED | 429 | The token or its account passed its per-minute limit, or the account is sending messages too quickly. Wait for Retry-After seconds, or as long as the message says. |
RESULT_SET_TOO_LARGE | 400 | The query would return too much data. Narrow the date range or filters. |
UPSTREAM_ERROR | 503 | Oura, FatSecret, or Output Sports failed to answer, video storage is not set up on the deployment, or the console could not send or revoke an invitation. |
INTERNAL_ERROR | 500 | A failure on the Atlas side. The message is always "Something went wrong on Atlas's end. Try again in a moment."; the cause is logged on the deployment. |
Rate Limits
Each token may make 120 requests per minute, and all of one account's tokens together 300. A 429 response carries Retry-After in seconds. Rate accounting is sharded, so responses do not report an exact remaining count and there is no X-RateLimit-Remaining header.
A few actions have their own limits on top of these:
- Sending messages: 60 a minute per account, in bursts of up to 30. A refused send answers
RATE_LIMITEDwith a message that says how long to wait. - Adding and removing group program members, by API or webhook: 300 an hour per group and 10 an hour per address in a group. A refusal answers
429. - Welcome email tests: 10 an hour. Open Powerlifting name searches, guardian invitations, invitations to one address, and document reminders have limits of their own, given with each endpoint in the Coach API Reference. Each refusal answers
RATE_LIMITED.
Pagination
List endpoints that take a cursor return a page with continueCursor and isDone. Pass continueCursor back as cursor until isDone is true.
GET /roster?limit=100is the authoritative, complete roster.GET /athletesis a compatibility view that also surfaces legacy name-only records.- Program and template pages hold at most 10 items, because each item carries its complete nested workout.
Idempotency
These operations accept an Idempotency-Key header, up to the length each one lists (128 characters, or 100 on messaging operations). A retry with the same key and body returns the original result instead of creating a duplicate, so send a stable key whenever a request might be repeated. Reuse a key only to retry the same request; otherwise the answer is 409. A reused Idempotency-Key: the same key with a different body, on another target, or for something since withdrawn (such as an unsent message). The error code is CONFLICT.
POST /messages/conversations/{conversationId}(required)PATCH /messages/scheduled/{messageId}(optional)POST /comments/{commentKey}/replies(required)POST /programs(optional)POST /templates/{templateId}/assign(optional)POST /platform/support/{conversationId}(required)POST /athletes/by-id/{athleteId}/check-in-scheduling/send(required)PATCH /messages/by-id/{messageId}(required)DELETE /messages/by-id/{messageId}(optional)POST /messages/by-id/{messageId}/reactions(optional)POST /messages/by-id/{messageId}/report(optional)POST /messages/conversations/{conversationId}/report(optional)DELETE /messages/by-id/{messageId}/videos(optional)DELETE /messages/attachments/{attachmentId}(optional)
curl -X POST "https://graceful-tortoise-95.convex.site/api/v1/programs" \
-H "Authorization: Bearer YOUR_ATLAS_API_TOKEN" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: import-2026-09-01-alex" \
-d @program.jsonRevisions And If-Match
Programs use optimistic concurrency. Creating a program returns revision: 1 and an ETag. Every later program, week, day, or exercise write must send that revision in If-Match, and a successful write returns the next revision.
- A stale revision returns
412: read the program again, merge, and retry instead of overwriting a coach's changes. - A write without
If-Matchreturns428. - Each nested write reads the latest stored program and changes only the requested day or exercise inside one transaction.
- Questionnaire changes and deletes take a revision in
If-Matchtoo, but may leave it out.
curl -X PATCH \
"https://graceful-tortoise-95.convex.site/api/v1/programs/<program-id>/weeks/1/days/2" \
-H "Authorization: Bearer YOUR_ATLAS_API_TOKEN" \
-H "Content-Type: application/json" \
-H "If-Match: 2" \
-d '{"coachNotes":"Stay patient off the floor"}'Quick Start
These examples use YOUR_ATLAS_API_TOKEN in place of a token. Replace it with your own, ideally from an environment variable so it stays out of shell history.
curl "https://graceful-tortoise-95.convex.site/api/v1/roster?limit=100" \
-H "Authorization: Bearer YOUR_ATLAS_API_TOKEN"
curl "https://graceful-tortoise-95.convex.site/api/v1/exercises?search=snatch&limit=20" \
-H "Authorization: Bearer YOUR_ATLAS_API_TOKEN"
curl -X POST "https://graceful-tortoise-95.convex.site/api/v1/athletes" \
-H "Authorization: Bearer YOUR_ATLAS_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"Alex Smith"}'
curl -X POST "https://graceful-tortoise-95.convex.site/api/v1/programs/validate" \
-H "Authorization: Bearer YOUR_ATLAS_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"athleteName":"Alex","programName":"Prep","startDate":"2026-09-01","weeks":[{"days":[{"exercises":[{"exerciseName":"Snatch","reps":"3"}]}]}]}'
curl -X PATCH \
"https://graceful-tortoise-95.convex.site/api/v1/programs/<program-id>/weeks/1/days/2/exercises/3" \
-H "Authorization: Bearer YOUR_ATLAS_API_TOKEN" \
-H "Content-Type: application/json" \
-H "If-Match: 1" \
-d '{"reps":["3","2","1"],"setWeights":[80,85,90],"exerciseNotes":"Fast turnover"}'Create or adopt a roster entry before writing a new program, and use the athleteId it returns rather than an editable name. The Coach API Reference covers program bodies, prescriptions, intensity, and every other endpoint.