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

  • 200 application/json

    An array of MFA verifications for the user.

    Hide response attributes Show response attributes object
  • 400

    Bad Request

  • 401

    Unauthorized

  • 403

    Forbidden

  • 404

    Not Found

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