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

# Verify Email

`POST /auth/verify-email`

## Request

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

Verify user's email address using 6-digit code from email.

Accepts email and code in request body.
Returns access token on success for auto-login.

## Request body

- VerifyEmailCodeRequest
  - `email` string, email, required
  - `code` string, required

## Response `200`

Successful Response

- union
  - VerifyEmailResponse
    - `success` boolean, required
    - `message` string, required
    - `accessToken` string, nullable
    - `refreshToken` string, nullable
    - `token_type` string, nullable
    - `expires_in` integer, nullable
    - `user` object, nullable
  - TwoFARequiredResponse
    - `status` string
    - `user_id` integer, required
    - `email` string, required
    - `message` string
    - `expires_in` integer
    - `method` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
