---
title: "Returns whether two-factor authentication is enabled for the caller."
method: GET
path: "/api/users/me/2fa"
tags: ["account"]
---

# Returns whether two-factor authentication is enabled for the caller.

`GET /api/users/me/2fa`

## Request

- Base URL: `https://api.pricklymails.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pricklymails.com/api/users/me/2fa`
- Auth: HTTP bearer

## Response `200`

Whether 2FA is enabled for the caller.

- TwoFactorStatusResponse: Response body for `GET /api/users/me/2fa`.
  - `enabled` boolean, required: Whether 2FA is enabled for the caller.

## Other responses

- `401`: Missing or invalid JWT.

---

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