- Mock serverhttps://developer.egym.com/_mock/equipment/partner-api/api/v1/users
- Test (ext-1)https://partner-api.ext-1.test.co.egym.coffee/api/v1/users
- Productionhttps://partner-api.api.egym.com/api/v1/users
curl -i -X GET \
https://developer.egym.com/_mock/equipment/partner-api/api/v1/users \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Ok
The userId assigned by EGYM, for example -1c2yqo37vn9m. Can be null on xID authentication if BMA User is not linked to EGYM account.
Temporary solution for Matrix. The BMA userId assigned by egym, for example d101df00-ab9d-40f5-8f03-3c50aaa364d6. Only available during xID authentication
The email address of the user. Not available by default. Only available if needed for use case.
The user locale is either in ISO 15897 standard format. i.e.: 'en_US' or just language. i.e.: 'en'
The Smart Cardio training program.
Training Preferences of the User. Deprecates trainingGoal and trainingProgram.
Genius Onboarding Checklist of the User. Denotes the onboarding progress statuses for the user.
The cardio test user information. It is enabled only for Smart Cardio.
{ "userId": "-1c2yqo37vn9m", "bmaUserId": "d101df01-ab9d-40f5-8f03-3c50aaa364d6", "firstName": "string", "lastName": "string", "image": { "imageType": "EXERCISE", "imageId": "string" }, "email": "string", "gender": "MALE", "dateOfBirth": "2019-08-24", "optIns": { "property1": true, "property2": true }, "height": 180, "weight": 75, "locale": "en_US", "unitSystem": "METRIC", "trainingGoal": "WEIGHT_LOSS", "trainingProgram": "WEIGHT_LOSS", "trainingPlanPreferences": { "trainingGoalType": "WEIGHT_LOSS", "trainingExperience": "BEGINNER", "daysPerWeek": 1, "trainingMuscleGroupPreferences": [ … ], "workoutDurationInMinutes": 5 }, "onboardingChecklist": { "preferences": { … }, "strengthTest": { … }, "bodyMeasurement": { … }, "machineSettingsMeasurements": { … } }, "termsAndConditionsAccepted": true, "cardioTestInfo": { "reminder": 1553074207520, "instructions": [ … ] } }