This comprehensive guide explains how to integrate Wellpass (formerly Qualitrain) corporate fitness memberships with your gym's member management system. For a quick-start workflow overview, see the Wellpass check-in workflow guide.
New to Wellpass? Start with the Wellpass check-in workflow for a step-by-step walkthrough. This guide provides comprehensive technical details, edge cases, and advanced configuration options.
Wellpass is a corporate fitness program that allows employees to access a network of gyms as part of their employer's health benefits. When a Wellpass member visits your gym, they need to be registered in your MMS and linked to their existing EGYM account using a verification TAN.
- Wellpass members have existing EGYM accounts - They've already registered with Wellpass/EGYM
- TAN (Temporary Access Number) - A 9-digit code that links your local gym account to the member's EGYM account
- Corporate fitness membership - A special membership type (
CORPORATE_FITNESS) with specific validation rules - Plus1 program - Allows Wellpass members to bring a guest; participation is optional per gym
Wellpass integration requires three key technical components:
- Account creation with TAN verification - Link local MMS accounts to existing EGYM accounts using a 9-digit TAN
- Corporate fitness membership type - Use
membershipType: CORPORATE_FITNESSwith special validation rules - Check-in validation - Validate membership status at every gym entry
For the complete workflow, see the Wellpass check-in workflow guide.
When a Wellpass member visits your gym for the first time, they'll provide a TAN code. Use this code to create their account with the CORPORATE_FITNESS membership type.
The verificationTAN field is required when creating or updating a member account with membershipType: CORPORATE_FITNESS. This 9-digit code uniquely identifies the Wellpass member and links their gym account to their existing EGYM account.
- Testhttps://one-mms-service.ext-1.test.co.egym.coffee/api/v2/accounts
- Prodhttps://mms.api.egym.com/api/v2/accounts
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://one-mms-service.ext-1.test.co.egym.coffee/api/v2/accounts \
-H 'Content-Type: application/json' \
-H 'x-api-key: YOUR_API_KEY_HERE' \
-d '{
"email": "jane.doe@company.com",
"firstName": "Jane",
"lastName": "Doe",
"gender": "FEMALE",
"membership": {
"membershipId": "WP-12345",
"membershipType": "CORPORATE_FITNESS",
"verificationTAN": "123456789",
"startOfContract": "2024-01-15"
}
}'Important notes:
membershipTypemust beCORPORATE_FITNESSverificationTANis the 9-digit code from the Wellpass app or website- Member can retrieve their TAN from the Wellpass mobile app or account settings
- The TAN is short-lived and used only during account creation
- Save the returned
accountIdfor future operations startOfContractis still required field, but could be used as starting date of Wellpass member in a gym
When you retrieve a Wellpass member account, the response includes a corporateFitness object with additional membership details.
The corporateFitness object is read-only and returned automatically for accounts with membershipType: CORPORATE_FITNESS:
{
"accountId": "f756ae43-c932-5a02-b42b-b4752f73er12",
"email": "jane.doe@company.com",
"firstName": "Jane",
"lastName": "Doe",
"membership": {
"membershipId": "WP-12345",
"membershipType": "CORPORATE_FITNESS",
"startOfContract": "2024-01-15",
"corporateFitness": {
"startTimestamp": "2024-02-01T00:00:00Z",
"endTimestamp": "2024-12-31T23:59:59Z"
}
}
}Field descriptions:
startTimestamp- When the corporate fitness membership begins (if in the future). Not returned for active/past memberships.endTimestamp- When the corporate fitness membership ends (if defined). Used to identify expiring memberships.
membership.startOfContractis the date the member joined your gymcorporateFitness.startTimestampis when their Wellpass membership becomes active (may be different)corporateFitness.endTimestampis when their Wellpass benefit ends
- Wellpass check-in workflow - Quick-start workflow guide for implementing Wellpass
- Conflict Resolution - Handling TAN conflicts and account linking issues
- Push member data to EGYM - General member account creation patterns
- Error Codes - Complete error code reference with schemas
- API Reference - Complete endpoint documentation