GET
/
v1
/
org
/
{org_id}
/
team_data_pull_preferences
/
{env}
/
{region}
curl --request GET \
  --url https://api.tryvital.io/management/v1/org/{org_id}/team_data_pull_preferences/{env}/{region} \
  --header 'X-Vital-Org-Key: <api-key>'
{
  "data_pull_preferences": [
    {
      "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "providers": {}
    }
  ],
  "next_cursor": "<string>"
}
curl --request GET \
  --url https://api.tryvital.io/management/v1/org/{org_id}/team_data_pull_preferences/{env}/{region} \
  --header 'X-Vital-Org-Key: <api-key>'

The endpoint will return the default vital settings if no custom preferences are set.

The base URL of this endpoint is https://api.tryvital.io/management/.

The endpoint accepts only Management Key (X-Management-Key). Team API Key is not accepted.

Authorizations

X-Management-Key
string
header
required

Path Parameters

org_id
string
required
env
enum<string>
required
Available options:
production,
sandbox
region
enum<string>
required
Available options:
us,
eu

Query Parameters

team_id
string[]
provider
enum<string>[]
Available options:
oura,
fitbit,
garmin,
strava,
withings,
peloton,
wahoo,
zwift,
freestyle_libre,
abbott_libreview,
eight_sleep,
renpho,
omron,
dexcom_v3,
hammerhead,
polar,
cronometer,
kardia,
whoop_v2,
my_fitness_pal_v2,
map_my_fitness,
apple_health_kit,
google_fit,
beurer_api,
ultrahuman
next_cursor
string | null
limit
integer
default:5

Response

200
application/json
Successful Response

The response is of type object.