curl https://api.wodup.dev/api/public/athletes \
  -u sk_test_abc123: \
  -H "wodup-gym: gym_123abc"

Platform API keys allow you to create new gyms and execute requests on behalf of connected gyms.

To act as a connected gym, clients can issue requests using the wodup-gym special header. Make sure that this header contains a WodUp gym ID, which starts with the gym_ prefix.

curl https://api.wodup.dev/api/public/athletes \
  -u sk_test_abc123: \
  -H "wodup-gym: gym_123abc"

Do not include a wodup-gym header if creating a new gym (POST /api/public/gyms)