---
title: "Verify OTP"
method: POST
path: "/api/otp/verify"
tags: ["otp"]
---

# Verify OTP

`POST /api/otp/verify`

Verify the OTP code for the given scope. On success, access to that scope is granted.

## Request body

- VerifyOtpRequest — OTP verify body.
  - `scope` 'analytics', required — Areas protected by OTP verification.
  - `otp_code` string, required — 6-digit OTP code

## Response `200`

Successful Response

- VerifyOtpResponse — OTP verify response model.
  - `message` string, required — Success message
  - `valid_for_seconds` integer, required — Access 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)
