Link
Link Password provider
POST

/v2/link/provider/password/{provider}

x-vital-api-key*
curl --request POST \
  --url https://api.tryvital.io/v2/link/provider/password/{provider} \
  --header 'x-vital-api-key: <x-vital-api-key>' \
  --data '{
  "password": "<password>",
  "username": "<username>"
}'
curl --request POST \
     --url {{BASE_URL}}/v2/link/provider/password/{provider} \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'x-vital-link-token: <VITAL-LINK-TOKEN>' \
     --data '
{
     "username": "test",
     "password": "test"
}
'
{
  "provider": "zwift",
  "connected": true,
  "provider_id": "<provider_id>"
}
x-vital-link-client-region
string

X-Vital-Link-Client-Region

Path Parameters

providerrequired

Providers that require password auth, whoop, renpho, peloton, zwift

Body

passwordrequired
string

Password for provider

usernamerequired
string

Username for provider

Response

connectedrequired
boolean

Connected

providerrequired
string

An enumeration.

Available options:
whoop,
renpho,
peloton,
zwift,
eight_sleep,
beurer_api,
dexcom,
hammerhead,
my_fitness_pal
provider_id
string

Provider Id