---
title: "Setup 2Fa"
method: GET
path: "/api/auth/2fa/setup"
---

# Setup 2Fa

`GET /api/auth/2fa/setup`

## Request

- Base URL: `https://api.mednode.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mednode.in/api/auth/2fa/setup`
- Auth: HTTP bearer

## Response `200`

Successful Response

- MFASetupResponse
  - `secret` string, required
  - `otpauth_url` string, required

---

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