AUTH: Submit Initial 2FA Code

To "link" the 2FA Code to the Account, a first code needs to be submitted to the system to verify that the 2FA Mechanism has generated a valid token on the client's Authenticator Software app. On success, 2FA will be enabled for the account.

AUTH: Submit first 2FA Code

post

To "link" the 2FA Code to the Account, a first code needs to be submitted to the system to verify that the 2FA Mechanism has generated a valid token on the client's Authenticator Software app. On success, 2FA will be enabled for the account.

Authorizations
Body
objectOptionalExample: {"first_2fa_code":"123456"}
Responses
200

OK

application/json
Responseobject
post
/auth/submitfirst2facode
POST /api/v1/auth/submitfirst2facode HTTP/1.1
Host: api.hybrid-chain.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 27

{
  "first_2fa_code": "123456"
}
200

OK

{
  "message": "2FA has been enabled.",
  "success": true
}

Last updated

Was this helpful?