---
title: "GET Two-factor authentication setup form/information"
method: GET
path: "/tf-setup"
---

# GET Two-factor authentication setup form/information

`GET /tf-setup`

## Response `200`

Setup form

- object
  - `tf_required` string — Config setting SECURITY_TWO_FACTOR_REQUIRED.
  - `tf_primary_method` string — Current (if any) setup method (deprecated).
  - `tf_method` string — Current (if any) setup method.
  - `tf_available_methods` string — Config setting SECURITY_TWO_FACTOR_ENABLED_METHODS. If SECURITY_TWO_FACTOR_REQUIRED is false then 'disable' will be part of the set.
  - `tf_phone_number` string — Currently configured (if any) phone number.

---

[API](https://skmtc.net/pallets-eco/apis/flask-security-external-api.md) · [All operations](https://skmtc.net/pallets-eco/apis/flask-security-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pallets-eco/flask-security-external-api/versions/5ee7c28d6e1e/schema)
