verify a TOTP code, confirming enrollment and stepping the current session up to `aal = 2`. Used both to finish enrolling and to satisfy the sign-in challenge.
POST
End-user session operationId: mfa_verify/v1/dashboard/mfa/totp/verify Authorization
Called from the browser with the publishable application id (x-application-id); the access token lives in memory.
Request body · required
codestring required
Responses
200 Verified; session stepped up
{
"data": {},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
} 422 Invalid code
Request
curl -X POST "http://localhost:8080/v1/dashboard/mfa/totp/verify" \
-H "Content-Type: application/json" \
-d '{
"code": "string"
}'Try it
live requestPOST
http://localhost:8080/v1/dashboard/mfa/totp/verify