Get user's MFA verifications

GET /api/users/{userId}/mfa-verifications

Get a user's existing MFA verifications for a given user ID.

Path parameters

  • userId string Required

    The unique identifier of the user.

Responses

GET /api/users/{userId}/mfa-verifications
curl \
 -X GET https://[tenant_id].logto.app/api/users/{userId}/mfa-verifications \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "id": "string",
    "createdAt": "string",
    "type": "Totp",
    "agent": "string",
    "remainCodes": 42.0
  }
]