---
title: "Fetch 2FA backup codes"
method: POST
path: "/user/2fa/backup_codes"
tags: ["Users"]
---

# Fetch 2FA backup codes

`POST /user/2fa/backup_codes`

Organization users will be able to access this endpoint only if their organization has sso flow disabled.

Requires additional `Basic` authorization. Check [Authentication section](#section/Setup/Authentication) for the details.

## Response `200`

OK

- object
  - `backup_codes` string[] — The backup codes for 2fa authentication.

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/kisi/apis/kisi-api.md) · [All operations](https://skmtc.dev/kisi/apis/kisi-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kisi/kisi-api/revisions/998700ffff5a/schema)
