Authentication

All requests to the Progress Public API must include your API key in the X-API-Key request header.

Getting an API key

  1. Log in to the Progress admin dashboard.
  2. Open Settings → API Keys.
  3. Click the + button, give the key a name, and copy the generated key. It looks like pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx.
⚠️

Heads up: Save the key somewhere safe — it grants full access to create, update, and delete trainees in your company.

Using the key

Every request needs the header:

X-API-Key: pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx

Example — create a trainee

curl -X POST 'https://api.progress-workout.com/public-api/trainees' \
  -H 'X-API-Key: pk_xxxxxxxxxxxxxxxxxxxxxxxxxxxx' \
  -H 'Content-Type: application/json' \
  -d '{
    "name": "Israel Israeli",
    "email": "[email protected]",
    "phoneNumber": "+972501234567",
    "password": "Pa55word!"
  }'

For a more thorough walk-through, see the Quick Start.

Errors

A quick summary — see the Errors page for the full reference.

StatusWhen
401 Missing X-API-Key headerThe header wasn't sent.
401 Invalid X-API-KeyThe key is wrong, disabled, or deleted.

Revoking a key

If a key is exposed, open Settings → API Keys in the admin, find the key, and click the trash icon. The key stops working immediately on every server instance. Active key values are visible in the admin UI, so you can rotate without contacting support.