---
title: "Verify a code"
method: POST
path: "/verify-code"
tags: ["verification"]
---

# Verify a code

`POST /verify-code`

## Request

- Base URL: `https://api.mailly.site` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mailly.site/verify-code`
- Auth: HTTP bearer

Verifies an email verification code; no extra charge.

## Request body

- object
  - `email` string, required: Email to verify
  - `code` string, required: 6-digit verification code

## Response `200`

Verified

- object
  - `success` boolean, required
  - `message` string, required

## Other responses

- `400`: Invalid request body or code mismatch
- `404`: Code not found or expired
- `500`: Verification failed

---

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