{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-data-hub/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition","cards","card"]},"type":"markdown"},"seo":{"title":"Data Hub","description":"Gateway to technical documentation for EGYM Platform.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"data-hub","__idx":0},"children":["Data Hub"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data Hub APIs let authorized partners retrieve EGYM data for external reporting, business intelligence, customer success, and member management workflows."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Availability"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enterprise Pack only:"]}," Data Hub is available exclusively to customers with the EGYM Enterprise Pack."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pilot mode:"]}," Data Hub is currently in pilot. Functionality and API contracts may change, and access is granted on a case-by-case basis. Contact your EGYM representative to participate."]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This section contains guides and the API reference for exporting analytics, workout, assessment, and measurement data for an EGYM gym location."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Data Hub is designed for server-to-server integrations that need to process EGYM data in external reporting, business intelligence, or customer success systems."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["The API supports two export modes:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Synchronous exports"]}," return paginated JSON directly in the API response. Use these endpoints for regular incremental syncs: weekly analytics can cover up to 365 days, while event data exports can go back only one month."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Asynchronous exports"]}," create a background job and return a download URL when the file is ready. Use async exports for historical event data and larger backfills. Async exports can go back up to one year, but not beyond that."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Before you start"},"children":[{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["All times are in UTC."]}," Request parameters such as ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["startDate"]}," and ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["endDate"]}," are interpreted as UTC calendar days, and timestamp fields in responses (for example, ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["eventTimestamp"]},") are returned in UTC using the ISO 8601 ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Z"]}," suffix."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Event exports require member opt-in."]}," Event exports (Smart Strength workouts, Smart Strength assessments, flexibility measurements, and body measurements) only include records for members who have opted in to health data and consumer-to-business (C2B) sharing, so exports may contain fewer rows than the total number of events at the gym. Weekly analytics metrics are aggregated and are not subject to this filter."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deleting data for opted-out members."]}," To find members who have opted out, so you can delete their previously exported data for GDPR compliance, use the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["GET /api/v1/data/opted-out-users"]}," endpoint."]}]}]},{"$$mdtype":"Tag","name":"Cards","attributes":{"columns":3,"cardMinWidth":240},"children":[{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Authentication","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"center","variant":"elevated","to":"/data-hub/authentication"},"children":[]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Synchronous exports","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"center","variant":"elevated","to":"/data-hub/synchronous-exports"},"children":[]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"Asynchronous exports","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"center","variant":"elevated","to":"/data-hub/async-exports"},"children":[]},{"$$mdtype":"Tag","name":"Card","attributes":{"title":"API Reference","imagePosition":"start","iconPosition":"auto","layout":"vertical","align":"center","variant":"elevated","to":"/data-hub/api"},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"available-data","__idx":1},"children":["Available data"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Data set"},"children":["Data set"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Export type"},"children":["Export type"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Recommended mode"},"children":["Recommended mode"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Weekly analytics metrics"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Not applicable"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Synchronous"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Smart Strength workouts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SMART_STRENGTH_WORKOUTS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Synchronous for recent data, asynchronous for historical data"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Smart Strength assessments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["SMART_STRENGTH_ASSESSMENTS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Synchronous for recent data, asynchronous for historical data"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Flexibility measurements"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["FLEXIBILITY_MEASUREMENTS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Synchronous for recent data, asynchronous for historical data"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Body measurements"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["BODY_MEASUREMENTS"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Synchronous for recent data, asynchronous for historical data"]}]}]}]}]}]},"headings":[{"value":"Data Hub","id":"data-hub","depth":1},{"value":"Available data","id":"available-data","depth":2}],"frontmatter":{"seo":{"title":"Data Hub"}},"lastModified":"2026-06-29T20:05:47.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/data-hub","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}