---
title: "Verify Email Code Endpoint"
method: POST
path: "/api/v1/auth/verify-email-code"
tags: ["authentication"]
---

# Verify Email Code Endpoint

`POST /api/v1/auth/verify-email-code`

## Request

- Base URL: `https://calorieapiadmin.com`
- URL: `https://calorieapiadmin.com/api/v1/auth/verify-email-code`
- Auth: none declared

Verify a user's email with the 6-digit code sent on registration.

## Request body

- VerifyCodeRequest: Schema for verifying an email OTP code.
  - `email` string, email, required
  - `code` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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