---
title: "Second-factor status"
method: GET
path: "/v1/auth/2fa/status"
tags: ["Auth"]
---

# Second-factor status

`GET /v1/auth/2fa/status`

## Request

- Base URL: `https://api.briefgate.dev`
- URL: `https://api.briefgate.dev/v1/auth/2fa/status`
- Auth: HTTP bearer

## Response `200`

Status

- object
  - `available` boolean: False when the vault keys are unset.
  - `enabled` boolean
  - `enabled_at` string, date-time, nullable
  - `recovery_codes_remaining` integer

## Other responses

- `401`: Missing or invalid API key

---

[API](https://skmtc.dev/briefgate/apis/briefgate-api.md) · [All operations](https://skmtc.dev/briefgate/apis/briefgate-api/llms.txt) · [OpenAPI document](https://skmtc.dev/briefgate/apis/briefgate-api/revisions/b21afed4748b?raw)
