---
title: "Totp setting for the current user"
method: GET
path: "/user/settings/totp"
tags: ["user"]
---

# Totp setting for the current user

`GET /user/settings/totp`

Returns the current user totp setting or an error if it is not enabled.

## Response `200`

The totp settings.

- UserTOTP
  - `enabled` boolean — The totp entry will only be enabled after the user verified they have a working totp setup.
  - `secret` string
  - `url` string — The totp url used to be able to enroll the user later

## Other responses

- `500` — Internal server error.

---

[API](https://skmtc.net/go-vikunja/apis/vikunja-api.md) · [All operations](https://skmtc.net/go-vikunja/apis/vikunja-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/go-vikunja/vikunja-api/revisions/feb3f68bbdf1/schema)
