---
title: "Verify Portal Otp"
method: POST
path: "/api/share-links/public/{token}/verify-otp"
tags: ["Share Links"]
---

# Verify Portal Otp

`POST /api/share-links/public/{token}/verify-otp`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/share-links/public/{token}/verify-otp`
- Auth: none declared

Verify OTP and return a 30-day portal access JWT.

Enforces max 5 attempts and marks the OTP as used on success.

## Path parameters

- `token` string, required

## Request body

- VerifyOTPRequest: Verify an OTP and receive an access token.
  - `email` string, required
  - `code` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
