Herald
OpenapiUser

Get TOTP configuration status for the current user

Returns the TOTP status including whether it is enabled, when it was enabled, and backup code usage statistics.

GET
/api/user/totp/status

Returns the TOTP status including whether it is enabled, when it was enabled, and backup code usage statistics.

Authorization

bearer_auth
headerAuthorizationBearer <token>

Response Body

TOTP status retrieved

application/json
  1. response
backupCodes*
enabled*boolean
enabledAt?string|null
lastVerifiedAt?string|null
Example Request
curl -X GET 'https://example.com/api/user/totp/status'
Example Response
{
  "backupCodes": {
    "remaining": 0,
    "total": 0,
    "used": 0
  },
  "enabled": true,
  "enabledAt": "string",
  "lastVerifiedAt": "string"
}