Verify TOTP MFA code
Verify a TOTP code using the user's existing TOTP MFA factor. This endpoint is used to authenticate the user with their configured TOTP device.
POST
/api/my-account/mfa-verifications/totp/verify
curl \
--request POST 'https://[tenant_id].logto.app/api/my-account/mfa-verifications/totp/verify' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"code":"string"}'
Request examples
{
"code": "string"
}