Member Account
List member accounts
Request all member accounts with paginated response. Result is always ordered by update timestamp (DESC). By default only accounts of the current gym are returned, otherwise set currentGymOnly to false.
get/api/v2/accounts
Request
- Base URLhttps://mms.api.ed.ts.egym.coffee
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
currentGymOnlyboolean
fromTimestampstring date-time
toTimestampstring date-time
offsetinteger
limitinteger
Response
Ok
Example response
{
"limit": 10,
"items": [
{
"firstName": "John",
"lastName": "Wick",
"contact": {
"country": "DE"
},
"membership": {
"corporateFitness": {
"startTimestamp": "2021-03-08T18:26:47Z",
"endTimestamp": "2021-03-08T18:26:47Z"
}
}
}
],
"total": 100,
"hasNext": true,
"nextAfterId": 12545
}Changes
No recorded changes to this operation across all 3 revisions of this API.