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

# Get the current user's MFA by device id

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

## Path parameters

- `environmentId` string, required
- `mfaDeviceId` string, required

## Response `200`

successful operation

- MFADevice
  - `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

## Other responses

- `401` — Unauthorized
- `404` — Not Found
- `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)
