POST
/
v2
/
link
/
provider
/
password
/
{provider}
/
complete_mfa
curl --request POST \
     --url {{BASE_URL}}/v2/link/provider/password/{provider}/complete_mfa \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'x-vital-link-token: <VITAL-LINK-TOKEN>' \
     --data '
{
     "mfa_code": "012345"
}
'
{
  "state": "success",
  "redirect_url": null,
  "error_type": null,
  "error": null
}
curl --request POST \
     --url {{BASE_URL}}/v2/link/provider/password/{provider}/complete_mfa \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --header 'x-vital-link-token: <VITAL-LINK-TOKEN>' \
     --data '
{
     "mfa_code": "012345"
}
'
{
  "state": "success",
  "redirect_url": null,
  "error_type": null,
  "error": null
}

Headers

x-vital-link-token
string

Path Parameters

provider
enum<string>
required
Available options:
whoop,
renpho,
peloton,
zwift,
eight_sleep,
beurer_api,
dexcom,
hammerhead,
my_fitness_pal,
kardia,
abbott_libreview

Body

application/json
mfa_code
string
required

Response

200 - application/json
state
enum<string>
required
Available options:
success,
error,
pending_provider_mfa
redirect_url
string | null
error_type
string | null
error
string | null
provider_mfa
object | null
provider
enum<string>
requireddeprecated
Available options:
whoop,
renpho,
peloton,
zwift,
eight_sleep,
beurer_api,
dexcom,
hammerhead,
my_fitness_pal,
kardia,
abbott_libreview
connected
boolean
requireddeprecated
provider_id
string | null
requireddeprecated