---
title: "Submit 2FA code"
method: POST
path: "/authentication/submitTwoFactorAuthCode"
tags: ["Authentication"]
---

# Submit 2FA code

`POST /authentication/submitTwoFactorAuthCode`

Verifies a two-factor authentication code for an ongoing authentication session

## Request body

- union
  - object
    - `code` string, required — Two-factor authentication code
  - object
    - `content` string, required — Content of the 2FA code

## Response `201`

2FA code verification result

- object
  - `success` boolean, required — Whether the 2FA code was accepted
  - `message` string, required — Status message
  - `data` unknown

## Other responses

- `400` — Invalid input
- `401` — Unauthorized
- `500` — Server error

---

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