Request access
Glofox's API uses the REST protocol. The API enables external applications to access, create, and edit users, memberships, credits, classes, bookings & payments. Each endpoint returns JSON responses.
Include these headers 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
You can configure webhook URLs by event domain (BOOKINGS, MEMBERSHIPS, ACCESS, ...) or use 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
-
Use the API key and token only for backend integrations, not in browsers. If you need to use this API key, proxy requests through your backend so it makes the authenticated call to the API Gateway and keeps the key and token private.
-
Regarding timestamps, most of the API uses UTC. When a field uses the "local" timezone, it refers to the current location (
branch) time. -
When requesting API access, if you need a Zapier token, request both the API token and the Zapier token, since they are different and we need to provide both.
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.