---
title: "Get the current user's MFA Methods"
method: GET
path: "/sdk/{environmentId}/users/mfa/methods"
tags: ["SDK"]
---

# Get the current user's MFA Methods

`GET /sdk/{environmentId}/users/mfa/methods`

## Path parameters

- `environmentId` string, required

## Query parameters

- `verifiedOnly` boolean

## Response `200`

successful operation

- MFAMethodsResponse
  - `devices` MFADevice[], required
    - `type` 'totp' | 'passkey' | 'email'
    - `verified` boolean — Whether or not the user has a verified this MFA Device
    - `id` string
    - `createdAt` string, date-time — The date and time the MFA device was created
    - `verifiedAt` string, date-time, nullable — The date and time the MFA device was verified
    - `default` boolean — Whether or not this is the default MFA device for the user
    - `alias` string — The optional alias for the MFA device
  - `passkeys` UserPasskey[], required
    - `id` string, required
    - `alias` string
    - `userAgent` string
    - `origin` string
    - `credentialId` string, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time
    - `storage` PasskeyStorage
      - `name` string, required
      - `icon` string, required
      - `updatedAt` string, date-time
  - `userHasVerifiedMfaMethods` boolean, required — Whether or not the user has any verified MFA methods

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/versions/aac826315d90/schema)
