Link
Link Demo provider
POST

/v2/link/connect/demo

x-vital-api-key*
curl --request POST \
  --url https://api.tryvital.io/v2/link/connect/demo \
  --header 'x-vital-api-key: <x-vital-api-key>' \
  --data '{
  "user_id": "<user_id>",
  "provider": "<provider>"
}'
curl --request POST \
     --url {{BASE_URL}}/v2/link/connect/demo \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'x-vital-link-token: <VITAL-LINK-TOKEN>' \
     --data '
{
    "user_id": "1875c190-0cd6-46c1-8670-5b56a7794b78"
    "provider": "fitbit"
}
'
{
  "success": true,
  "redirect_url": null
}

Body

user_idrequired
string

Vital user ID

providerrequired
string

Demo provider. For more information, please check out our docs (https://docs.tryvital.io/wearables/providers/test_data)

Response

successrequired
boolean

Success

detailrequired
string

Detail