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"
}
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"
}
'

Headers

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
Successful Response
state
enum<string>
required
Available options:
success,
error,
pending_provider_mfa
provider
enum<string>
required
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
redirect_url
string | null
error_type
string | null
error
string | null
provider_mfa
object | null