Read a customer's two-factor state
GEThttps://api.evora.lol/api/developer-api/users/{userId}/2fa
Requires scopeusers:read
Whether the customer has enrolled a second factor, when they did, how many single-use backup codes they have left, and whether their second factor is currently locked out after repeated wrong codes.
Never returns the shared secret or the backup codes themselves — the codes are stored hashed and the secret is not retrievable after enrolment.
Path parameters
| userIdrequired string (uuid) | End-user UUID. |
Responses
200Two-factor state.
json
{ "enabled": true, "enrolled_at": "2026-08-21T14:20:55.243Z", "backup_codes_remaining": 8, "locked_until": null }
404User not found, or not yours.
json
{ "error": "User not found" }
More in Users
- getLook up a customer by username
- getList customers
- postCreate a customer
- getGet a customer
- putUpdate a customer
- deleteDelete a customer
- postMint a password-reset token
- postConsume a reset token and set the new password
- postBan a customer
- postUnban a customer
- postReset a customer's HWID
- deleteReset a customer's two-factor authentication
- postReset a customer's device binding
- postMint a one-time SDK login token (panel SSO)
- postRedeem a license key on a customer's behalf
- postBulk customer actions
Base URL https://api.evora.lol/api/developer-api · full spec at developer-api.yaml · back to the docs