---
title: "Verify Email"
method: POST
path: "/api/auth/verify-email"
tags: ["auth"]
---

# Verify Email

`POST /api/auth/verify-email`

## Request

- Base URL: `https://api.maritime.sh` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maritime.sh/api/auth/verify-email`
- Auth: none declared

Confirm an email-verification token.

Verifies the token's SHA-256 hash and expiry, marks the user's email
verified (User.emailVerified = now), and consumes all of that email's
outstanding verification tokens. Idempotent-ish: a re-used/last token for
an already-verified user still resolves cleanly to the same verified state.

## Request body

- VerifyEmailRequest: Request schema for confirming an email-verification token.
  - `token` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

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