Twin Labs Marketplace API Integration Overview
Problem
This article provides information required for integrating Twin Labs with the Gladstone Marketplace API. The integration queries member demographic and attendance data to support equipment usage correlation within the Twin Labs digital twin platform.
Resolution
Integration Description
- The integration queries the Gladstone API for age, gender, and postcode information.
- Data is used to match gym attendance with equipment usage information in the Twin Labs platform.
- Data is fetched once per hour and stored in the Twin Labs time-series database.
- When data is viewed in the Twin Labs UI, it is retrieved from stored data (no further API call to Gladstone is triggered).
API Type
- Integration uses a REST API (single API).
Endpoints Called
https://CustomerName.gladstonesoftware.cloud/api/membershttps://CustomerName.gladstonesoftware.cloud/api/participation
Test Calls and Responses
- Test calls were completed using the Gladstone sandbox environment.
- Testing was performed using a customer tenant.
- Example formatted response:
{ "transactions_by_id": { "3010739_2025-01-15T09:06:47": { "date_of_birth": "1960-02-26T00:00:00", "gender_id": 1, "price_level_id": "SENIOR", "timestamp": "2025-01-15T09:06:47Z" }, ... }, "count": 29, "entryPointId": "13RecTurn" }
IP Addresses Used
- 20.77.65.109
- 20.68.222.141
Data Security and Supply Chain
- Number of employees: 9
- Annual turnover: £1.5M
- Security frameworks (may include): ISO27001, Cyber Essentials, PCI-DSS, penetration testing, data protection registration, and documented information security policies.
- Integration approved by Gladstone.
Notes
- When users access data in the Twin Labs UI, no additional API calls are made to Gladstone; data is served from Twin Labs' internal storage.
- Security and compliance frameworks listed above may apply, depending on Twin Labs' policies.
- All information is based on approval dated 20/02/2025.