Trigger a historical sync of the user’s data from a connected provider.
Historical sync is not automatically triggered when a provider is connected - it must be explicitly requested via this endpoint. (Changed in v0.4.2.)
The access token received from the authorization server in the OAuth 2.0 flow.
Data provider
apple, samsung, google, garmin, polar, suunto, whoop, strava, oura, fitbit, ultrahuman, unknown, internal Days of historical data to fetch (default: 90, max: 365). Ignored for Garmin (uses its own 30-day limit).
1 <= x <= 365Successful Response
The response is of type Response Sync Historical Data Api V1 Providers Provider Users User Id Sync Historical Post · object.