Any verified TechnicallyFit account can create API keys in a free personal developer
workspace at app.technicallyfit.com/developer,
with no organization required. Organization plans unlock multi-teammate live operations
and organization features.
curl, the TypeScript SDK and the Python SDK; pick
one tab and the page remembers it. It takes about five minutes.
1
Create a test key in the developer portal
Sign in to TechnicallyFit at
app.technicallyfit.com/developer with any
verified account. Your Personal developer workspace is created automatically with
no organization required (owners and admins of an organization can also switch to their
organization workspace). Open API keys with Test selected, and create a key
that holds the
reference:read scope. Copy the key when it is shown: it is shown only
once. The portal also shows the base URL to use.
Authentication explains workspaces, plans, modes and scopes.2
Set your base URL and key
Set these two values once in your terminal. Every example in these docs reads them, so
no example has a host or a key typed into it.Use a test key (it starts with
tf_test_) while you build. Never paste a live key into a
page, a ticket or a chat.To use an SDK instead of curl, install it once. The SDKs read the same two values.3
Check your key
Ask the API which workspace your key belongs to. This call works with any personal or
organization key and needs no scope.The response names your workspace, its
kind (personal or organization), its
plan (free or organization), the mode of the key (test or live) and the
scopes the key holds. If mode is not test, stop and switch to a test key.4
Read reference data
List three exercises from the catalog. This call needs the The response holds an
reference:read scope.exercises list, the total number of exercises that match,
and has_more, which says whether there is another page. Ask for the next page with
offset.Run a full loop in the sandbox
Test mode (tf_test_*) gives full sandbox access on both personal and organization
workspaces. With the same test key you can watch your integration react to a teammate who
trains, without a real person. The key needs teammates:write, events:write,
programs:read and, for the webhook, webhooks:write.
1
Listen for program changes
Register a webhook endpoint with your test key and subscribe it to The response holds the endpoint
program.revised.
Webhooks explains endpoints and signatures. Test events reach only
test endpoints (personal workspaces support up to 2 active test webhook endpoints).id and its signing secret, which is shown only once.2
Create a simulated teammate
201
program_job_id. Poll GET /v1/program-jobs/{job_id} until it succeeds. When
the program starts, your endpoint receives program.revised.200
3
Simulate a week
200
Moving to live mode
When you create a live key (tf_live_*), what you can call depends on your workspace plan:
- Personal workspace (
plan: "free"): Callreference:readendpoints and your own data under/v1/teammates/@meand/v1/teammates/@me/*with implicit self-consent. - Organization workspace (
plan: "organization"): Unlocks live operations for other teammates, live webhooks, bulk events, locations, insights, organization settings and member-app OAuth clients. Calling these in live mode with a personal key returns403 plan_required.
If a call fails
Every error has the same body, with a stablecode to branch on and a request_id to
send to support.
- A
401means the key is missing or not valid. Check theX-API-Keyheader. - A
403means the key does not hold the scope the endpoint needs (forbidden), or the live-mode feature requires an Organization plan (plan_required). - A
429means the key is over its rate limit (or a personal workspace reached its daily engine-heavy write cap). Wait, then try again.
Where to go next
Authentication
Personal and organization workspaces, test and live keys, scopes, rotation and revocation.
Rate limits
Per-key limits, personal workspace caps and what to do when you reach a limit.
Errors
The one error body, every code and which errors to retry.
SDKs
Client libraries for the API.