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
header
required

Path Parameters

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

Body

application/json
provider
required
Available options:
oura,
fitbit,
garmin,
whoop,
strava,
renpho,
peloton,
wahoo,
zwift,
freestyle_libre,
abbott_libreview,
freestyle_libre_ble,
eight_sleep,
withings,
apple_health_kit,
manual,
ihealth,
google_fit,
beurer_api,
beurer_ble,
omron,
omron_ble,
onetouch_ble,
accuchek_ble,
contour_ble,
dexcom,
dexcom_v3,
hammerhead,
my_fitness_pal,
health_connect,
polar,
cronometer,
kardia,
whoop_v2,
ultrahuman,
my_fitness_pal_v2,
map_my_fitness
team_id
string
required
client_id
string | null
client_secret
string | null
details
object | null
redirect_url_override
string | null

Response

200 - application/json
created_at
string
required
id
string
required
source
required
Available options:
oura,
fitbit,
garmin,
whoop,
strava,
renpho,
peloton,
wahoo,
zwift,
freestyle_libre,
abbott_libreview,
freestyle_libre_ble,
eight_sleep,
withings,
apple_health_kit,
manual,
ihealth,
google_fit,
beurer_api,
beurer_ble,
omron,
omron_ble,
onetouch_ble,
accuchek_ble,
contour_ble,
dexcom,
dexcom_v3,
hammerhead,
my_fitness_pal,
health_connect,
polar,
cronometer,
kardia,
whoop_v2,
ultrahuman,
my_fitness_pal_v2,
map_my_fitness
team_id
string
required
updated_at
string
required
app_url
string | null
client_id
string | null
client_secret_hash
string | null
details
object | null
redirect_url_override
string | null