v1

latestOpenAPI 3.1.02026-08-064323122.5 KB
Member Account

Create an account

Create an account in the EGYM System.

post/api/v2/accounts

Request body

accountIdstring

The EGYM account ID for the Gym Member.

emailstring required

The Member email address. It should be unique within the gym chain.

firstNamestring required

The Member first name.

lastNamestring required

The Member last name.

dateOfBirthstring date

The Member date of birth. format: yyyy-MM-dd

gender'MALE' | 'FEMALE' | 'NON_BINARY' required

The Member gender. Please note that NON_BINARY is not correctly supported yet, we send it as FEMALE for the usage of the machines.

Example request

{
  "firstName": "John",
  "lastName": "Wick",
  "contact": {
    "country": "DE"
  },
  "membership": {
    "corporateFitness": {
      "startTimestamp": "2021-03-08T18:26:47Z",
      "endTimestamp": "2021-03-08T18:26:47Z"
    }
  }
}

Response

Created

accountIdstring

The EGYM account ID for the Gym Member.

emailstring required

The Member email address. It should be unique within the gym chain.

firstNamestring required

The Member first name.

lastNamestring required

The Member last name.

dateOfBirthstring date

The Member date of birth. format: yyyy-MM-dd

gender'MALE' | 'FEMALE' | 'NON_BINARY' required

The Member gender. Please note that NON_BINARY is not correctly supported yet, we send it as FEMALE for the usage of the machines.

Example response

{
  "firstName": "John",
  "lastName": "Wick",
  "contact": {
    "country": "DE"
  },
  "membership": {
    "corporateFitness": {
      "startTimestamp": "2021-03-08T18:26:47Z",
      "endTimestamp": "2021-03-08T18:26:47Z"
    }
  }
}