Skip to main content
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.
This page takes you from a new API key to two working calls. Every call is shown with 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 reference:read scope.
The response holds an 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 program.revised. Webhooks explains endpoints and signatures. Test events reach only test endpoints (personal workspaces support up to 2 active test webhook endpoints).
The response holds the endpoint id and its signing secret, which is shown only once.
2

Create a simulated teammate

201
The teammate starts with a week of history, and its first program is built as a job named in 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
The week’s logged sets and effort reports go through the normal event path. Sandbox covers presets, behaviors, the simulated clock, resets, personal workspace limits and what you will not see yet.

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"): Call reference:read endpoints and your own data under /v1/teammates/@me and /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 returns 403 plan_required.

If a call fails

Every error has the same body, with a stable code to branch on and a request_id to send to support.
  • A 401 means the key is missing or not valid. Check the X-API-Key header.
  • A 403 means the key does not hold the scope the endpoint needs (forbidden), or the live-mode feature requires an Organization plan (plan_required).
  • A 429 means the key is over its rate limit (or a personal workspace reached its daily engine-heavy write cap). Wait, then try again.
Errors lists every code and says which ones to retry. Rate limits explains per-key limits, personal workspace caps and how to slow down and recover.

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.
Every endpoint is listed under Endpoints in the sidebar, each with a panel where you can send a request from the page. Paste test keys only.