Appointment, bookable appointment and slots operations
PerfectGym Next API (1.29.0)
- Appointment, bookable appointment and slots operations
- Redeem checkin vouchers
- Class and slots operations
- Cross studio operations
- Get customers and contracts
- Retrieve customer accounting details
- Retrieve customer communication details
- Retrieve customer transaction details
- Get device information
- Employee operations
- Debt collection operations
- Leads operations
- Get member lists
- Manage membership contracts
- Membership operations
- Online offer operations
- Payment operations
- Get studio information
- Get trial offers information
https://open-api-demo.open-api.perfectgym.com/
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/studios/utilization
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/studios/utilization
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://open-api-demo.open-api.perfectgym.com/v1/studios/utilization \
-H 'X-API-KEY: YOUR_API_KEY_HERE'{ "capacity": 100, "count": 10 }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/studios/information
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/studios/information
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://open-api-demo.open-api.perfectgym.com/v1/studios/information \
-H 'X-API-KEY: YOUR_API_KEY_HERE'OK
Studio opening hours categories with time restrictions
IANA time zone the studio operates in. Everything the studio calls "today" or "10:00" is in this zone, which is not necessarily the caller's
Additional address information of the studio's address
Studio access code configurations
{ "name": "Example studio", "description": "Example studio description", "country": "Germany", "countryCode": "DE", "studioId": 123, "openingDate": "2025-06-11", "closingDate": "2029-01-01", "email": "operator@example.com", "logoUrl": "https://example.com", "telephone": "0831/6901234-10", "website": "https://example.com", "openingHours": [ { … } ], "publicOpeningHours": [ { … } ], "closingHours": [ { … } ], "openingHoursCategories": [ { … } ], "timeZone": "Europe/Berlin", "street": "Kastanienallee", "houseNumber": "83", "zip": "84439", "city": "Berlin", "secondStreet": "Second Street", "cityPart": "Tegel", "district": "District 12", "streetType": "Avenue", "streetBlock": "5th block", "portal": "Portal 1", "stairway": "Right stairway", "door": "Door 1", "province": "Champagne", "provinceCode": "PC", "additionalAddressInformation": "Additional information", "floor": "2nd floor", "buildingName": "Empire State Building", "accessCodeConfiguration": { "enabled": true }, "location": { "longitude": 9.993682, "latitude": 53.551086 }, "studioTags": [ { … } ] }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/studios/tags
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/studios/tags
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://open-api-demo.open-api.perfectgym.com/v1/studios/tags \
-H 'X-API-KEY: YOUR_API_KEY_HERE'[ { "name": "tag123" } ]
Request
Required Scopes: CUSTOMER_ACCOUNT_READ
Returns how the studio has configured the Fast Finance Link, so a caller can tell whether a payment link can be offered to a member before trying to generate one. Generating a link for a studio whose flow is NONE is refused, and a studio without a send-out template can generate a link but not send it.
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/studios/fast-finance-link-configuration
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/studios/fast-finance-link-configuration
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://open-api-demo.open-api.perfectgym.com/v1/studios/fast-finance-link-configuration \
-H 'X-API-KEY: YOUR_API_KEY_HERE'OK
Whether the payment step is available: the configured flow contains payment and the studio has an active online payment contract. False for PAYMENT_METHOD_ONLY. This is not a per-member preflight for link generation
Which steps the link presents and in which order
| Enum Value | Description |
|---|---|
| PAYMENT_ONLY | Payment of open debt claims |
| PAYMENT_METHOD_THEN_PAYMENT | Payment method update, followed by payment of open debt claims |
| PAYMENT_THEN_PAYMENT_METHOD | Payment of open debt claims, followed by a payment method update |
| NONE | No steps, generating a link is refused |
| PAYMENT_METHOD_ONLY | Payment method update |
Payment methods the link may offer
| Items Enum Value | Description |
|---|---|
| TWINT | Payment by Twint |
| SEPA | Payment by SEPA direct debit |
| ACH | Payment by ACH direct debit |
| CH_DD | Payment by CH_DD direct debit |
| CASH | Payment by cash |
| BECS | Payment by BECS direct debit |
| CREDIT_CARD | Payment by credit card |
| LSV | Payment by LSV direct debit |
| BACS | Payment by BACS direct debit |
| IDEAL | Payment by ideal |
When the member is offered a payment method update
| Enum Value | Description |
|---|---|
| ONLY_WHEN_INVALID | The member is offered a payment method update only when the current payment method is invalid |
| ALWAYS | The member is always offered a payment method update |
Whether a SEPA mandate taken through the link needs a signature
Whether the studio has an email template configured for sending the link by hand. Without one the link can be generated but not sent through PerfectGym Next
{ "paymentFlowActive": true, "flowType": "PAYMENT_ONLY", "allowedPaymentMethods": [ "SEPA" ], "paymentMethodUpdateType": "ONLY_WHEN_INVALID", "sepaRequiresSignature": true, "manualSendoutTemplateConfigured": true, "resetsEntranceRestrictions": false }
- Demo tenant
https://open-api-demo.open-api.perfectgym.com/v1/studios/confirmActivation
- Mock server
https://redocly.sportalliance.com/_mock/apis/perfectgym/openapi/openapi/v1/studios/confirmActivation
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://open-api-demo.open-api.perfectgym.com/v1/studios/confirmActivation \
-H 'X-API-KEY: YOUR_API_KEY_HERE'