---
title: "Create a TOTP device"
method: POST
path: "/account/auth/mfa/totp"
tags: ["Auth - MFA TOTP Device"]
---

# Create a TOTP device

`POST /account/auth/mfa/totp`

Create a new TOTP device for your account.

## Request body

- object

## Response `201`

TOTP device created successfully.

- TOTPDeviceResponse
  - `state` string
  - `data` TOTPDevice, required
    - `url` string, required

## Other responses

- `400` — Validation Error
- `401` — Authentication Failed
- `403` — Permission Denied
- `404` — Not Found
- `405` — Method Not Allowed
- `406` — Not Acceptable
- `429` — Throttled
- `500` — Internal Server Error

---

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