---
title: "Generate MFA OTP"
method: POST
path: "/auth/v1/mfa/otp/generate"
---

# Generate MFA OTP

`POST /auth/v1/mfa/otp/generate`

Generates OTP for MFA flow.

## Request body

- object
  - `identifierType` 'MOBILE' | 'EMAIL' | 'USERNAME' | 'EXTERNALID', required — Customer identifier used for MFA token generation.
  - `identifierValue` string, required — Value of the identifier.
  - `deviceId` string, required — Device ID of the customer that receives OTP.
  - `brand` string, required — Name of the brand or organisation that needs verification.
  - `sessionId` string, required — Unique session ID created from `/mfa/token/generate` API.

## Response `200`

200

- object
  - `status` object
    - `success` boolean
    - `code` integer
    - `message` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
