POST
/
v1
/
org
/
{org_id}
/
team_custom_credentials
/
{env}
/
{region}

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.

OAuth Providers

Bring Your Own OAuth (BYOO) is available for the Grow and Scale plans. Whoop BYOO is available for the Launch, Grow and Scale plans.

While most credentials are active immediately once set through this endpoint, some credentials may not. Check out the Bring Your Own OAuth documentation for more information.

Authorizations

X-Vital-Org-Key
string
headerrequired

Path Parameters

org_id
string
required
env
enum<string>
required

An enumeration.

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

Body

application/json
team_id
string
required
provider
required

An enumeration.

Available options:
oura,
fitbit,
garmin,
strava,
wahoo,
ihealth,
withings,
google_fit,
dexcom_v3,
polar,
cronometer,
omron,
whoop_v2,
my_fitness_pal_v2,
ultrahuman
client_id
string
client_secret
string
details
object
redirect_url_override
string

Response

200 - application/json
id
string
required
source
required

An enumeration.

Available options:
oura,
fitbit,
garmin,
strava,
wahoo,
ihealth,
withings,
google_fit,
dexcom_v3,
polar,
cronometer,
omron,
whoop_v2,
my_fitness_pal_v2,
ultrahuman
team_id
string
required
created_at
string
required
updated_at
string
required
client_id
string
client_secret_hash
string
details
object
app_url
string
redirect_url_override
string