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.
The TechnicallyFit API authenticates each request with an API key that belongs to a developer workspace: either your personal developer workspace or an organization workspace. Both use the same key system (tf_test_ and tf_live_), scopes and X-API-Key header. A key says three things: which workspace is calling, in which mode (test or live), and what the call is allowed to do (its scopes).

Send your key

Send the key in the X-API-Key header on every request.
GET /v1/organization works with any workspace key (personal or organization) and any scope. It tells you which workspace, mode, kind and plan a key belongs to, so it is a good first call to check a new key.
200

Personal workspaces and Organization plans

Every verified TechnicallyFit account gets a personal developer workspace the first time you open app.technicallyfit.com/developer, with no organization required. Organizations with an active Organization plan get an organization workspace for multi-teammate live operations and enterprise features. Calling an organization-only feature in live mode with a personal key returns 403 with code plan_required and details: { "required_plan": "organization", "feature": "..." }. See Errors and Rate limits. To unlock organization features in live mode, use Upgrade to an organization in the developer portal (/onboarding/business) to open the application form (an Organization plan is set up under a contract with TechnicallyFit), or switch to an organization workspace you administer.

Keep API keys on a server

An API key acts for your workspace. Treat it like a password.
  • Keep it in a secret manager or an environment variable on your server.
  • Never put it in a mobile app, a browser, a desktop app or any other code that ships to a person’s device. Anyone who has the app can read the key out of it.
  • Never commit it to source control, and never paste it into a ticket, a chat or a log.
Your own app talks to your backend, and your backend calls TechnicallyFit with the key.

Which credential goes where

A teammate token comes from the person signing in to your app. It reads and changes only that teammate’s own data, and only what they allow. See Member apps. The same read shows the difference. GET /v1/teammates/@me takes either credential: with a teammate token it answers for the person who signed in, and the SDKs send each credential in the right header for you.
On your server, send the organization key in X-API-Key. On a personal workspace, @me is you, the workspace owner.
200
Both credentials reach the same API and pass the same checks, in this order. The answer at each step that fails is the one in When a request is refused.

Test and live keys

Every key works in exactly one mode. The start of the key tells you which. A test key can never read or change live data, and a live key can never read or change test data. Create at least one key per mode, and use a different key for each system that calls the API so you can rotate or revoke one without touching the others.

Scopes

A scope is one permission. A key holds one or more scopes, chosen when the key is created, and a request succeeds only when the key holds the scope the endpoint needs. Give each key only the scopes its system uses. A scope never grants more than its row says, and it only ever reaches your own workspace in the key’s mode. On a personal workspace in live mode, organization-only routes return 403 plan_required even if the key holds the matching scope. An API key cannot hold a scope that edits another person’s account. Teammates own their accounts, and that does not change when they join an organization. A key also cannot hold a wildcard that stands for every scope.

Create, rotate and revoke keys

Sign in to TechnicallyFit at app.technicallyfit.com/developer and open API keys. Every verified account has a Personal workspace ready to use. If you are an owner or admin of an organization, you can switch between your personal workspace and any organization you administer. The portal also shows the base URL to call beside your keys. Your email address must be verified before you can create or rotate a key. Personal workspaces can hold up to 4 active API keys at once (across test and live modes combined). Revoke an existing key before creating another if you reach the cap. Create. Choose a name, a mode and the scopes. The full key is shown once, when it is created. Store it right away: TechnicallyFit keeps only a short prefix (such as tf_test_ab12) so you can tell your keys apart, and cannot show the full key again. Rotate. Rotating a key gives you a new key in the same workspace and mode with the same scopes. You choose what happens to the old key:
  • Keep it active while you deploy the new key, then revoke it. Use this for a planned rotation with no downtime.
  • Revoke it at once. Use this when the old key may have leaked.
Revoke. A revoked key stops working on its next request and cannot be restored. Create a new key if you need one. Rotate keys on a schedule, and rotate at once when someone who could see a key leaves your team or a key may have been exposed.

When a request is refused

A key without the scope an endpoint needs is answered like this, here for GET /v1/teammates with a key that holds only reference:read:
curl
403
Every error from the API has the same body, with a stable code and a request ID. See Errors for the full list.