---
title: "Request OTP"
method: POST
path: "/api/otp/request"
tags: ["otp"]
---

# Request OTP

`POST /api/otp/request`

Send a 6-digit OTP to the authenticated user's email for the given scope.

## Request body

- RequestOtpRequest — OTP request body.
  - `scope` 'analytics', required — Areas protected by OTP verification.

## Response `200`

Successful Response

- RequestOtpResponse — OTP request response model.
  - `message` string, required — Success message
  - `otp_expires_in_seconds` integer, required — OTP validity in seconds

## Other responses

- `422` — Validation Error

---

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