---
title: "Verify Otp"
method: POST
path: "/api/admin/view-as/verify-otp"
tags: ["view-as"]
---

# Verify Otp

`POST /api/admin/view-as/verify-otp`

## Request

- Base URL: `https://api.riskcube.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.riskcube.com/api/admin/view-as/verify-otp`
- Auth: none declared

Verify the code and return a preview-window grant (no re-prompt per client).

## Request body

- AppRoutesViewAsVerifyOtpBody
  - `code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-10** `ee7b5bd1ca63`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/riskcube/apis/slack-lead-manager/changes/api/admin/view-as/verify-otp/post.md)

---

[API](https://skmtc.dev/riskcube/apis/slack-lead-manager.md) - [All operations](https://skmtc.dev/riskcube/apis/slack-lead-manager/llms.txt) - [OpenAPI document](https://skmtc.dev/riskcube/apis/slack-lead-manager/revisions/c8976d6fad6b?raw)
