GET
/
v1
/
org
/
{org_id}
/
team_custom_credentials
/
{env}
/
{region}
curl --request GET \
  --url https://api.tryvital.io/management/v1/org/{org_id}/team_custom_credentials/{env}/{region} \
  --header 'X-Vital-Org-Key: <api-key>'
{
  "credentials": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "client_id": "<string>",
      "client_secret_hash": "<string>",
      "source": "oura",
      "team_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "details": {
        "fitbit": {
          "is_hr_enabled": true,
          "workout_verify_token": "<string>",
          "sleep_verify_token": "<string>",
          "body_verify_token": "<string>"
        }
      },
      "app_url": "<string>"
    }
  ],
  "next_cursor": "<string>"
}

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

Query Parameters

team_id
string[]
provider

An enumeration.

Available options:
oura,
fitbit,
garmin,
strava,
wahoo,
ihealth,
withings,
google_fit,
dexcom_v3,
polar,
cronometer,
omron,
whoop_v2
next_cursor
string

Response

200 - application/json
credentials
object[]
required
next_cursor
string