POST
/
v1
/
org
/
{org_id}
/
team
/
{team_id}
/
scope_requirements
curl --request POST \
  --url https://api.tryvital.io/management/v1/org/{org_id}/team/{team_id}/scope_requirements \
  --header 'Content-Type: application/json' \
  --header 'X-Vital-Org-Key: <api-key>' \
  --data '{
   "fitbit": null,
   "oura": {
        "user_must_grant": ["daily"],
        "user_may_grant": ["workout"]
   }
}'
"<any>"

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.

curl --request POST \
  --url https://api.tryvital.io/management/v1/org/{org_id}/team/{team_id}/scope_requirements \
  --header 'Content-Type: application/json' \
  --header 'X-Vital-Org-Key: <api-key>' \
  --data '{
   "fitbit": null,
   "oura": {
        "user_must_grant": ["daily"],
        "user_may_grant": ["workout"]
   }
}'

Authorizations

X-Vital-Org-Key
string
header
required

Path Parameters

org_id
string
required
team_id
string
required

Body

application/json
fitbit
object | null
google_fit
object | null
oura
object | null
strava
object | null
withings
object | null
wahoo
object | null
whoop_v2
object | null
my_fitness_pal_v2
object | null

Response

200
application/json
Successful Response

The response is of type any.