---
title: "Confirm + enable 2FA"
method: POST
path: "/api/v1/auth/2fa/activate"
tags: ["Authentication & Billing"]
---

# Confirm + enable 2FA

`POST /api/v1/auth/2fa/activate`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/auth/2fa/activate`
- Auth: none declared

## Query parameters

- `x_api_key` string, nullable

## Request body

- TotpActivateRequest
  - `secret` string, required: Secret from /2fa/enroll
  - `code` string, required: 6-digit code from your authenticator app

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
