Request access
Glofox's API is based on REST protocol. Our API enables external applications to access, create and edit users, memberships, credits, classes, bookings & payments. Each endpoint returns JSON responses.
These headers must be included in every API call:
- x-glofox-branch-id
- x-api-key
- x-glofox-api-token
How to request API access
To request API access credentials (x-api-key and x-glofox-api-token) fill in and email the template below to apiactivation@abcfitness.com.
Subject: API Access Request
Business / Studio name:
Contact name & email:
Intended use case & data flows (brief):
Branch ID(s) / Namespace (if known):
Expected daily request volume (avg / peak):
Environments required (Production / Staging + Production):
Target start date:
How to request webhook setup
To configure webhooks, fill in and send the template below to apiactivation@abcfitness.com.
Subject: Webhooks Setup Request
Business / Studio name:
Contact name & email:
Branch ID(s) / Namespace (if known):
Environments required (Production / Staging + Production):
Target start date:
Webhook event domains and their callback URLs. Example:
BOOKINGS: https://mydomain.com/webhooks/bookings;
MEMBERSHIPS: https://mydomain.com/webhooks/memberships
Webhook URLs can be configured by event domain (BOOKINGS, MEMBERSHIPS, ACCESS, ...) or a single URL for all events. To ensure the authenticity of the webhooks, each payload header includes a signature HTTP header that signs the payload.
Important Notes
The API key & token are only meant for backend integrations, not for browsers. If you need to make use of this API key, the requests must be proxied through a backend, which in turn makes the authenticated call to our API Gateway, thus keeping the key & token private.
Regarding timestamps, most of the API is in UTC timezone. If the field is specified to be in "local" timezone, that's the timezone of the current location (branch) time.
Note
To properly calculate the actual price of purchasing a resource (with discounts and taxes included), you should pass the relevant info to the /2.2/branches/{branchId}/price-breakdown endpoint.
Contacts
Direct your questions to the appropriate email addresses:
- For API access/credentials and webhook enablement: apiactivation@abcfitness.com.
- For technical questions, troubleshooting, and API behavior issues: glofox.apisupport@abcfitness.com.