1. Link
  2. Generate a link token
POST

/v2/link/token

x-vital-api-key*

Body

user_keyRequired
string

User id returned by vital create user request. This id should be stored in your database against the user and used for all interactions with the vital api.

provider
string

An enumeration.

Available options: oura, fitbit, garmin, whoop, strava, renpho, peloton, wahoo, zwift, freestyle_libre, freestyle_libre_ble, eight_sleep, withings, apple_health_kit, manual, ihealth, google_fit, beurer_api, beurer_ble, omron_ble, accuchek_ble, contour_ble, dexcom, hammerhead, my_fitness_pal, health_connect
redirect_url
string

Redirect Url

filter_on_providers
string[]

Response

link_tokenRequired
string

Link token to use to launch link widget