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

# Verify Email Code

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

## Request

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

Verify email address with a 6-digit code.

On success, sets email_verified=true in our DB and on Firebase.

## Headers

- `authorization` string, nullable
- `x-dev-user-id` string, nullable
- `x-app-version` string, nullable

## Request body

- VerifyEmailCodeRequest: Request to verify email with a 6-digit code.
  - `code` string, required

## Response `200`

Successful Response

- VerifyEmailCodeResponse: Response after successfully verifying email.
  - `message` string, required
  - `email_verified` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alert/apis/alertcamp.md) · [All operations](https://skmtc.dev/alert/apis/alertcamp/llms.txt) · [OpenAPI document](https://skmtc.dev/alert/apis/alertcamp/revisions/864c8c9ef833?raw)
