{"items":[{"type":"link","fsPath":"data-hub/index.md","metadata":{"type":"markdown"},"label":"Overview","link":"/data-hub","routeSlug":"/data-hub"},{"type":"group","label":"Data Hub","items":[{"type":"link","fsPath":"data-hub/authentication.md","metadata":{"type":"markdown"},"label":"Authentication","link":"/data-hub/authentication","routeSlug":"/data-hub/authentication"},{"type":"link","fsPath":"data-hub/synchronous-exports.md","metadata":{"type":"markdown"},"label":"Synchronous Exports","link":"/data-hub/synchronous-exports","routeSlug":"/data-hub/synchronous-exports"},{"type":"link","fsPath":"data-hub/async-exports.md","metadata":{"type":"markdown"},"label":"Asynchronous Exports","link":"/data-hub/async-exports","routeSlug":"/data-hub/async-exports"},{"type":"group","fsPath":"data-hub/api.json","link":"/data-hub/api","routeSlug":"/data-hub/api","label":"API Reference","items":[{"type":"group","label":"Synchronous exports","link":"/data-hub/api/synchronous-exports","routeSlug":"/data-hub/api/synchronous-exports","items":[{"label":"Export weekly analytics","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/data-hub/api/synchronous-exports/getanalyticsexport","routeSlug":"/data-hub/api/synchronous-exports/getanalyticsexport","metadata":{"seo":{"title":"Export weekly analytics","description":"Returns weekly analytics metrics for the gym location associated with the API key. The maximum date range is 365 days."}},"httpPath":"/api/v1/data/analytics"},{"label":"Export recent Smart Strength workouts","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/data-hub/api/synchronous-exports/getsmartstrengthworkoutsexport","routeSlug":"/data-hub/api/synchronous-exports/getsmartstrengthworkoutsexport","metadata":{"seo":{"title":"Export recent Smart Strength workouts","description":"Returns recent Smart Strength workout data for the gym location associated with the API key. The maximum date range is 30 days and startDate must be within the last month."}},"httpPath":"/api/v1/data/smart-strength-workouts"},{"label":"Export recent Smart Strength assessments","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/data-hub/api/synchronous-exports/getsmartstrengthassessmentsexport","routeSlug":"/data-hub/api/synchronous-exports/getsmartstrengthassessmentsexport","metadata":{"seo":{"title":"Export recent Smart Strength assessments","description":"Returns recent Smart Strength assessment data for the gym location associated with the API key. The maximum date range is 30 days and startDate must be within the last month."}},"httpPath":"/api/v1/data/smart-strength-assessments"},{"label":"Export recent flexibility measurements","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/data-hub/api/synchronous-exports/getflexibilitymeasurementsexport","routeSlug":"/data-hub/api/synchronous-exports/getflexibilitymeasurementsexport","metadata":{"seo":{"title":"Export recent flexibility measurements","description":"Returns recent flexibility measurement data for the gym location associated with the API key. The maximum date range is 30 days and startDate must be within the last month."}},"httpPath":"/api/v1/data/flexibility-measurements"},{"label":"Export recent body measurements","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/data-hub/api/synchronous-exports/getbodymeasurementsexport","routeSlug":"/data-hub/api/synchronous-exports/getbodymeasurementsexport","metadata":{"seo":{"title":"Export recent body measurements","description":"Returns recent body measurement data for the gym location associated with the API key. The maximum date range is 30 days and startDate must be within the last month."}},"httpPath":"/api/v1/data/body-measurements"},{"label":"Export opted-out users","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/data-hub/api/synchronous-exports/getoptedoutusersexport","routeSlug":"/data-hub/api/synchronous-exports/getoptedoutusersexport","metadata":{"seo":{"title":"Export opted-out users","description":"Returns members at the gym location who have opted out of health data and consumer-to-business (C2B) sharing. The response contains only externalAccountId and lastSeenAt; names and emails are omitted. Match this ID back to the externalAccountId you stored during your event exports to find and delete the member's previously exported data for GDPR and privacy compliance. The endpoint takes no query parameters and is not paginated; it returns all opted-out users for the gym location in a single response."}},"httpPath":"/api/v1/data/opted-out-users"}]},{"type":"group","label":"Asynchronous exports","link":"/data-hub/api/asynchronous-exports","routeSlug":"/data-hub/api/asynchronous-exports","items":[{"label":"Create async export job","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/data-hub/api/asynchronous-exports/createasyncexportjob","routeSlug":"/data-hub/api/asynchronous-exports/createasyncexportjob","metadata":{"seo":{"title":"Create async export job","description":"Creates a background export job for a file-based event data export. Async exports can go back up to one year. Requests cannot include event data older than one year, and each export job can cover at most 365 days."}},"httpPath":"/api/v1/data/async"},{"label":"Get async export job status","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/data-hub/api/asynchronous-exports/getasyncexportjobstatus","routeSlug":"/data-hub/api/asynchronous-exports/getasyncexportjobstatus","metadata":{"seo":{"title":"Get async export job status","description":"Returns the current status of an async export job. A downloadURL is returned only when the job status is DONE."}},"httpPath":"/api/v1/data/async/jobs/{jobId}"}]}],"metadata":{"type":"openapi","title":"Data Hub API","version":"Pilot","description":"APIs for exporting analytics, Smart Strength workouts, and measurement data for the authenticated gym location. Daily data exports should be fetched at or after 09:00 UTC once overnight processing completes. Callers must store externalAccountId returned in user event exports so that member records can be mapped and deleted when members appear in the opted-out-users endpoint. Data Hub is in pilot and available exclusively to EGYM Enterprise Pack customers; functionality and API contracts may change."}}]}]}