OAuth
Equipment Vendor API (for standalone clients)
📦 Changelog of Documentation
🔐 Authentication
🔄 Integration Flow Overview
⚠️ Error Handling
📝 Integration FAQ – Standalone Devices API
Partners
Body Measurement
Cardio Measurement
Flexibility Measurement
User
Image
Statistics
Machine
Resource
Strength Workouts
Cardio Workouts
Open Exercise Workouts
Cardio Test
This endpoint logs in the user and returns the access token
Security
partner
One of:
Device Token Request for a user, using an egym-signed partner
The grant type.
Enum:"PASSWORD""RFID""REFRESH_TOKEN""XID""NFC""DEVICE"
Discriminator
The locale, if there is the need to override it during the login process.
Example:"en_US"
The measurement system, if there is the need to override it during the login process.
Enum:"METRIC""US_CUSTOMARY""IMPERIAL"
- Mock serverhttps://developer.egym.com/_mock/equipment/partner-api/api/v1/oauth/token
- Test (ext-1)https://partner-api.ext-1.test.co.egym.coffee/api/v1/oauth/token
- Productionhttps://partner-api.api.egym.com/api/v1/oauth/token
curl -i -X POST \
https://developer.egym.com/_mock/equipment/partner-api/api/v1/oauth/token \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d grant_type=DEVICE \
-d serial_number=string \
-d machine_type=string \
-d locale=en_US \
-d measurement_system=METRIC \
-d machine_sw_version=5.3.7.323 \
-d egym_sw_version=3.589 \
-d username=string \
-d password=string \
-d device_token=string \
-d obfuscated_user_id=stringResponse
{ "access_token": "string", "expiration_time": 1672531200000, "refresh_token": "string", "token_type": "string" }