---
title: "Totp Verification"
method: POST
path: "/v1/auth/totp-verification"
tags: ["auth"]
---

# Totp Verification

`POST /v1/auth/totp-verification`

## Request

- Base URL: `https://api.ender.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ender.au/v1/auth/totp-verification`
- Auth: HTTP bearer

## Request body

- TotpVerificationCommand
  - `factor_id` string, uuid, required
  - `code` string, required

## Response `200`

Successful Response

- AuthSessionView
  - `access_token` string, required
  - `refresh_token` string, required
  - `expires_in` integer, required
  - `expires_at` integer, nullable, required
  - `token_type` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ender/apis/ender-backend.md) - [All operations](https://skmtc.dev/ender/apis/ender-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/ender/apis/ender-backend/revisions/bf4373130521?raw)
