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

  1. 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).
  2. API Type

    • Integration uses a REST API (single API).
  3. Endpoints Called

    • https://CustomerName.gladstonesoftware.cloud/api/members
    • https://CustomerName.gladstonesoftware.cloud/api/participation
  4. 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"
      }
  5. IP Addresses Used

    • 20.77.65.109
    • 20.68.222.141
  6. 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

This page as markdown · All pages · llms.txt