Bulk Import
If you are planning to migrate connections, please chat with us through support channels. Link Migration endpoints are disabled by default.
Import existing provider connections to your Bring Your Own OAuth application credentials.
Before migrating any connection through this endpoint, you must first configure your BYOO app credential for the data provider on your Vital Team.
Note that these connections cannot be migrated:
-
Any connection that is bound to an OAuth application credential not in your possession
-
Any connection that is not bound to the OAuth application credential set on your Vital Team.
Asynchronous execution
The Bulk Import endpoint enqueues all connections you submitted to a persistent background operation. It then responds 202 Created immediately afterwards.
You can inspect the status of the resulting background operation through the List Bulk Ops endpoint.
Optionally, you may opt into the wait_for_completion
mode, which would respond 200 OK only if the operation does complete within 20 seconds.
Otherwise, the endpoint responds 202 Created.
You can submit any number of — or even all — connections through the Bulk Import API within a short period of time. Enqueuing is fast and does not disrupt the progress of the background operation.
Authorizations
Vital Team API Key
Body
ℹ️ This enum is non-exhaustive.
oura
, fitbit
, garmin
, strava
, wahoo
, ihealth
, withings
, google_fit
, dexcom_v3
, polar
, cronometer
, omron
, whoop_v2
, my_fitness_pal_v2
, ultrahuman
Whether or not the endpoint should wait for the Bulk Op to complete before responding.
When wait_for_completion
is enabled, the endpoint may respond 200 OK if the Bulk Op takes less than 20 seconds to complete.
Otherwise, the endpoint always responds with 202 Created once the submitted data have been enqueued successfully. You can use the List Bulk Ops endpoint to inspect the progress of the Bulk Op.