---
title: "List the second factors of the calling user"
method: GET
path: "/api/v1/account/2fa"
tags: ["Account"]
---

# List the second factors of the calling user

`GET /api/v1/account/2fa`

## Request

- Base URL: `https://pcp.example.com`
- URL: `https://pcp.example.com/api/v1/account/2fa`
- Auth: HTTP bearer

## Response `200`

OK

- TwoFactorListResponse: TwoFactorListResponse schema
  - `methods` object[]
    - `confirmed_at` string, date-time
    - `id` string, uuid
    - `label` string
    - `last_used_at` string, date-time, nullable
    - `required_at_enrollment` boolean
    - `type` string
  - `mfa_required` boolean

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `401`: Missing, invalid or expired credentials
- `403`: The caller may not do this
- `500`: Internal Server Error _(panics)_
- `default`

---

[API](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1.md) - [All operations](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/revisions/2ac049494a01?raw)
