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.

Org Management API is available for the Scale plan.

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

The endpoint accepts only Org Key (X-Vital-Org-Key). Team API Key is not applicable.

Authorizations

X-Vital-Org-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
data_pull_preferences
object[]
required
next_cursor
string | null