cURL
curl --request POST \ --url https://api.quiva.ai/accounts/confirm-totp-registration \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "code": "123456", "secret": "JBSWY3DPEHPK3PXP" } '
{ "data": { "recovery_codes": [ "<string>" ] } }
Confirms a TOTP registration by validating a code
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
TOTP code
TOTP secret key
TOTP registration confirmed successfully
Show child attributes