---
title: "Get2 F A Status"
method: GET
path: "/api/user/2fa/status"
tags: ["2FA"]
---

# Get2 F A Status

`GET /api/user/2fa/status`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/user/2fa/status`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Response `200`

OK

- ResponseDtoTwoFAStatusData: Response_dto.TwoFAStatusData schema
  - `data` TwoFAStatusData, required
    - `backup_codes_remaining` integer
    - `enabled` boolean, required
    - `locked` boolean, required
  - `message` string, required
  - `success` boolean, required

## Changes

- **2026-10-15** `6cb670e861f5`: 1 breaking, 2 warning, 8 info
  - the `data` response's property type changed from no type to `object` for status `200` (media type: application/json)
  - removed the optional property `object` from the response with the `200` status (media type: application/json)
  - removed the optional property `object` from the response with the `200` status (media type: application/xml)
  - added the optional property `data/backup_codes_remaining` to the response with the `200` status (media type: application/json)
  - …7 more

[Operation history](https://skmtc.dev/unorouter/apis/new-api/changes/api/user/2fa/status/get.md)

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
