These operations are needed to create and update member accounts and their membership information.
MMS API V2 (2.0.0)
RESTful API specification for integrating gym management systems with the EGYM platform. This OpenAPI document defines all available endpoints, request/response schemas, authentication requirements, and error codes.
Key Features:
- Member account and membership management
- RFID assignment and management
- Real-time gym visit tracking (check-in/check-out)
- EGYM product booking (Smart Strength, EGYM+)
- Trainer task creation and tracking
- Webhook subscriptions for event notifications
- Push notifications to EGYM mobile apps
- Member migration from V1 API
- Mock serverhttps://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}
- Testhttps://one-mms-service.ext-1.test.co.egym.coffee/api/v2/accounts/{accountId}
- Prodhttps://mms.api.egym.com/api/v2/accounts/{accountId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}' \
-H 'x-api-key: YOUR_API_KEY_HERE'Ok
The Member email address. It should be unique within the gym chain.
The Member gender. Please note that NON_BINARY is not correctly supported yet, we send it as FEMALE for the usage of the machines.
The membership details.
Member ID in the gym software. It must be unique for exactly one member in the gym chain.
The agreement number is the number of the membership between the member and the gym chain.
Type of the member's membership to determine available features.
Extension of membershipStatus for further customization for this user. One membershipStatus can have multiple membershipSubType.
Date when the member's contract ends. For gyms with automatic contract renewal, send the date when the contract would run out, if cancelled. Update the field when the contract was renewed (manually and automatically renewals). format: yyyy-MM-dd
The date when the membership started. format: yyyy-MM-dd
Member's barcode to check-in in the gym. Can be visualised on the Branded Member App and used for lookup to verify membership.
Mandatory when creating new membership of type 'CORPORATE_FITNESS' or when updating membership to 'CORPORATE_FITNESS'. Member's verification TAN. Can be visualised on the Qualitrain Member App and used for Qualitrain Membership verification.
{ "accountId": "string", "email": "user@example.com", "firstName": "John", "lastName": "Wick", "dateOfBirth": "2019-08-24", "gender": "MALE", "contact": { "phone": "string", "street": "string", "streetNumber": "string", "zipCode": "string", "city": "string", "state": "string", "country": "DE" }, "membership": { "membershipId": "string", "agreementNumber": "string", "membershipType": "BASIC", "membershipSubType": "string", "endOfContract": "2019-08-24", "startOfContract": "2019-08-24", "referringMemberId": "string", "barcode": "string", "verificationTAN": "string", "corporateFitness": { … } } }
The Member email address. It should be unique within the gym chain.
The Member gender. Please note that NON_BINARY is not correctly supported yet, we send it as FEMALE for the usage of the machines.
The membership details.
Member ID in the gym software. It must be unique for exactly one member in the gym chain.
The agreement number is the number of the membership between the member and the gym chain.
Type of the member's membership to determine available features.
Extension of membershipStatus for further customization for this user. One membershipStatus can have multiple membershipSubType.
Date when the member's contract ends. For gyms with automatic contract renewal, send the date when the contract would run out, if cancelled. Update the field when the contract was renewed (manually and automatically renewals). format: yyyy-MM-dd
The date when the membership started. format: yyyy-MM-dd
Member's barcode to check-in in the gym. Can be visualised on the Branded Member App and used for lookup to verify membership.
- Mock serverhttps://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}
- Testhttps://one-mms-service.ext-1.test.co.egym.coffee/api/v2/accounts/{accountId}
- Prodhttps://mms.api.egym.com/api/v2/accounts/{accountId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
'https://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}' \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"email": "user@example.com",
"firstName": "John",
"lastName": "Wick",
"dateOfBirth": "2019-08-24",
"gender": "MALE",
"contact": {
"phone": "string",
"street": "string",
"streetNumber": "string",
"zipCode": "string",
"city": "string",
"state": "string",
"country": "DE"
},
"membership": {
"membershipId": "string",
"agreementNumber": "string",
"membershipType": "BASIC",
"membershipSubType": "string",
"endOfContract": "2019-08-24",
"startOfContract": "2019-08-24",
"referringMemberId": "string",
"barcode": "string",
"verificationTAN": "string",
"corporateFitness": {
"startTimestamp": "2021-03-08T18:26:47Z",
"endTimestamp": "2021-03-08T18:26:47Z"
}
}
}'Ok
The Member email address. It should be unique within the gym chain.
The Member gender. Please note that NON_BINARY is not correctly supported yet, we send it as FEMALE for the usage of the machines.
The membership details.
Member ID in the gym software. It must be unique for exactly one member in the gym chain.
The agreement number is the number of the membership between the member and the gym chain.
Type of the member's membership to determine available features.
Extension of membershipStatus for further customization for this user. One membershipStatus can have multiple membershipSubType.
Date when the member's contract ends. For gyms with automatic contract renewal, send the date when the contract would run out, if cancelled. Update the field when the contract was renewed (manually and automatically renewals). format: yyyy-MM-dd
The date when the membership started. format: yyyy-MM-dd
Member's barcode to check-in in the gym. Can be visualised on the Branded Member App and used for lookup to verify membership.
Mandatory when creating new membership of type 'CORPORATE_FITNESS' or when updating membership to 'CORPORATE_FITNESS'. Member's verification TAN. Can be visualised on the Qualitrain Member App and used for Qualitrain Membership verification.
{ "accountId": "string", "email": "user@example.com", "firstName": "John", "lastName": "Wick", "dateOfBirth": "2019-08-24", "gender": "MALE", "contact": { "phone": "string", "street": "string", "streetNumber": "string", "zipCode": "string", "city": "string", "state": "string", "country": "DE" }, "membership": { "membershipId": "string", "agreementNumber": "string", "membershipType": "BASIC", "membershipSubType": "string", "endOfContract": "2019-08-24", "startOfContract": "2019-08-24", "referringMemberId": "string", "barcode": "string", "verificationTAN": "string", "corporateFitness": { … } } }
- Mock serverhttps://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}
- Testhttps://one-mms-service.ext-1.test.co.egym.coffee/api/v2/accounts/{accountId}
- Prodhttps://mms.api.egym.com/api/v2/accounts/{accountId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://developer.egym.com/_mock/mms-api-v2/apis/mms-v2/api/v2/accounts/{accountId}?eraseMemberData=true' \
-H 'x-api-key: YOUR_API_KEY_HERE'Gym Visit
These operations are needed to transmit the information to EGYM, that a specific member is currently in the gym. Based on that information several business logics are built, to provide a seamless training floor experience to the members of that gym. For example the trainer on the Training Floor is informed that this member is here and that he should complete some tasks.